/*
Theme Name: GameZone
Theme URI: https://github.com/gamezone/theme
Author: GameZone Team
Author URI: https://github.com/gamezone
Description: A vibrant, modern gaming website theme with 1000+ HTML5 games. Features a colorful, game-like interface with responsive design.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: games, colorful, modern, entertainment, responsive, custom-colors, custom-menu, featured-images
Text Domain: gamezone
*/

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

:root {
    /* Fresh, Vibrant Gaming Colors */
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #FFE66D;
    --highlight-color: #A855F7;
    
    /* Background Colors */
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1e;
    --card-bg: rgba(30, 30, 50, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #c0c0c0;
    
    /* Dynamic Gradients */
    --gradient-1: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    --gradient-2: linear-gradient(135deg, #4ECDC4 0%, #FFE66D 100%);
    --gradient-3: linear-gradient(135deg, #FFE66D 0%, #A855F7 100%);
    --gradient-4: linear-gradient(135deg, #A855F7 0%, #FF6B6B 100%);
    --gradient-rainbow: linear-gradient(135deg, #FF6B6B, #FFE66D, #4ECDC4, #A855F7, #FF6B6B);
}

/* Light Mode Variables */
body.light-mode {
    --dark-bg: #f0f2f5;
    --darker-bg: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.95);
    --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, #f8f9fa 0%, #e9ecef 100%);
}

body.light-mode::before {
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(78, 205, 196, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 230, 109, 0.12) 0%, transparent 50%);
}

body {
    font-family: 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #1a1a2e 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    animation: pageLoad 0.6s ease-out;
}

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

/* Animated Background - Colorful Gradient Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(78, 205, 196, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 230, 109, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 12s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
    will-change: opacity;
}

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

/* Floating Particles Effect - Colorful Dots */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(255, 107, 107, 0.3) 2px, transparent 2px),
        radial-gradient(circle, rgba(78, 205, 196, 0.25) 2px, transparent 2px),
        radial-gradient(circle, rgba(168, 85, 247, 0.2) 2px, transparent 2px);
    background-size: 200px 200px, 280px 280px, 350px 350px;
    background-position: 0 0, 40px 40px, 80px 80px;
    animation: particleFloat 50s linear infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
    will-change: transform;
}

body.light-mode::after {
    opacity: 0.08;
    background-image: 
        radial-gradient(circle, rgba(255, 107, 107, 0.4) 2px, transparent 2px),
        radial-gradient(circle, rgba(78, 205, 196, 0.35) 2px, transparent 2px);
}

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

/* Header - Modern Gradient Glass Style */
.site-header {
    background: rgba(30, 30, 50, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--highlight-color)) 1;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 
        0 10px 40px rgba(255, 107, 107, 0.15),
        0 0 60px rgba(78, 205, 196, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: headerGlow 5s ease-in-out infinite alternate;
}

@keyframes headerGlow {
    0% {
        box-shadow: 
            0 10px 40px rgba(255, 107, 107, 0.2),
            0 0 60px rgba(78, 205, 196, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    100% {
        box-shadow: 
            0 10px 40px rgba(78, 205, 196, 0.25),
            0 0 60px rgba(168, 85, 247, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

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

/* Search Container - Rounded Colorful Style */
.search-container {
    position: relative;
    flex: 1;
    max-width: 500px;
    min-width: 200px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 0.9rem 1.5rem;
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid rgba(255, 107, 107, 0.4);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(255, 107, 107, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.search-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.8;
}

.search-input:focus {
    background: rgba(78, 205, 196, 0.15);
    border-color: var(--secondary-color);
    box-shadow: 
        0 0 30px rgba(78, 205, 196, 0.3),
        0 0 50px rgba(255, 107, 107, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

/* Search Results Dropdown - Modern Style */
.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    max-height: 400px;
    overflow-y: auto;
    background: rgba(30, 30, 50, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(78, 205, 196, 0.5);
    border-radius: 20px;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(78, 205, 196, 0.2),
        0 0 60px rgba(255, 107, 107, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1001;
    display: none;
    animation: searchResultsSlideDown 0.3s ease-out;
}

@keyframes searchResultsSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(78, 205, 196, 0.2);
    padding-left: 2rem;
    box-shadow: inset 4px 0 0 var(--secondary-color);
}

.search-result-item.no-results {
    color: var(--text-secondary);
    cursor: default;
    justify-content: center;
}

.search-result-item.no-results:hover {
    background: transparent;
    padding-left: 1.5rem;
    box-shadow: none;
}

.search-result-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.search-result-name {
    font-weight: 600;
    font-size: 1rem;
}

/* Custom Scrollbar for Search Results */
.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255, 107, 107, 0.5) 0%, rgba(78, 205, 196, 0.5) 100%);
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 107, 107, 0.8) 0%, rgba(78, 205, 196, 0.8) 100%);
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(255, 230, 109, 0.15);
    border: 2px solid rgba(255, 230, 109, 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(255, 230, 109, 0.2);
    margin-left: auto;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: rgba(255, 230, 109, 0.3);
    border-color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 230, 109, 0.4), 0 0 30px rgba(168, 85, 247, 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, #FF6B6B 0%, #FFE66D 30%, #4ECDC4 60%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    animation: titleShine 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.3));
    position: relative;
}

.site-title::before {
    content: '🎮';
    position: absolute;
    left: -45px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    animation: gamepadBounce 2s ease-in-out infinite;
}

@keyframes gamepadBounce {
    0%, 100% {
        transform: translateY(-50%) scale(1) rotate(0deg);
    }
    25% {
        transform: translateY(-55%) scale(1.1) rotate(-5deg);
    }
    50% {
        transform: translateY(-50%) scale(1) rotate(0deg);
    }
    75% {
        transform: translateY(-45%) scale(1.1) rotate(5deg);
    }
}

@keyframes titleShine {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 20px rgba(255, 107, 107, 0.3));
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 30px rgba(78, 205, 196, 0.5));
    }
}

.site-title a {
    text-decoration: none;
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 30%, #4ECDC4 60%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hamburger Menu - Modern Gradient Style */
.hamburger-menu {
    background: rgba(168, 85, 247, 0.15);
    border: 2px solid rgba(168, 85, 247, 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(168, 85, 247, 0.2);
}

.hamburger-menu:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: #ffffff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.4), 0 0 30px rgba(255, 107, 107, 0.3);
}

.hamburger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--highlight-color), var(--primary-color));
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

/* Sidebar - Modern Colorful Glass Style */
.sidebar {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100vh;
    background: rgba(30, 30, 50, 0.95);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-right: 3px solid;
    border-image: linear-gradient(180deg, var(--primary-color), var(--secondary-color), var(--highlight-color)) 1;
    z-index: 2000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 
        10px 0 50px rgba(255, 107, 107, 0.2),
        6px 0 70px rgba(78, 205, 196, 0.15),
        inset -1px 0 0 rgba(255, 255, 255, 0.1);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 2px solid rgba(78, 205, 196, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(30, 30, 50, 0.98);
    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.4),
        0 0 30px rgba(78, 205, 196, 0.15);
}

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

/* Sidebar Search Input */
.sidebar-search {
    padding: 1rem 1.5rem;
    border-bottom: 2px solid rgba(78, 205, 196, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

.sidebar-search-input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid rgba(255, 107, 107, 0.4);
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 12px rgba(255, 107, 107, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sidebar-search-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.8;
}

.sidebar-search-input:focus {
    background: rgba(78, 205, 196, 0.15);
    border-color: var(--secondary-color);
    box-shadow: 
        0 0 20px rgba(78, 205, 196, 0.3),
        0 0 30px rgba(255, 107, 107, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.close-sidebar {
    background: rgba(255, 107, 107, 0.25);
    border: 2px solid rgba(255, 107, 107, 0.5);
    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;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.close-sidebar:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 
        0 6px 20px rgba(255, 107, 107, 0.5),
        0 0 30px rgba(255, 107, 107, 0.4);
}

.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;
    position: relative;
}

.sidebar-game-link::before {
    content: '▶';
    position: absolute;
    left: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.sidebar-game-link:hover {
    background: linear-gradient(90deg, rgba(78, 205, 196, 0.2) 0%, transparent 100%);
    color: #ffffff;
    border-left-color: var(--secondary-color);
    padding-left: 3rem;
}

.sidebar-game-link:hover::before {
    opacity: 1;
    left: 1.5rem;
}

/* 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 - Colorful Rainbow Style */
.section-title {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #FF6B6B, #FFE66D, #4ECDC4, #A855F7, #FF6B6B);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    font-weight: 800;
    letter-spacing: 1px;
    filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.3));
    animation: rainbowShift 5s ease-in-out infinite;
    position: relative;
}

.section-title::before {
    content: '🎮';
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.2rem;
    animation: iconBounce 2s ease-in-out infinite;
}

.section-title::after {
    content: '🎯';
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.2rem;
    animation: iconBounce 2s ease-in-out infinite 1s;
}

@keyframes rainbowShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-60%) scale(1.15);
    }
}

