/* ========================================
   🏠 STYLES POUR LA PAGE D'ACCUEIL - MOBILE FIRST
   ======================================== */

/* === BASE MOBILE STYLES === */

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-bg) 100%);
    padding: 2rem 1rem;
}

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

/* Stats hero - mobile first */
.hero-section .d-flex {
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hero-section .txt-center > div {
    padding: 1rem;
}

.hero-section .fz-28 {
    font-size: 2rem;
}

.hero-section .fz-14 {
    font-size: 1.2rem;
}

/* Hero layout - mobile first */
.hero-layout {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.hero-main-action {
    width: 100%;
    text-align: center;
}

.hero-news-section {
    width: 100%;
    max-width: none;
}

/* === TRENDING SECTION === */
.trending-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.trending-games h3,
.trending-clips h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Games et clips grids - mobile first */
.games-grid,
.clips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* === STREAMERS HEADER === */
.streamers-title-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* === RECHERCHE STREAMERS === */
.streamers-search-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.streamers-search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-secondary-light);
    border: 1px solid var(--color-border);
    border-radius: 1.2rem;
    padding: 1.2rem 1.6rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 35rem;
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.08);
}

.streamers-search-input-group:hover {
    border-color: var(--color-primary);
}

.streamers-search-input-group:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-rgb), 0.1);
}

.streamers-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-text);
    font-size: 1.4rem;
    font-weight: 500;
}

.streamers-search-input::placeholder {
    color: var(--color-muted);
    font-weight: 400;
}

.streamers-search-input-group .search-clear-btn {
    background: var(--color-secondary-light);
    border: none;
    border-radius: 0.6rem;
    width: 2.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-muted);
    transition: all 0.3s ease;
    margin-left: 0.8rem;
    font-size: 1.2rem;
}

.streamers-search-input-group .search-clear-btn:hover {
    background: var(--color-primary);
    color: var(--color-secondary);
}

.streamers-results-info {
    font-size: 1.2rem;
    color: var(--color-muted);
    font-weight: 500;
}

.streamers-results-info span {
    color: var(--color-primary);
    font-weight: 600;
}

/* === STREAMERS GRID - MOBILE FIRST === */
.streamers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.streamer-card {
    background: var(--color-secondary-light);
    border-radius: 1.2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--color-border);
    width: 100%;
    max-width: 45rem;
    justify-self: center;
}

.streamer-card:hover {
    transform: translateY(-0.4rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.streamer-banner {
    height: 10rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.streamer-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    overflow: hidden;
    border: 0.3rem solid var(--color-bg);
    background: var(--color-bg);
}

.streamer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.streamer-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.streamer-avatar-text {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    background: var(--color-secondary);
}

.streamer-content {
    padding: 1.5rem;
    text-align: center;
}

.streamer-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

.streamer-description {
    font-size: 1.2rem;
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* === STATUT LIVE - MOBILE === */
.live-status {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    border-radius: 0.6rem;
    padding: 0.8rem;
    margin-bottom: 1.2rem;
    animation: pulse 2s infinite;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.live-dot {
    width: 0.6rem;
    height: 0.6rem;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s infinite;
}

.live-text {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.live-viewers {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-left: auto;
}

.live-game {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* === TOP CLIP SECTION - MOBILE === */
.top-clip-section {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: var(--color-secondary);
    border-radius: 0.8rem;
    border: 1px solid var(--color-border);
}

.top-clip-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
    text-align: center;
}

.top-clip-card {
    display: flex;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.6rem;
    padding: 0.6rem;
    background: var(--color-bg);
}

.top-clip-card:hover {
    background: var(--color-secondary-light);
    transform: scale(1.01);
}

.top-clip-thumbnail {
    width: 6rem;
    height: 3.4rem;
    object-fit: cover;
    border-radius: 0.4rem;
    flex-shrink: 0;
}

.top-clip-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.top-clip-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.top-clip-stats {
    display: flex;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* === CONTENT ROW - MOBILE === */
.content-row {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* === YOUTUBE VOD LINK - MOBILE === */
.youtube-vod-link {
    display: flex;
    flex-direction: column;
    padding: 0.8rem;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(204, 0, 0, 0.05));
    border-radius: 0.6rem;
    border: 1px solid rgba(255, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.6rem;
    flex: 1;
}

.youtube-vod-link:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.15), rgba(204, 0, 0, 0.08));
    transform: scale(1.01);
    border-color: #ff0000;
}

.youtube-image-section {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
}

.youtube-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2.5rem;
    border-radius: 0.4rem;
}

.youtube-logo-main {
    height: 2rem;
    width: auto;
    opacity: 0.9;
}

.youtube-thumbnail-container {
    height: 2.5rem;
    border-radius: 0.4rem;
    overflow: hidden;
}

.youtube-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youtube-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ff0000;
    background: var(--color-bg);
}

.youtube-content {
    text-align: center;
}

.youtube-video-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.3rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.youtube-subs {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.future-content {
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.6rem;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-style: italic;
    font-size: 0.9rem;
    flex: 1;
}

.future-content::before {
    content: "Contenu à venir...";
}

/* === STREAMER STATS - MOBILE === */
.streamer-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 1rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.streamer-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    width: 100%;
}

.streamer-btn:hover {
    transform: translateY(-0.1rem);
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2);
}

/* === FEATURES GRID - MOBILE === */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: var(--color-secondary);
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-0.2rem);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
}

