:root {
    --primary-color: #D4AF37;
    /* Metallic Gold */
    --secondary-color: #996515;
    /* Golden Brown */
    --accent-color: #FFD700;
    /* Bright Gold */
    --bg-dark: #050505;
    /* Deep Black */
    --text-color: #F5F5F5;
    /* Off White */
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(212, 175, 55, 0.2);
    --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(153, 101, 21, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

body::before,
body::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.12;
    pointer-events: none;
}

body::before {
    top: -5%;
    right: -5%;
    background: var(--primary-color);
    animation: floating-glow 12s ease-in-out infinite alternate;
}

body::after {
    bottom: -5%;
    left: -5%;
    background: var(--secondary-color);
    animation: floating-glow 18s ease-in-out infinite alternate-reverse;
}

@keyframes floating-glow {
    from {
        transform: translate(0, 0) scale(1);
        opacity: 0.08;
    }

    to {
        transform: translate(40px, -40px) scale(1.3);
        opacity: 0.2;
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

.container {
    text-align: center;
    z-index: 1;
    padding: clamp(2rem, 5vw, 4rem);
    width: 95%;
    max-width: 1100px;
    backdrop-filter: blur(20px);
    border-radius: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.05), var(--card-shadow);
    animation: container-entry 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    margin: 2rem auto;
    max-height: 92vh;
    overflow-y: auto;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    perspective: 1200px;
    /* Enable 3D depth */
}

.container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.feature-card,
.team-card,
.list-item {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.container::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

.logo {
    width: 130px;
    height: auto;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    transition: all 0.5s ease;
}

.logo:hover {
    transform: scale(1.05) translateY(-5px);
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.5));
}

h1.team-name {
    font-size: clamp(2.8rem, 8.5vw, 5rem);
    font-weight: 800;
    letter-spacing: 12px;
    margin: 0 0 2.5rem;
    background: linear-gradient(135deg, #FFF 0%, #D4AF37 50%, #996515 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.intro-section {
    margin-bottom: 4.5rem;
}

.intro-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.intro-section p {
    font-size: 1.25rem;
    color: #CCC;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

section {
    margin-bottom: 6rem;
    text-align: left;
}

section h2 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.2rem;
    font-weight: 700;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.list-container {
    display: grid;
    gap: 1.5rem;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.list-item:hover {
    transform: translateX(15px);
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.item-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #E5E5E5;
    margin: 0;
}

.item-text strong {
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-15px);
    background: rgba(212, 175, 55, 0.03);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 0 0 1.2rem;
    letter-spacing: 1px;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #AAA;
    margin: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.team-card {
    text-align: center;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(212, 175, 55, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    padding-bottom: 2rem;
}

.team-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
    background: rgba(212, 175, 55, 0.03);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.avatar-container {
    width: 100%;
    margin: 0 0 1.5rem;
    position: relative;
    overflow: hidden;
    background: #000;
    aspect-ratio: 4 / 5;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(20%);
}

.team-card:hover .avatar-img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.team-card:hover .avatar-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(212, 175, 55, 0.2), transparent);
    pointer-events: none;
}

.team-card .name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFF;
    margin: 0;
    letter-spacing: 1px;
}

.cta-container {
    margin: 5rem 0 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    background: linear-gradient(135deg, #FFF9E3 0%, #D4AF37 50%, #996515 100%);
    border-radius: 60px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-button:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.4);
    filter: brightness(1.1);
}

footer {
    padding: 4rem 0 2rem;
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 1px;
}

@keyframes container-entry {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fade-in-anim {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 600px) {
    body {
        display: flex;
        height: 100vh;
        overflow: hidden;
    }

    .container {
        padding: 3rem 1.5rem;
        margin: 0;
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
        border: none;
    }

    h1.team-name {
        font-size: 2.5rem;
        letter-spacing: 6px;
    }

    .features-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .feature-card,
    .team-card {
        padding: 1.5rem 1rem;
        border-radius: 20px;
    }

    .team-card .name {
        font-size: 0.85rem;
    }

    .cta-button {
        width: 100%;
        padding: 1.3rem;
        font-size: 1rem;
    }
}