@keyframes sectionTitlePulse {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 20px rgba(255, 107, 107, 0.3));
        transform: scale(1);
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 30px rgba(78, 205, 196, 0.5));
        transform: scale(1.02);
    }
}

.page-title {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 50%, #4ECDC4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 1px;
    filter: drop-shadow(0 0 25px rgba(255, 107, 107, 0.3));
    animation: titlePulse 3s ease-in-out infinite;
    position: relative;
    display: inline-block;
}

.page-title::before {
    content: '🎯';
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.2rem;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-60%) translateX(5px);
    }
}

@keyframes titlePulse {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 25px rgba(255, 107, 107, 0.3));
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 35px rgba(78, 205, 196, 0.5));
    }
}

.game-page-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #A855F7 0%, #FF6B6B 50%, #FFE66D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.3));
    animation: gameTitleShine 3s ease-in-out infinite alternate;
    letter-spacing: 1px;
}

@keyframes gameTitleShine {
    0% {
        filter: brightness(1) drop-shadow(0 0 20px rgba(168, 85, 247, 0.3));
    }
    100% {
        filter: brightness(1.2) drop-shadow(0 0 30px rgba(255, 107, 107, 0.5));
    }
}

/* 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(--secondary-color);
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #4ECDC4 0%, #FFE66D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(78, 205, 196, 0.25));
    transition: all 0.3s ease;
    position: relative;
}

.category-title::before {
    content: '🏆';
    position: absolute;
    left: -45px;
    top: 50%;
    transform: translateY(-50%) rotate(-10deg);
    font-size: 1.6rem;
    animation: categoryIconSpin 3s ease-in-out infinite;
}

@keyframes categoryIconSpin {
    0%, 100% {
        transform: translateY(-50%) rotate(-10deg) scale(1);
    }
    50% {
        transform: translateY(-50%) rotate(10deg) scale(1.15);
    }
}

.category-title:hover {
    padding-left: 2rem;
    border-left-width: 8px;
    filter: drop-shadow(0 0 25px rgba(78, 205, 196, 0.4));
    transform: translateX(5px);
}

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

/* Game Card - Modern Colorful Style with Interactive Effects */
.game-card {
    background: rgba(30, 30, 50, 0.6);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.8rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
    animation: cardEntrance 0.5s ease-out backwards;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 107, 107, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    will-change: transform;
}

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

