/**
 * Game Templates Showcase Section
 * Modern dark cards with neon effects
 */

/* ============================================
   SECTION CONTAINER
   ============================================ */

.game-showcase-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #151932 0%, #0A0E27 100%);
    position: relative;
    overflow: hidden;
}

.game-showcase-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ============================================
   HEADER
   ============================================ */

.game-showcase-header {
    text-align: center;
    margin-bottom: 70px;
}

.game-showcase-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 50px;
    color: var(--neon-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.game-showcase-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.game-showcase-title .highlight {
    background: linear-gradient(135deg, #FF5722 0%, #00E5FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-showcase-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

/* ============================================
   USP ROW
   ============================================ */

.game-showcase-usp {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

.usp-item i {
    font-size: 1.3rem;
    color: var(--primary-bright);
}

/* ============================================
   GAME GRID
   ============================================ */

.game-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* ============================================
   GAME CARD
   ============================================ */

.game-card {
    background: rgba(26, 31, 58, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #FF5722 0%, #00E5FF 100%);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 87, 34, 0.5);
    box-shadow: 0 20px 60px rgba(255, 87, 34, 0.4);
}

.game-card:hover::before {
    opacity: 1;
    animation: border-glow 2s ease-in-out infinite;
}

@keyframes border-glow {
    0%, 100% {
        filter: blur(8px);
    }
    50% {
        filter: blur(15px);
    }
}

/* ============================================
   GAME IMAGE
   ============================================ */

.game-card-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2) 0%, rgba(0, 229, 255, 0.2) 100%);
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Game Icon Overlay */
.game-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

.game-card:hover .game-icon-overlay {
    transform: translate(-50%, -50%) scale(1.2) rotate(10deg);
    text-shadow: 0 8px 30px rgba(255, 87, 34, 0.8);
}

/* Gradient Overlay */
.game-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(10, 14, 39, 1) 0%, transparent 100%);
}

/* ============================================
   GAME CONTENT
   ============================================ */

.game-card-content {
    padding: 20px;
    position: relative;
}

.game-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    transition: color 0.4s ease;
}

.game-card:hover .game-card-title {
    color: var(--primary-bright);
}

.game-card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    line-height: 1.5;
}

/* ============================================
   GAME TAGS
   ============================================ */

.game-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.game-tag {
    padding: 5px 12px;
    background: rgba(255, 87, 34, 0.15);
    border: 1px solid rgba(255, 87, 34, 0.3);
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--primary-light);
    font-weight: 500;
}

/* ============================================
   GAME CTA BUTTON
   ============================================ */

.game-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.game-try-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #FF5722 0%, #FF9800 100%);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
}

.game-try-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 87, 34, 0.5);
}

.game-try-btn i {
    transition: transform 0.4s ease;
}

.game-try-btn:hover i {
    transform: translateX(3px);
}

/* ============================================
   VIEW ALL BUTTON
   ============================================ */

.game-showcase-bottom {
    text-align: center;
    padding-top: 30px;
}

.game-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: transparent;
    border: 2px solid var(--primary-bright);
    border-radius: 50px;
    color: var(--primary-bright);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
}

.game-view-all-btn:hover {
    background: linear-gradient(135deg, #FF5722 0%, #FF9800 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 87, 34, 0.4);
}

.game-view-all-btn i {
    transition: transform 0.4s ease;
}

.game-view-all-btn:hover i {
    transform: translateX(8px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

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

@media (max-width: 900px) {
    .game-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .game-showcase-title {
        font-size: 2.8rem;
    }
    
    .game-showcase-usp {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .game-showcase-section {
        padding: 60px 0;
    }
    
    .game-showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .game-showcase-header {
        margin-bottom: 50px;
    }
    
    .game-showcase-title {
        font-size: 2.2rem;
    }
    
    .game-showcase-subtitle {
        font-size: 1rem;
    }
    
    .game-card-image {
        height: 200px;
    }
    
    .game-icon-overlay {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .game-showcase-title {
        font-size: 1.8rem;
    }
    
    .game-card-content {
        padding: 15px;
    }
    
    .game-card-title {
        font-size: 1.1rem;
    }
    
    .game-try-btn,
    .game-view-all-btn {
        font-size: 0.9rem;
        padding: 12px 24px;
    }
}
