/* home.css - Home Page Estilo YouTube */

/* Hero Fullscreen */
.hero-fullscreen {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero Video Container - Qualidade Cinematográfica */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    
    /* Qualidade de renderização cinematográfica */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    
    /* Suavização para movimento fluido */
    filter: contrast(1.1) saturate(1.2);
    
    /* Performance otimizada */
    will-change: transform;
    transform: translateZ(0);
    
    /* Transição suave */
    transition: opacity 0.5s ease;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* VERSÃO ATUAL - Overlay reduzido (máximo 70%) */
    background: linear-gradient(
        180deg, 
        rgba(10, 0, 20, 0.1) 0%,
        rgba(10, 0, 20, 0.25) 30%,
        rgba(10, 0, 20, 0.45) 70%,
        rgba(10, 0, 20, 0.7) 100%
    );
    
    /* VERSÃO ANTERIOR - Overlay mais escuro (máximo 90%) - COMENTADO PARA ROLLBACK
    background: linear-gradient(
        180deg, 
        rgba(10, 0, 20, 0.2) 0%,
        rgba(10, 0, 20, 0.4) 30%,
        rgba(10, 0, 20, 0.7) 70%,
        rgba(10, 0, 20, 0.9) 100%
    );
    */
    
    z-index: 1;
    
    /* VERSÃO ATUAL - Vignette reduzido */
    box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.2);
    
    /* VERSÃO ANTERIOR - Vignette mais forte - COMENTADO PARA ROLLBACK
    box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.3);
    */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--spacing-lg);
}

/* Hero title removido - substituído por vídeo de fundo */

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(18px, 3vw, 24px);
    color: var(--text-secondary);
    margin: 0 0 var(--spacing-2xl);
    min-height: 60px;
    white-space: normal;
    line-height: 1.4;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 18px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-glow-strong);
}

.btn-primary.pulse {
    animation: pulse-btn 2s ease-in-out infinite;
}

@keyframes pulse-btn {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 0, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 0, 255, 0.8);
    }
}


.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    margin: 0 auto 8px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

/* Stories Section */
.stories-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: var(--header-height);
    z-index: var(--z-sticky);
    backdrop-filter: blur(10px);
}

.stories-wrapper {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stories-wrapper::-webkit-scrollbar {
    display: none;
}

.story-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.story-item:hover {
    transform: translateY(-4px);
}

.story-circle {
    position: relative;
    padding: 3px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.story-item.active .story-circle,
.story-item:hover .story-circle {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.story-image {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--bg-darker);
    overflow: hidden;
}

.story-image .emoji {
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.story-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.story-item.active .story-label,
.story-item:hover .story-label {
    color: var(--gradient-pink);
}

.story-all .story-image {
    background: var(--gradient-primary);
}

/* ============================================
   OTIMIZAÇÃO DESKTOP: Stories Section Compacta
   Reduz tamanho da barra de categorias em laptops/desktops
   ============================================ */
@media (min-width: 769px) {
    .stories-section {
        padding: var(--spacing-lg) 0; /* Reduzido de var(--spacing-2xl) para 24px */
    }
    
    .stories-wrapper {
        gap: 12px; /* Reduzido de var(--spacing-md) 16px para 12px */
        padding: 6px 0; /* Reduzido de 8px para 6px */
    }
    
    .story-item {
        gap: 6px; /* Reduzido de 8px para 6px */
    }
    
    .story-image {
        width: 52px; /* Reduzido de 64px para 52px */
        height: 52px; /* Reduzido de 64px para 52px */
        border: 2.5px solid var(--bg-darker); /* Reduzido de 3px para 2.5px proporcionalmente */
    }
    
    .story-image .emoji {
        font-size: 26px; /* Reduzido de 32px para 26px proporcionalmente */
    }
    
    .story-label {
        font-size: 11px; /* Reduzido de 12px para 11px */
    }
}

/* Content Section */
.content-section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: var(--text-primary);
}

.section-header h2 .emoji {
    font-size: 1.2em;
}

.view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-base);
}

.view-all:hover {
    color: var(--gradient-pink);
}

.view-all .arrow {
    transition: transform var(--transition-base);
}

.view-all:hover .arrow {
    transform: translateX(4px);
}

/* Grid 4 Colunas */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 1200px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Bio Card */
.bio-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.bio-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card-link {
    display: block;
}

.card-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: var(--bg-darker);
    overflow: hidden;
}

.card-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%; /* Foca no rosto do personagem (terço superior) */
    transition: transform var(--transition-slow);
}

.bio-card:hover .card-thumbnail img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.bio-card:hover .card-overlay {
    opacity: 1;
}

.play-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-black);
    font-size: 24px;
    padding-left: 4px;
    transition: all var(--transition-base);
}

.bio-card:hover .play-icon {
    transform: scale(1.1);
    background: var(--gradient-pink);
    color: white;
}

.card-category {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 2;
}