/* Gradient overlay on hover */
.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.1) 0%, 
        rgba(78, 205, 196, 0.1) 50%, 
        rgba(168, 85, 247, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

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

.game-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(78, 205, 196, 0.5);
    box-shadow: 
        0 20px 50px rgba(78, 205, 196, 0.25), 
        0 0 40px rgba(255, 107, 107, 0.2),
        0 0 60px rgba(168, 85, 247, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.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 8px 25px rgba(255, 107, 107, 0.25),
        0 0 20px rgba(78, 205, 196, 0.15),
        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);
}

/* Play icon overlay on game icon */
.game-icon::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 1.8rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.game-card:hover .game-icon::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.game-card:hover .game-icon {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 
        0 12px 30px rgba(78, 205, 196, 0.4),
        0 0 30px rgba(255, 107, 107, 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 8px 25px rgba(78, 205, 196, 0.25),
        0 0 20px rgba(255, 230, 109, 0.15),
        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 8px 25px rgba(255, 230, 109, 0.25),
        0 0 20px rgba(168, 85, 247, 0.15),
        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 8px 25px rgba(168, 85, 247, 0.25),
        0 0 20px rgba(255, 107, 107, 0.15),
        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;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.game-card:hover .game-title {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(78, 205, 196, 0.4);
    transform: translateX(3px);
}

.game-category {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    background: rgba(78, 205, 196, 0.15);
    border-radius: 12px;
    display: inline-block;
    align-self: flex-start;
    transition: all 0.3s ease;
    border: 1px solid rgba(78, 205, 196, 0.3);
    font-weight: 600;
}

.game-card:hover .game-category {
    background: rgba(78, 205, 196, 0.3);
    color: var(--text-primary);
    border-color: rgba(78, 205, 196, 0.5);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.25);
}

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

.see-more-btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: rgba(78, 205, 196, 0.15);
    border: 2px solid rgba(78, 205, 196, 0.5);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.2);
    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(--secondary-color) 0%, var(--highlight-color) 100%);
    border-color: #ffffff;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 
        0 12px 40px rgba(78, 205, 196, 0.35),
        0 0 50px rgba(168, 85, 247, 0.25);
    color: #ffffff;
}

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

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

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

