/*
Theme Name: Ezoic Games
Theme URI: https://github.com/sushantmodi007/gam
Author: Sushant Modi
Author URI: https://github.com/sushantmodi007
Description: A Superman-themed gaming website with 1000+ HTML5 games. Features a modern dark interface with customizable colors.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: games, dark, custom-colors, entertainment, two-columns, custom-menu, featured-images
Text Domain: ezoic-games
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a0a0a;
    --secondary-color: #1a1a2e;
    --accent-color: #00d4ff;
    --dark-bg: #0f0f1e;
    --darker-bg: #000000;
    --card-bg: rgba(26, 26, 46, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    /* Modern Gaming Colors - Vibrant & Glassy */
    --neon-blue: #00d4ff;
    --neon-purple: #9d4edd;
    --neon-pink: #ff006e;
    --neon-green: #06ffa5;
    --gradient-1: linear-gradient(135deg, #00d4ff 0%, #9d4edd 100%);
    --gradient-2: linear-gradient(135deg, #ff006e 0%, #00d4ff 100%);
    --gradient-3: linear-gradient(135deg, #9d4edd 0%, #ff006e 100%);
    --gradient-4: linear-gradient(135deg, #06ffa5 0%, #00d4ff 100%);
}

/* Light Mode Variables */
body.light-mode {
    --primary-color: #f5f5f5;
    --secondary-color: #ffffff;
    --accent-color: #0066CC;
    --dark-bg: #e8e8f0;
    --darker-bg: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.9);
    --glass-bg: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.1);
    --text-primary: #1a1a2e;
    --text-secondary: #666666;
}

body.light-mode {
    background: linear-gradient(135deg, #f0f0f8 0%, #ffffff 100%);
}

body.light-mode::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(232, 28, 46, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 50%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a1e 0%, #1a1a2e 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    animation: pageLoad 0.5s ease-out;
}

@keyframes pageLoad {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Animated Background - Modern Glassy Theme */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(157, 78, 221, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(6, 255, 165, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 15s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes backgroundPulse {
    0% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}

/* Floating Particles Effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(0, 212, 255, 0.3) 2px, transparent 2px),
        radial-gradient(circle, rgba(157, 78, 221, 0.3) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 0, 110, 0.3) 1px, transparent 1px);
    background-size: 200px 200px, 300px 300px, 150px 150px;
    background-position: 0 0, 50px 50px, 100px 100px;
    animation: particleFloat 60s linear infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

body.light-mode::after {
    opacity: 0.08;
    background-image: 
        radial-gradient(circle, rgba(0, 102, 204, 0.4) 2px, transparent 2px),
        radial-gradient(circle, rgba(232, 28, 46, 0.4) 2px, transparent 2px);
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
    }
}

/* Header - Modern Glassy Style with Enhanced Effects */
.site-header {
    background: rgba(26, 26, 46, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 
        0 8px 32px 0 rgba(0, 212, 255, 0.15),
        0 0 60px rgba(157, 78, 221, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        /* Comic-style layered effect */
        0 0 0 1px rgba(0, 212, 255, 0.3),
        0 0 20px rgba(255, 0, 110, 0.1);
    animation: headerGlow 3s ease-in-out infinite alternate;
}

@keyframes headerGlow {
    0% {
        box-shadow: 0 8px 40px rgba(232, 28, 46, 0.4), 0 0 60px rgba(0, 102, 204, 0.3);
    }
    100% {
        box-shadow: 0 8px 40px rgba(0, 102, 204, 0.5), 0 0 60px rgba(232, 28, 46, 0.4);
    }
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(0, 212, 255, 0.15);
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 50px;
    padding: 0.7rem 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
    margin-left: auto;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: rgba(0, 212, 255, 0.3);
    border-color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4), 0 0 30px rgba(157, 78, 221, 0.3);
}

.theme-icon {
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.sun-icon {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
}

.moon-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

body.light-mode .sun-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

body.light-mode .moon-icon {
    opacity: 0;
    transform: scale(0) rotate(180deg);
}

.site-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff 0%, #9d4edd 50%, #ff006e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.5), 0 0 80px rgba(157, 78, 221, 0.3);
    letter-spacing: 1px;
    animation: titleShine 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.4));
}

@keyframes titleShine {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.site-title a {
    text-decoration: none;
    background: linear-gradient(135deg, #00d4ff 0%, #9d4edd 50%, #ff006e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hamburger Menu - Modern Glassy Style */
.hamburger-menu {
    background: rgba(0, 212, 255, 0.15);
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 12px;
    padding: 0.7rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.hamburger-menu:hover {
    background: rgba(0, 212, 255, 0.3);
    border-color: #ffffff;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4), 0 0 30px rgba(157, 78, 221, 0.3);
}

.hamburger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), #ffffff);
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

/* Sidebar - Enhanced Superman Theme */
.sidebar {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100vh;
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 2000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 
        8px 0 40px rgba(0, 212, 255, 0.2),
        4px 0 60px rgba(157, 78, 221, 0.15),
        inset -1px 0 0 rgba(255, 255, 255, 0.1);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sidebar-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.4));
}

.close-sidebar {
    background: rgba(0, 212, 255, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.4);
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 700;
}

.close-sidebar:hover {
    background: var(--neon-blue);
    color: #000000;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.sidebar-content {
    padding: 1rem 0;
}

.sidebar-game-link {
    display: block;
    padding: 1rem 1.5rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sidebar-game-link:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #ffffff;
    border-left-color: var(--neon-blue);
    padding-left: 2.5rem;
    box-shadow: inset 0 0 30px rgba(0, 212, 255, 0.15);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Main Content - Enhanced with Animation */
.main-content {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
    animation: contentSlideIn 0.6s ease-out;
}

@keyframes contentSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Titles - Enhanced Superman Theme */
.section-title {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #00d4ff 0%, #9d4edd 50%, #ff006e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    font-weight: 900;
    letter-spacing: 0px;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.4));
    animation: sectionTitlePulse 3s ease-in-out infinite;
    position: relative;
}

@keyframes sectionTitlePulse {
    0%, 100% {
        filter: brightness(1);
        transform: scale(1);
    }
    50% {
        filter: brightness(1.2);
        transform: scale(1.02);
    }
}

.page-title {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #00d4ff 0%, #9d4edd 50%, #ff006e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: 0px;
    filter: drop-shadow(0 0 25px rgba(0, 212, 255, 0.4));
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.game-page-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #ff006e 0%, #00d4ff 50%, #9d4edd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    filter: drop-shadow(0 0 20px rgba(255, 0, 110, 0.4));
    animation: gameTitleShine 2s ease-in-out infinite alternate;
}

@keyframes gameTitleShine {
    0% {
        filter: brightness(1) hue-rotate(0deg);
    }
    100% {
        filter: brightness(1.2) hue-rotate(5deg);
    }
}

/* Category Section - Enhanced */
.category-section {
    margin-bottom: 4rem;
    animation: sectionFadeIn 0.8s ease-out;
}

@keyframes sectionFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    padding-left: 1.5rem;
    border-left: 6px solid var(--neon-blue);
    font-weight: 800;
    letter-spacing: 0px;
    background: linear-gradient(135deg, #00d4ff 0%, #9d4edd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.3))
            drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    text-shadow: 
        2px 2px 0 rgba(0, 0, 0, 0.2),
        -1px -1px 0 rgba(255, 255, 255, 0.1);
}

.category-title:hover {
    padding-left: 2rem;
    border-left-width: 8px;
    filter: drop-shadow(0 0 25px rgba(0, 212, 255, 0.5))
            drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.4));
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Game Card - Modern Glassy Theme with Comic Effects */
.game-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 1.8rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    animation: cardEntrance 0.6s ease-out backwards;
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        0 0 20px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        /* Comic-style stroke effect */
        0 0 0 2px rgba(0, 212, 255, 0.2),
        0 0 0 4px rgba(157, 78, 221, 0.1);
}

@keyframes cardEntrance {
    0% {
        transform: translateY(20px) scale(0.98);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(157, 78, 221, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.game-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.15), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.game-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 
        0 20px 50px rgba(0, 212, 255, 0.25), 
        0 0 40px rgba(157, 78, 221, 0.2),
        0 0 60px rgba(255, 0, 110, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        /* Enhanced comic stroke on hover */
        0 0 0 3px rgba(0, 212, 255, 0.5),
        0 0 0 6px rgba(157, 78, 221, 0.3),
        0 0 0 9px rgba(255, 0, 110, 0.2);
    animation: cardHover 0.6s ease-in-out;
}

@keyframes cardHover {
    0%, 100% {
        transform: translateY(-12px) scale(1.05);
    }
    50% {
        transform: translateY(-15px) scale(1.06);
    }
}

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

.game-card:hover::after {
    opacity: 1;
    left: 100%;
}

.game-icon {
    width: 75px;
    height: 75px;
    border-radius: 18px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    box-shadow: 
        0 10px 25px rgba(0, 212, 255, 0.3),
        0 0 20px rgba(157, 78, 221, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.game-card:hover .game-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 30px rgba(0, 212, 255, 0.4),
        0 0 30px rgba(157, 78, 221, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.game-card:nth-child(4n+2) .game-icon {
    background: var(--gradient-2);
    box-shadow: 
        0 10px 25px rgba(255, 0, 110, 0.3),
        0 0 20px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.game-card:nth-child(4n+3) .game-icon {
    background: var(--gradient-3);
    box-shadow: 
        0 10px 25px rgba(157, 78, 221, 0.3),
        0 0 20px rgba(255, 0, 110, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.game-card:nth-child(4n+4) .game-icon {
    background: var(--gradient-4);
    box-shadow: 
        0 10px 25px rgba(6, 255, 165, 0.3),
        0 0 20px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
}

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

.game-initial {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.game-info {
    position: relative;
    z-index: 1;
}

.game-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-primary);
}

.game-category {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* See More Button - Enhanced Superman Theme */
.see-more-container {
    text-align: center;
    margin-top: 2rem;
}

.see-more-btn {
    display: inline-block;
    padding: 1.3rem 3rem;
    background: rgba(0, 212, 255, 0.15);
    border: 3px solid rgba(0, 212, 255, 0.5);
    border-radius: 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.see-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.see-more-btn:hover {
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
    border-color: #ffffff;
    transform: scale(1.12) translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(0, 212, 255, 0.4),
        0 0 50px rgba(157, 78, 221, 0.3),
        0 0 70px rgba(255, 0, 110, 0.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.see-more-btn:hover::before {
    left: 100%;
}

/* Breadcrumb - Enhanced Superman Theme */
.breadcrumb {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
}

.breadcrumb a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
}

.breadcrumb a:hover {
    color: var(--neon-purple);
    background: rgba(0, 212, 255, 0.1);
    transform: translateX(5px);
}

.category-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Game Page Styles */
.post-container {
    max-width: 100%;
    padding: 0;
    box-sizing: border-box;
    margin-bottom: 3rem;
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--primary-color);
    overflow: hidden;
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 212, 255, 0.2),
        0 0 60px rgba(157, 78, 221, 0.15);
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Fullscreen Buttons - Enhanced Superman Theme */
.fullscreen-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.95;
    z-index: 10;
    backdrop-filter: blur(10px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.fullscreen-btn:hover {
    transform: translateY(-50%) scale(1.15) rotate(2deg);
    opacity: 1;
    box-shadow: 
        0 10px 35px rgba(0, 0, 0, 0.7), 
        0 0 50px rgba(255, 215, 0, 0.5),
        0 0 70px rgba(232, 28, 46, 0.3);
}

.left-btn {
    left: 15px;
}

.right-btn {
    right: 15px;
}

/* Related Games Section */
.related-games-section {
    margin-top: 3rem;
}

/* Footer */
/* Footer - Enhanced Superman Theme */
.site-footer {
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 3rem 0;
    text-align: center;
    margin-top: 5rem;
    box-shadow: 
        0 -8px 40px rgba(0, 212, 255, 0.15),
        0 0 60px rgba(157, 78, 221, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(157, 78, 221, 0.08) 0%, transparent 50%);
    animation: footerGlow 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes footerGlow {
    0% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.site-footer p {
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

/* Mobile Responsive */
@media screen and (max-width: 800px) {
    .header-content {
        padding: 0 1rem;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .game-card {
        padding: 1rem;
    }

    .game-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .game-title {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .iframe-container {
        padding-bottom: 60vh;
    }

    .fullscreen-btn {
        font-size: 13px;
        padding: 8px 12px;
    }

    .sidebar {
        width: 300px;
        left: -300px;
    }
}

@media screen and (max-width: 500px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .sidebar {
        width: 280px;
        left: -280px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar - Enhanced Superman Theme */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
    border-left: 1px solid rgba(255, 215, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(0, 102, 204, 0.5) 0%, rgba(232, 28, 46, 0.5) 50%, rgba(255, 215, 0, 0.5) 100%);
    border-radius: 8px;
    border: 2px solid var(--darker-bg);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(0, 102, 204, 0.8) 0%, rgba(232, 28, 46, 0.8) 50%, rgba(255, 215, 0, 0.8) 100%);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Featured Images Section */
.featured-images-section {
    margin: 0 0 4rem 0;
    animation: fadeInUp 0.8s ease-out;
}

.featured-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        0 0 40px rgba(0, 212, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        /* Comic-style layered borders */
        0 0 0 3px rgba(0, 212, 255, 0.1),
        0 0 0 6px rgba(157, 78, 221, 0.08);
    animation: featuredEntrance 0.8s ease-out backwards;
}

.featured-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.15) 0%,
        rgba(157, 78, 221, 0.15) 50%,
        rgba(255, 0, 110, 0.15) 100%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

@keyframes featuredEntrance {
    0% {
        transform: translateY(30px) scale(0.95);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.featured-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    filter: brightness(1) contrast(1.1) saturate(1.2);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 212, 255, 0.95) 0%,
        rgba(157, 78, 221, 0.85) 50%,
        transparent 100%
    );
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    padding: 2.5rem 1.5rem 1.5rem;
    transform: translateY(0); /* Show overlay by default, not hidden */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.featured-overlay h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.featured-image-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 
        0 20px 60px rgba(0, 212, 255, 0.3),
        0 0 60px rgba(157, 78, 221, 0.25),
        0 0 100px rgba(255, 0, 110, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        /* Enhanced comic borders on hover */
        0 0 0 4px rgba(0, 212, 255, 0.4),
        0 0 0 8px rgba(157, 78, 221, 0.3),
        0 0 0 12px rgba(255, 0, 110, 0.2);
}

.featured-image-card:hover::before {
    opacity: 1;
}

.featured-image-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.15) contrast(1.15) saturate(1.3);
}

.featured-image-card:hover .featured-overlay {
    transform: translateY(-10px); /* Slight lift on hover */
    background: linear-gradient(
        to top,
        rgba(0, 212, 255, 1) 0%,
        rgba(157, 78, 221, 0.95) 50%,
        transparent 100%
    );
}

/* Fade-in animation for featured images */
.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.3s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
    }
    to {
        transform: translateY(0);
    }
}

/* Footer Updates */
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.7rem 1.3rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.footer-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.footer-links a:hover {
    color: #000000;
    border-color: var(--neon-blue);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4), 0 0 30px rgba(157, 78, 221, 0.3);
}

.footer-links a:hover::before {
    opacity: 1;
}

/* Page Templates Styling */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 2px solid var(--glass-border);
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--accent-color);
    font-weight: 700;
}

.policy-section p,
.policy-section ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.policy-section ul {
    padding-left: 2rem;
    list-style-type: disc;
}

.policy-section li {
    margin-bottom: 0.8rem;
}

.policy-section li strong {
    color: var(--text-primary);
}

.contact-info h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(4, 118, 242, 0.2);
    border-color: rgba(4, 118, 242, 0.5);
}

.contact-item h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.contact-item p {
    margin: 0;
}

/* Responsive Updates for New Features */
@media screen and (max-width: 800px) {
    .featured-images-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .footer-links a {
        display: block;
    }
    
    .page-content {
        padding: 1.5rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .contact-details {
        gap: 1.5rem;
    }
    
    .featured-overlay h3 {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 500px) {
    .featured-images-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-header {
        padding: 1.5rem 0;
    }
    
    .page-content {
        padding: 1rem;
    }
    
    .policy-section {
        margin-bottom: 2rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
}
