/**
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * 🏠 INDEX.CSS - Page d'accueil GOA
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CONTAINER PRINCIPAL
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

html {
    min-height: 100%;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CONTAINER PRINCIPAL
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.index-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 2rem;
    text-align: center;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LOGO
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.logo-container {
    margin-bottom: 2rem;
    animation: floatLogo 3s ease-in-out infinite;
}

.logo-container .logo {
    width: 560px;
    height: auto;
    transition: all 0.4s ease;
}

.logo-container .logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #A9B5BD 0%, #E8DDD5 50%, #A9B5BD 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    animation: gradientShift 4s ease infinite;
    filter: drop-shadow(0 0 20px rgba(169, 181, 189, 0.5))
            drop-shadow(0 0 40px rgba(232, 221, 213, 0.3));
    transition: all 0.4s ease;
}

.logo-text:hover {
    filter: drop-shadow(0 0 30px rgba(169, 181, 189, 0.7))
            drop-shadow(0 0 60px rgba(232, 221, 213, 0.5));
    transform: scale(1.02);
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(169, 181, 189, 0.6))
                drop-shadow(0 0 60px rgba(200, 189, 181, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(169, 181, 189, 0.8))
                drop-shadow(0 0 80px rgba(200, 189, 181, 0.6));
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SUBTITLE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.subtitle {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    animation: fadeIn 1.2s ease-out 0.3s backwards;
}

.subtitle strong {
    font-weight: 700;
    background: linear-gradient(135deg, #A9B5BD 0%, #E8DDD5 50%, #C8BDB5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.subtitle strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #A9B5BD, #E8DDD5, #C8BDB5, transparent);
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

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

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BADGE "ACCÈS GUILD"
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    color: #1A1C1F;
    background: linear-gradient(135deg, #A9B5BD 0%, #E8DDD5 50%, #C8BDB5 100%);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 3rem;
    animation: fadeInScale 1s ease-out 0.6s backwards;
    box-shadow: 0 8px 32px rgba(169, 181, 189, 0.5),
                0 0 0 0 rgba(169, 181, 189, 0.4);
}

.badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.badge::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, #A9B5BD, #E8DDD5, #C8BDB5, #A9B5BD);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.badge:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 48px rgba(169, 181, 189, 0.6),
                0 0 60px rgba(232, 221, 213, 0.5),
                0 0 0 8px rgba(169, 181, 189, 0.3);
}

.badge:hover::before {
    left: 100%;
}

.badge:hover::after {
    opacity: 1;
    animation: rotateBorder 4s linear infinite;
}

.badge:active {
    transform: translateY(-2px) scale(1.02);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateBorder {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* Effet de pulsation continue */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(169, 181, 189, 0.5),
                    0 0 0 0 rgba(169, 181, 189, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(169, 181, 189, 0.7),
                    0 0 0 12px rgba(169, 181, 189, 0);
    }
}

.badge {
    animation: fadeInScale 1s ease-out 0.6s backwards, pulse 2s ease-in-out 1s infinite;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   INFORMATIONS (LOGOS PARTENAIRES)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.info {
    animation: fadeIn 1.5s ease-out 0.9s backwards;
}

.info-content {
    margin-bottom: 2rem;
}

.info-content > div {
    transition: transform 0.3s ease;
}

.info-content > div:hover {
    transform: translateY(-8px);
}

.info-content img {
    transition: all 0.3s ease;
}

.info-content img:hover {
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.6)) !important;
    transform: scale(1.1);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PARTNER CARDS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 2.5rem 3rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(169, 181, 189, 0.08), rgba(200, 189, 181, 0.08));
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(169, 181, 189, 0.15);
}

.partner-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg,
        rgba(169, 181, 189, 0.5),
        rgba(200, 189, 181, 0.5),
        rgba(169, 181, 189, 0.5)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.partner-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(169, 181, 189, 0.3),
        transparent 30%
    );
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.partner-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(169, 181, 189, 0.25),
                0 0 80px rgba(200, 189, 181, 0.15);
}

.partner-card:hover::before,
.partner-card:hover::after {
    opacity: 1;
}

.partner-label {
    font-size: 1.1em;
    font-weight: 300;
    color: #e8e8e8;
    opacity: 0.95;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    position: relative;
    z-index: 1;
}

.partner-logo {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.partner-card:hover .partner-logo {
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.6))
            drop-shadow(0 0 40px rgba(169, 181, 189, 0.4));
    transform: scale(1.05);
}

/* Variantes spécifiques */
.cta-card {
    background: linear-gradient(135deg, rgba(169, 181, 189, 0.1), rgba(200, 189, 181, 0.05));
}

.cta-card:hover {
    box-shadow: 0 16px 48px rgba(169, 181, 189, 0.3),
                0 0 80px rgba(232, 221, 213, 0.2);
}

.solana-card {
    background: linear-gradient(135deg, rgba(200, 189, 181, 0.1), rgba(232, 221, 213, 0.05));
}

.solana-card .partner-logo {
    height: 50px;
}

.solana-card:hover {
    box-shadow: 0 16px 48px rgba(200, 189, 181, 0.3),
                0 0 80px rgba(232, 221, 213, 0.2);
}

@keyframes rotate {
    100% {
        transform: rotate(1turn);
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LANGUAGE SELECTOR
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.language-selector {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.language-flag {
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    filter: grayscale(50%);
    position: relative;
}

.language-flag::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(169, 181, 189, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.language-flag:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.language-flag:hover::before {
    opacity: 1;
}

.language-flag.active {
    opacity: 1;
    filter: grayscale(0%);
}

.language-flag.active::before {
    opacity: 1;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 768px) {
    .logo-container .logo {
        width: 440px;
    }

    .logo-text {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .subtitle {
        font-size: 1.3rem;
        padding: 0 1rem;
    }

    .badge {
        font-size: 1.2rem;
        padding: 1rem 2.5rem;
    }

    .info-content {
        gap: 2rem !important;
    }

    .partner-card {
        padding: 2rem 2.5rem;
    }

    .partner-label {
        font-size: 1rem;
    }

    .partner-logo {
        height: 45px !important;
    }

    .solana-card .partner-logo {
        height: 42px !important;
    }
}

@media (max-width: 480px) {
    .logo-container .logo {
        width: 360px;
    }

    .logo-text {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .badge {
        font-size: 1rem;
        padding: 0.9rem 2rem;
    }

    .info-content {
        gap: 1.5rem !important;
        flex-direction: column !important;
    }

    .partner-card {
        padding: 1.5rem 2rem;
        width: 100%;
        max-width: 300px;
    }

    .partner-label {
        font-size: 0.95rem;
    }

    .partner-logo {
        height: 40px !important;
    }

    .solana-card .partner-logo {
        height: 38px !important;
    }

    .language-flag {
        font-size: 1.8rem;
    }
}

/* ========== FOOTER ========== */
/* Les styles du footer sont gérés par global.css */