.feature-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.8rem;
}

.feature-description {
    font-size: 1.2rem;
    color: var(--color-muted);
    line-height: 1.4;
}

/* === ANIMATIONS === */
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7); }
    50% { box-shadow: 0 0 0 0.8rem rgba(255, 68, 68, 0); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* ========================================
   📱 TABLET STYLES (min-width: 768px)
   ======================================== */
@media (min-width: 768px) {
    /* Hero section */
    .hero-section {
        padding: 3rem 2rem;
    }
    
    .hero-section h1 {
        font-size: 3.2rem;
    }
    
    .hero-section p {
        font-size: 1.6rem;
    }
    
    .hero-section .d-flex {
        flex-direction: row;
        gap: 2rem;
    }
    
    .hero-section .fz-28 {
        font-size: 2.4rem;
    }
    
    .hero-layout {
        flex-direction: row;
        gap: 3rem;
        align-items: flex-start;
    }
    
    .hero-main-action {
        width: auto;
    }
    
    .hero-news-section {
        max-width: 35rem;
    }
    
    /* Trending container */
    .trending-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .trending-games h3,
    .trending-clips h3 {
        font-size: 2.2rem;
    }
    
    /* Games et clips grids */
    .games-grid,
    .clips-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    
    /* Streamers grid */
    .streamers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .streamer-banner {
        height: 11rem;
    }
    
    .streamer-avatar {
        width: 7rem;
        height: 7rem;
    }
    
    .streamer-content {
        padding: 2rem;
    }
    
.streamer-name {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--color-text);
}

/* Tags du streamer */
.streamer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.tag-capsule {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--color-secondary);
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 1.2rem;
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tag-capsule:hover {
    background: var(--streamer-color);
    color: black;
    border-color: var(--streamer-color);
    transform: translateY(-1px);
}

.streamer-description {
    font-size: 1.4rem;
    color: var(--color-muted);
    margin-bottom: 1.6rem;
    line-height: 1.4;
}
    
    /* Features grid */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2.5rem 2rem;
    }
    
    .feature-icon {
        font-size: 3.5rem;
    }
    
    .feature-title {
        font-size: 1.7rem;
    }
    
    .feature-description {
        font-size: 1.3rem;
    }
    
    /* Stats */
    .streamer-stats {
        gap: 2.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    .streamer-btn {
        width: auto;
        padding: 1.1rem 2.2rem;
        font-size: 1.5rem;
    }
}

