:root {
    --bg-color: #000000; 
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --brand-cyan: #00b0ff;
    --brand-blue: #0ea5e9;
    --btn-primary-bg: linear-gradient(180deg, #1e88e5 0%, #1565c0 100%);
    --btn-secondary-bg: rgba(0, 10, 20, 0.6);
    --btn-border: rgba(30, 136, 229, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url('iStock-2222202228.jpg');
    background-size: cover;
    background-position: center;
}

.overlay-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.85) 100%);
}

.link-tree-container {
    width: 100%;
    max-width: 480px;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.profile-img-container {
    width: 110px;
    height: 110px;
    border-radius: 20px;
    margin-bottom: 1rem;
    box-shadow: 0 0 24px rgba(30, 136, 229, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 320px;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.locations {
    color: var(--brand-cyan);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.15rem;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fadeInUp 0.5s ease-out backwards;
}

.link-card.primary {
    background: var(--btn-primary-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(21, 101, 192, 0.4);
}

.link-card.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.6);
}

.link-card.secondary {
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.link-card.secondary:hover {
    background: rgba(0, 20, 40, 0.8);
    border-color: var(--brand-cyan);
    transform: translateY(-2px);
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.15s; }
.link-card:nth-child(3) { animation-delay: 0.2s; }
.link-card:nth-child(4) { animation-delay: 0.25s; }

.horizontal-links-group {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-border);
    border-radius: 12px;
    padding: 1rem 0;
    margin-top: 0.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fadeInUp 0.5s ease-out backwards;
    animation-delay: 0.3s;
}

.horizontal-links-group a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    flex: 1;
    text-align: center;
    transition: color 0.2s ease;
}

.horizontal-links-group a:hover {
    color: var(--brand-cyan);
}

.horizontal-links-group .divider {
    width: 1px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.15);
}

.social-pills-group {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.25rem;
    animation: fadeInUp 0.5s ease-out backwards;
    animation-delay: 0.35s;
}

.social-pill {
    flex: 1;
    text-align: center;
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-border);
    border-radius: 20px;
    padding: 0.75rem 0;
    color: var(--brand-cyan);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.social-pill:hover {
    background: rgba(0, 20, 40, 0.8);
    transform: translateY(-2px);
    color: var(--text-primary);
}

footer {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1s ease-out 0.6s backwards;
    width: 100%;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-link {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.4rem 1.5rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

footer p {
    font-size: 0.7rem;
    color: var(--text-secondary);
    opacity: 0.5;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