.breadcrumb a:hover {
    color: var(--primary-color);
    background: rgba(255, 107, 107, 0.1);
    transform: translateX(5px);
}

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

/* Game Page Styles - Modern Colorful Design */
.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: linear-gradient(135deg, rgba(30, 30, 50, 0.95) 0%, rgba(20, 20, 35, 0.98) 100%);
    overflow: hidden;
    border-radius: 24px;
    border: 3px solid;
    border-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--highlight-color)) 1;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(255, 107, 107, 0.2),
        0 0 60px rgba(78, 205, 196, 0.15);
    animation: gameContainerPulse 4s ease-in-out infinite alternate;
}

@keyframes gameContainerPulse {
    0% {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.6),
            0 0 40px rgba(255, 107, 107, 0.25),
            0 0 60px rgba(78, 205, 196, 0.15);
    }
    100% {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.7),
            0 0 50px rgba(78, 205, 196, 0.3),
            0 0 70px rgba(168, 85, 247, 0.2);
    }
}

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

/* Fullscreen Buttons - Colorful Gradient Style */
.fullscreen-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 50px;
    border: none;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 107, 107, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.95;
    z-index: 10;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.left-btn {
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--highlight-color) 100%);
}

.right-btn {
    right: 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: #1a1a2e;
}

.fullscreen-btn:hover {
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(255, 107, 107, 0.4);
}

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

/* Footer */
/* Footer - Modern Gradient Glass Style */
.site-footer {
    background: rgba(30, 30, 50, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 3px solid;
    border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--highlight-color)) 1;
    padding: 3rem 0;
    text-align: center;
    margin-top: 5rem;
    box-shadow: 
        0 -10px 50px rgba(255, 107, 107, 0.15),
        0 0 70px rgba(78, 205, 196, 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(255, 107, 107, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
    animation: footerGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
}

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

.site-footer p {
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Back to Top Button - Colorful Gradient */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--highlight-color) 100%);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 
        0 8px 25px rgba(255, 107, 107, 0.35),
        0 0 40px rgba(168, 85, 247, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: scale(1.15);
    box-shadow: 
        0 12px 35px rgba(255, 107, 107, 0.5),
        0 0 60px rgba(168, 85, 247, 0.4);
}

