:root {
    --bg-overlay: rgba(0, 0, 0, 0.7);
    --button-bg: #000000;
    --button-text: #d39e54;
    --text-color: #d39e54;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(var(--bg-overlay), var(--bg-overlay)), url('assets/bg.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 440px;
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.main-logo-section {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.main-logo {
    height: clamp(80px, 15vh, 140px);
    width: auto;
    max-width: 80%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.05);
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.link-card {
    background: var(--button-bg);
    color: var(--button-text);
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    width: 100%;
}

.link-card i {
    width: 22px;
    height: 22px;
    color: var(--button-text);
    opacity: 1;
}

.link-card .material-symbols-rounded {
    width: 22px;
    height: 22px;
    font-size: 22px;
    color: var(--button-text);
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-card span {
    flex: 1;
    text-align: left;
}

.link-card:hover,
.link-card.highlight {
    transform: translateY(-3px);
    background: rgba(211, 158, 84, 0.1);
    border-color: var(--button-text);
    box-shadow: 0 10px 25px rgba(211, 158, 84, 0.2);
}

.link-card:active {
    transform: translateY(0);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: opacity 0.2s ease;
}

.social-icon:hover {
    opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow-gold {
    0% {
        box-shadow: 0 5px 15px rgba(211, 158, 84, 0.2);
        border-color: rgba(211, 158, 84, 0.4);
    }

    50% {
        box-shadow: 0 5px 25px rgba(211, 158, 84, 0.5);
        border-color: rgba(211, 158, 84, 1);
    }

    100% {
        box-shadow: 0 5px 15px rgba(211, 158, 84, 0.2);
        border-color: rgba(211, 158, 84, 0.4);
    }
}

.link-card.highlight {
    border-color: var(--button-text);
    background: rgba(211, 158, 84, 0.1);
    border-width: 1.5px;
    animation-name: fadeIn, glow-gold;
    animation-duration: 0.8s, 2s;
    animation-fill-mode: forwards, none;
    animation-iteration-count: 1, infinite;
    animation-timing-function: ease, ease-in-out;
}

.container>* {
    animation: fadeIn 0.8s ease forwards;
}

.links-container .link-card:nth-child(1) {
    animation-delay: 0.1s;
}

.links-container .link-card:nth-child(2) {
    animation-delay: 0.2s;
}

.links-container .link-card:nth-child(3) {
    animation-delay: 0.3s;
}

.links-container .link-card:nth-child(4) {
    animation-delay: 0.4s;
}

.links-container .link-card:nth-child(5) {
    animation-delay: 0.5s;
}

.links-container .link-card:nth-child(6) {
    animation-delay: 0.6s;
}

.links-container .link-card:nth-child(7) {
    animation-delay: 0.7s;
}

.links-container .link-card:nth-child(8) {
    animation-delay: 0.8s;
}

/* Mobile Optimization */
@media (max-width: 600px) {
    .container {
        padding: 30px 20px;
        border-radius: 30px;
    }

    .main-logo {
        height: clamp(70px, 12vh, 100px);
    }

    .link-card {
        padding: 14px 18px;
        font-size: 1rem;
    }
}