.card-info {
    padding: 16px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-category-text {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.card-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    align-items: center;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Badge de Raridade no Card */
.card-meta .rarity {
    font-size: 16px;
    margin-left: auto;
    cursor: help;
    transition: transform var(--transition-base);
}

.card-meta .rarity:hover {
    transform: scale(1.2);
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Horizontal Scroll */
.horizontal-scroll {
    margin: 0 calc(var(--spacing-lg) * -1);
}

.scroll-container {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 var(--spacing-lg) var(--spacing-md);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.scroll-container::-webkit-scrollbar {
    height: 6px;
}

.scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Bio Card Horizontal */
.bio-card-horizontal {
    flex: 0 0 280px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.bio-card-horizontal:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: scale(1.03);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.bio-card-horizontal .card-thumbnail {
    padding-bottom: 56.25%;
}

.bio-card-horizontal .card-thumbnail img {
    object-position: center 30%; /* Foca no rosto do personagem (terço superior) */
}

.bio-card-horizontal .card-info {
    padding: 12px;
}

.bio-card-horizontal .card-title {
    font-size: 14px;
    margin-bottom: 4px;
}

.bio-card-horizontal .card-category {
    font-size: 12px;
    margin: 0;
}

/* Card Meta para Cards Horizontais */
.bio-card-horizontal .card-meta {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    font-size: 11px;
    opacity: 0.8;
}

.bio-card-horizontal .card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bio-card-horizontal .card-meta .rarity {
    font-size: 14px;
    margin-left: auto;
    opacity: 1;
}

.bio-card-horizontal .card-meta .rarity:hover {
    transform: scale(1.1);
}

/* Wini CTA Section */
.wini-cta-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-darker);
}

.wini-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, rgba(94, 48, 124, 0.2), rgba(18, 15, 47, 0.4));
    border: 2px solid rgba(255, 0, 255, 0.3);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.wini-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.1) 0%, transparent 70%);
}

.wini-card:hover {
    border-color: rgba(255, 0, 255, 0.6);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow-strong);
}

.wini-visual {
    position: relative;
    z-index: 2;
}

.wini-avatar {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

.wini-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid var(--gradient-pink);
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.5);
}

.avatar-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    filter: blur(20px);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.wini-content {
    position: relative;
    z-index: 2;
}

.wini-content h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-md);
}

.wini-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 var(--spacing-lg);
}

.btn-wini {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-glow);
}

.btn-wini:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow-strong);
}

.btn-wini .icon {
    transition: transform var(--transition-base);
}

.btn-wini:hover .icon {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-fullscreen {
        min-height: 500px;
    }
    
    /* Otimizações para vídeo em mobile */
    .hero-video {
        /* Reduzir qualidade em mobile para performance */
        filter: contrast(1.05) saturate(1.1);
    }
    
    .hero-video-overlay {
        /* VERSÃO ATUAL - Overlay mobile reduzido (máximo 70%) */
        background: linear-gradient(
            180deg, 
            rgba(10, 0, 20, 0.15) 0%,
            rgba(10, 0, 20, 0.35) 30%,
            rgba(10, 0, 20, 0.55) 70%,
            rgba(10, 0, 20, 0.7) 100%
        );
        
        /* VERSÃO ANTERIOR - Overlay mobile mais escuro (máximo 95%) - COMENTADO PARA ROLLBACK
        background: linear-gradient(
            180deg, 
            rgba(10, 0, 20, 0.3) 0%,
            rgba(10, 0, 20, 0.5) 30%,
            rgba(10, 0, 20, 0.8) 70%,
            rgba(10, 0, 20, 0.95) 100%
        );
        */
    }
    
    .wini-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--spacing-xl);
        gap: var(--spacing-lg);
    }
    
    .wini-avatar {
        width: 140px;
        height: 140px;
    }
    
    .content-section {
        padding: var(--spacing-2xl) 0;
    }
}

/* Otimizações para dispositivos de baixa performance */
@media (max-width: 480px) {
    .hero-video {
        /* Desabilitar filtros em dispositivos muito básicos */
        filter: none;
    }
    
    .hero-video-overlay {
        /* VERSÃO ATUAL - Overlay dispositivos básicos reduzido */
        background: rgba(10, 0, 20, 0.5);
        
        /* VERSÃO ANTERIOR - Overlay dispositivos básicos mais escuro - COMENTADO PARA ROLLBACK
        background: rgba(10, 0, 20, 0.7);
        */
    }
}

/* ========================================
   NOVOS ESTILOS PARA HOME.EJS
   Adicionar AO FINAL do arquivo home.css
   ======================================== */

/* ============================================
   SEÇÃO "DISPONÍVEL AGORA"
   ============================================ */

.disponivel-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl);
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-glow);
}

.section-header-center h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-description {
    font-size: clamp(16px, 2.5vw, 18px);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Features Grid - Mobile First */
.features-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 coluna */
    gap: var(--spacing-lg);
}