.back-to-top::before {
    content: '⬆';
    font-size: 1.8rem;
    color: white;
}

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

    .site-title {
        font-size: 1.5rem;
        order: 2;
        flex: 1;
        text-align: center;
    }

    .site-title::before {
        left: -30px;
        font-size: 1.3rem;
    }

    .hamburger-menu {
        order: 1;
    }

    .search-container {
        order: 4;
        width: 100%;
        max-width: 100%;
        margin: 0.5rem 0 0 0;
    }

    .theme-toggle {
        order: 3;
    }

    .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.8rem;
        letter-spacing: 1px;
    }

    .section-title::before,
    .section-title::after {
        display: none; /* Hide lightning bolts on mobile */
    }

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

    .page-title::before {
        display: none; /* Hide icon on mobile */
    }

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

    .category-title::before {
        left: -35px;
        font-size: 1.5rem;
    }

    .iframe-container {
        padding-bottom: 60vh;
        border-width: 3px;
        box-shadow: 
            0 15px 40px rgba(0, 0, 0, 0.7),
            0 0 30px rgba(0, 212, 255, 0.3),
            0 0 0 2px rgba(0, 0, 0, 0.9),
            0 0 0 5px rgba(0, 212, 255, 0.5);
    }

    .fullscreen-btn {
        font-size: 13px;
        padding: 10px 16px;
        box-shadow: 
            0 6px 20px rgba(0, 0, 0, 0.6),
            0 0 0 2px rgba(0, 0, 0, 0.9),
            0 0 0 5px rgba(255, 215, 0, 0.5);
    }

    .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;
    }

    .search-input {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }

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

    .left-btn {
        left: 10px;
    }

    .right-btn {
        right: 10px;
    }

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

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

    .category-title::before {
        left: -30px;
        font-size: 1.2rem;
    }

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

    .site-title::before {
        left: -25px;
        font-size: 1.1rem;
    }
}

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

/* Loading Indicator - Colorful Style */
.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.loading-container.active {
    opacity: 1;
    pointer-events: all;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 107, 107, 0.2);
    border-top: 5px solid var(--primary-color);
    border-right: 5px solid var(--secondary-color);
    border-bottom: 5px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 
        0 0 30px rgba(255, 107, 107, 0.4),
        0 0 50px rgba(78, 205, 196, 0.25),
        inset 0 0 20px rgba(255, 107, 107, 0.15);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 50%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Smooth Scrolling */

/* Custom Scrollbar - Colorful Theme */
::-webkit-scrollbar {
    width: 12px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255, 107, 107, 0.5) 0%, rgba(78, 205, 196, 0.5) 50%, rgba(168, 85, 247, 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(255, 107, 107, 0.8) 0%, rgba(78, 205, 196, 0.8) 50%, rgba(168, 85, 247, 0.8) 100%);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
}

/* Featured Images Section - Modern Colorful Style */
.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;
    display: block;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(30, 30, 50, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 107, 107, 0.15);
    animation: featuredEntrance 0.6s ease-out backwards;
    will-change: transform;
    text-decoration: none;
}

.featured-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 107, 107, 0.2) 0%,
        rgba(78, 205, 196, 0.2) 50%,
        rgba(168, 85, 247, 0.2) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* Subtle pattern overlay */
.featured-image-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 25px 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

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

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

.featured-image-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(255, 107, 107, 0.3),
        0 0 80px rgba(78, 205, 196, 0.2);
    border-color: rgba(78, 205, 196, 0.5);
}

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

.featured-image-card:hover::after {
    opacity: 0.2;
}

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

/* Fade-in animation for featured images */
.fade-in {
    animation: fadeInUp 0.6s 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 {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        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: 50px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(78, 205, 196, 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(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.footer-links a:hover {
    color: #ffffff;
    border-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.35);
}

.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(--secondary-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(--primary-color) 0%, var(--secondary-color) 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(78, 205, 196, 0.2);
    border-color: rgba(78, 205, 196, 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 styles removed - no longer needed */
}

@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;
    }
}