/* ========================================
   💻 DESKTOP STYLES (min-width: 1024px)
   ======================================== */
@media (min-width: 1024px) {
    /* Hero section */
    .hero-section {
        padding: 4rem 2rem;
    }
    
    .hero-section h1 {
        font-size: 4.2rem;
    }
    
    .hero-section p {
        font-size: 1.8rem;
    }
    
    .hero-section .d-flex {
        gap: 3rem;
    }
    
    .hero-section .fz-28 {
        font-size: 2.8rem;
    }
    
    .hero-layout {
        gap: 4rem;
    }
    
    /* Trending */
    .trending-container {
        gap: 5rem;
    }
    
    .trending-games h3,
    .trending-clips h3 {
        font-size: 2.4rem;
    }
    
    .games-grid,
    .clips-grid {
        grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
        gap: 2rem;
    }
    
    /* Streamers grid */
    .streamers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .streamer-card:hover {
        transform: translateY(-0.8rem);
        box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.3);
    }
    
    .streamer-banner {
        height: 12rem;
    }
    
    .streamer-avatar {
        width: 8rem;
        height: 8rem;
        border: 0.4rem solid var(--color-bg);
    }
    
    .streamer-content {
        padding: 2.4rem;
    }
    
    .streamer-name {
        font-size: 2.4rem;
        margin-bottom: 1rem;
    }
    
    .streamer-description {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }
    
    /* Top clip */
    .top-clip-section {
        padding: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .top-clip-title {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }
    
    .top-clip-card {
        gap: 1.2rem;
        padding: 0.8rem;
    }
    
    .top-clip-card:hover {
        transform: scale(1.02);
    }
    
    .top-clip-thumbnail {
        width: 8rem;
        height: 4.5rem;
    }
    
    .top-clip-name {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .top-clip-stats {
        gap: 1rem;
        font-size: 1.1rem;
    }
    
    /* Content row */
    .youtube-vod-link {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .youtube-image-section {
        gap: 0.8rem;
    }
    
    .youtube-logo-section {
        height: 3.5rem;
    }
    
    .youtube-logo-main {
        height: 3rem;
    }
    
    .youtube-thumbnail-container {
        height: 3.5rem;
    }
    
    .youtube-video-title {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    
    .youtube-subs {
        font-size: 0.9rem;
    }
    
    /* Features grid */
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.4rem;
    }
    
    .feature-card {
        padding: 3rem 2rem;
    }
    
    .feature-card:hover {
        transform: translateY(-0.4rem);
    }
    
    .feature-icon {
        font-size: 4rem;
        margin-bottom: 1.6rem;
    }
    
    .feature-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .feature-description {
        font-size: 1.4rem;
        line-height: 1.5;
    }
    
    /* Stats */
    .streamer-stats {
        gap: 3rem;
        margin-bottom: 2.4rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1.2rem;
        letter-spacing: 0.1rem;
    }
    
    .streamer-btn {
        padding: 1.2rem 2.4rem;
        font-size: 1.6rem;
        letter-spacing: 0.1rem;
    }
    
    .streamer-btn:hover {
        transform: translateY(-0.2rem);
        box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.2);
    }
    
    /* Live status */
    .live-status {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .live-indicator {
        gap: 0.6rem;
        margin-bottom: 0.4rem;
    }
    
    .live-dot {
        width: 0.8rem;
        height: 0.8rem;
    }
    
    .live-text {
        font-size: 1.2rem;
    }
    
    .live-viewers {
        font-size: 1.1rem;
    }
    
    .live-game {
        font-size: 1.1rem;
    }
}

/* ========================================
   🖥️ LARGE DESKTOP STYLES (min-width: 1440px)
   ======================================== */
@media (min-width: 1440px) {
    .streamers-grid {
        grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    }
    
    .games-grid,
    .clips-grid {
        grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    }
}
