/* Hero Showcase */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9rem 2rem 5rem;
    background-image: 
        radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 60%),
        linear-gradient(rgba(3, 3, 7, 0.4), rgba(3, 3, 7, 0.9)),
        url('assets/Bannier.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(transparent, var(--bg-primary));
    pointer-events: none;
}

.hero-grid {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.25);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-main);
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--accent);
    animation: blink 1.2s infinite alternate;
}

.live-pulse {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: blink 0.8s infinite alternate;
}

@keyframes blink {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.15;
    font-weight: 900;
    margin-bottom: 1.8rem;
    color: var(--text-main);
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, #e9d5ff, var(--accent), var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 35px rgba(168, 85, 247, 0.25);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 650px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}

.hero-actions-jeux {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 118%;
    padding: 10px;
    transform: translateX(26%);
}

.btn-live {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: white;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
}

.btn-live:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.55);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.model-wrapper {
    width: 100%;
    max-width: 440px;
    height: 440px;
    position: relative;
    border-radius: 30px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

model-viewer#logo3d {
    width: 100%;
    height: 100%;
    z-index: 2;
    --poster-color: transparent;
}

.model-shadow {
    position: absolute;
    bottom: 5%;
    left: 10%;
    right: 10%;
    height: 25px;
    background: rgba(0, 0, 0, 0.7);
    filter: blur(15px);
    border-radius: 50%;
    z-index: 1;
}

/* Stats Counter Bar */
.stats-bar {
    max-width: 1300px;
    margin: -5rem auto 5rem;
    padding: 0 2rem;
    position: relative;
    z-index: 20;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    background: rgba(10, 10, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.8rem;
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card:last-child {
    border-right: none;
}

.stat-icon {
    font-size: 2.4rem;
    background: linear-gradient(135deg, var(--accent), var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4));
    margin-bottom: 0.2rem;
}

.stat-info h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* TikTok Spotlights */
.spotlight {
    max-width: 1300px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.spotlight-card {
    background: radial-gradient(ellipse at top right, rgba(255, 0, 127, 0.08), transparent 50%), var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 0, 127, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-card:hover {
    border-color: rgba(255, 0, 127, 0.35);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 0, 127, 0.15);
    transform: translateY(-4px);
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(var(--neon-pink), var(--accent));
}

.spotlight-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 0, 127, 0.15);
    border: 1px solid rgba(255, 0, 127, 0.35);
    color: #ff007f;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    letter-spacing: 1.5px;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.2);
}

.spotlight-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.spotlight-avatar {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}

.spotlight-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 0, 127, 0.6);
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.5);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-card:hover .spotlight-avatar img {
    transform: scale(1.08) rotate(4deg);
}

.pulse-ring {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2.5px solid var(--neon-pink);
    border-radius: 50%;
    animation: ringGlow 2.5s infinite;
}

@keyframes ringGlow {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 0.4; }
    100% { transform: scale(1.25); opacity: 0; }
}

.spotlight-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.spotlight-text h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, var(--text-main) 40%, var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.spotlight-text p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 650px;
    line-height: 1.7;
}

.btn-tiktok {
    background: #000000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.btn-tiktok:hover {
    background: #09090f;
    border-color: var(--neon-pink);
    box-shadow: 0 10px 25px rgba(255, 0, 127, 0.4);
    transform: translateY(-2px);
}

/* Articles Segment */
.articles {
    max-width: 1300px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    background: rgba(11, 11, 21, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.4rem;
    border-radius: 24px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.search-icon {
    position: absolute;
    left: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none;
    transition: color 0.3s;
}

#article-search {
    width: 100%;
    background: rgba(4, 4, 8, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem 1.2rem 1rem 3.2rem;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

#article-search:focus {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    background: rgba(4, 4, 8, 0.9);
}

#article-search:focus + .search-icon {
    color: var(--accent);
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.15);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px var(--accent-glow);
}

.no-results {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-muted);
}

.no-results i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-muted), var(--bg-card));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.no-results.hidden {
    display: none !important;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2.5rem;
}

.article-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(15px);
    animation: cardEntrance 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 35px rgba(168, 85, 247, 0.15);
}

.article-image {
    height: 230px;
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover .article-image img {
    transform: scale(1.08);
}

.article-tag-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 10;
    background: rgba(3, 3, 7, 0.85);
    backdrop-filter: blur(10px);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.article-content {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    text-align: center;
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.9rem;
    transition: color 0.3s ease;
}

.article-card:hover .article-content h3 {
    color: var(--accent);
}

.article-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    margin-top: auto;
    width: 100%;
}

.article-content .read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-main);
    font-weight: 800;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.article-content .read-more svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    stroke: var(--accent);
}

.article-content .read-more:hover {
    color: var(--accent);
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
}

.article-content .read-more:hover svg {
    transform: translateX(6px);
}

/* Home responsive tweaks */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .model-wrapper {
        height: 380px;
        width: 380px;
    }

    .spotlight-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .spotlight-text {
        align-items: center;
    }

    .stat-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 1.5rem;
    }

    .stat-card:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 9rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
    }

    .hero-actions-jeux {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        padding: 10px;
        transform: translateX(0%);
    }

    .article-grid {
        grid-template-columns: 1fr;
    }
}