/* Tablet: 2 colunas */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 3 colunas */
@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Feature Card */
.feature-card {
    position: relative;
    padding: var(--spacing-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* Feature Card Highlight */
.feature-highlight {
    border-color: var(--gradient-pink);
    background: rgba(255, 0, 255, 0.05);
}

.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-glow);
}

.feature-icon .icon {
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gradient-pink);
    transition: all var(--transition-base);
}

.feature-link:hover {
    gap: 12px;
    color: var(--gradient-purple);
}

.feature-link.primary {
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-glow);
}

.feature-link.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
}

/* ============================================
   SEÇÃO "ARCADE EDUCATIVO"
   ============================================ */

.arcade-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-black);
}

/* Arcade Grid - Mobile First */
.arcade-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 coluna */
    gap: var(--spacing-xl);
}

/* Tablet: 2 colunas */
@media (min-width: 768px) {
    .arcade-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 3 colunas */
@media (min-width: 1024px) {
    .arcade-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Game Card */
.game-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.game-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Game Card Featured (Destaque) */
.game-card.featured {
    border-color: var(--gradient-pink);
    background: rgba(255, 0, 255, 0.05);
}

/* Removido: card featured não ocupa mais 2 linhas - todos os cards têm mesmo tamanho */

.game-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 8px 16px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-glow);
}

.game-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    background: var(--bg-darker);
    overflow: hidden;
}

.game-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.game-card:hover .game-thumbnail img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 48px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.coming-soon {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.game-info {
    padding: var(--spacing-lg);
}

.game-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.game-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Game Meta */
.game-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--spacing-md);
    font-size: 12px;
}

.game-type {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-weight: 600;
}

.game-difficulty {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-difficulty.easy {
    background: rgba(0, 255, 0, 0.15);
    color: #00ff00;
}

.game-difficulty.medium {
    background: rgba(255, 165, 0, 0.15);
    color: #ffa500;
}

.game-difficulty.hard {
    background: rgba(255, 0, 0, 0.15);
    color: #ff0000;
}

.game-status {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-status.available {
    background: rgba(0, 255, 0, 0.15);
    color: #00ff00;
}

.game-status.soon {
    background: rgba(255, 165, 0, 0.15);
    color: #ffa500;
}

.game-status.development {
    background: rgba(255, 0, 255, 0.15);
    color: var(--gradient-pink);
}

/* Botões dos Games */
.btn-play,
.btn-roadmap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-glow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-play:hover,
.btn-roadmap:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
}

.btn-roadmap {
    background: var(--gradient-secondary);
}

/* Arcade Footer */
.arcade-footer {
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--gradient-pink);
    border-radius: var(--radius-md);
}

.arcade-footer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   WINI-IA TIP (NOVO PARÁGRAFO)
   ============================================ */

.wini-tip {
    padding: var(--spacing-md);
    background: rgba(255, 0, 255, 0.1);
    border-left: 4px solid var(--gradient-pink);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: var(--spacing-md);
}

.wini-tip strong {
    color: var(--gradient-pink);
    font-weight: 700;
}

/* ============================================
   AJUSTE NO BOTÃO HERO (ÍCONE + TEXTO)
   ============================================ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px; /* Espaço entre ícone e texto */
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   RESPONSIVIDADE MOBILE ESPECÍFICA
   ============================================ */

/* Mobile: Hero mais compacto */
@media (max-width: 768px) {
    .hero-fullscreen {
        min-height: 60vh; /* Reduz altura em mobile */
    }
    
    /* Otimização: reduzir padding vertical da stories-section em mobile */
    .stories-section {
        padding: var(--spacing-md) 0; /* Reduzido de var(--spacing-2xl) para mobile */
    }
    
    /* Reduzir gap entre itens da stories-section em mobile */
    .stories-wrapper {
        gap: var(--spacing-sm); /* Reduzido de var(--spacing-md) para mobile */
        padding: 4px 0; /* Reduzido de 8px para mobile */
    }
    
    .disponivel-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .arcade-section {
        padding: var(--spacing-2xl) 0;
    }
    
    /* Removido: regras especiais do card featured - todos os cards têm mesmo tamanho */
    
    .features-grid,
    .arcade-grid {
        gap: var(--spacing-md);
    }
}

/* Muito pequeno (320px) */
@media (max-width: 375px) {
    .hero-fullscreen {
        min-height: 50vh;
    }
    
    /* Otimização adicional para stories-section em telas muito pequenas */
    .stories-section {
        padding: var(--spacing-sm) 0; /* Reduzido ainda mais: 8px em vez de 16px */
    }
    
    .stories-wrapper {
        gap: 4px; /* Reduzido ainda mais o espaço entre os círculos */
    }
    
    .story-item {
        gap: 4px; /* Reduzir gap entre círculo e label */
    }
    
    .section-header-center h2 {
        font-size: 24px;
    }
    
    .feature-card h3,
    .game-title {
        font-size: 18px;
    }
}