/* ========================================
   � YILDIZ OYUN - ÇOCUK TEMASI �
   Renkli | Eğlenceli | Sevimli | Çocuk Dostu
   ======================================== */

/* === RESET === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --neon-pink:   #ff4da6;
    --neon-blue:   #00aaff;
    --neon-purple: #b44fff;
    --neon-green:  #2ecc71;
    --neon-orange: #ff8800;
    --neon-yellow: #ffd700;

    --kid-red:     #ff4757;
    --kid-orange:  #ff7f50;
    --kid-yellow:  #ffd700;
    --kid-green:   #2ecc71;
    --kid-blue:    #3498db;
    --kid-purple:  #b44fff;
    --kid-pink:    #ff69b4;
    --kid-teal:    #1abc9c;

    --accent:  #b44fff;
    --accent2: #ff4da6;

    --border:     rgba(180, 79, 255, .35);
    --radius:     14px;

    /* DARK TEMA */
    --bg-dark:   #0a1628;
    --bg-darker: #060e1a;
    --bg-card:   #0f2040;
    --bg-hover:  #162a50;

    --text-white: #f0e6ff;
    --text-gray:  #a08cc0;
    --text-muted: #6a5080;
    --text-dark:  #e8d5ff;

    --gradient-neon:    linear-gradient(135deg, #ff4da6 0%, #b44fff 50%, #00aaff 100%);
    --gradient-fire:    linear-gradient(135deg, #ff8800 0%, #ff4757 100%);
    --gradient-cyber:   linear-gradient(135deg, #00aaff 0%, #b44fff 100%);
    --gradient-toxic:   linear-gradient(135deg, #2ecc71 0%, #1abc9c 100%);
    --gradient-candy:   linear-gradient(135deg, #ff69b4 0%, #ffd700 50%, #00aaff 100%);
    --gradient-rainbow: linear-gradient(135deg, #ff4757, #ff8800, #ffd700, #2ecc71, #00aaff, #b44fff);

    --space-xs:  4px;
    --space-sm:  8px;
    --space-md:  16px;
    --space-lg:  24px;
    --space-xl:  32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    --radius-sm:   10px;
    --radius-md:   16px;
    --radius-lg:   22px;
    --radius-xl:   30px;
    --radius-full: 9999px;

    --glow-pink:   0 4px 20px rgba(255, 77, 166, 0.5), 0 8px 40px rgba(255, 77, 166, 0.3);
    --glow-blue:   0 4px 20px rgba(0, 170, 255, 0.5),  0 8px 40px rgba(0, 170, 255, 0.3);
    --glow-purple: 0 4px 20px rgba(180, 79, 255, 0.5), 0 8px 40px rgba(180, 79, 255, 0.3);
    --glow-green:  0 4px 20px rgba(46, 204, 113, 0.5), 0 8px 40px rgba(46, 204, 113, 0.3);

    --header-height: 80px;
    --sidebar-width: 280px;

    --z-base:     1;
    --z-dropdown: 1000;
    --z-sticky:   1020;
    --z-fixed:    1030;
    --z-modal:    1050;
}

/* === GLOBAL === */
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', 'Comic Sans MS', 'Nunito', sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    font-size: 16px;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background - Çocuk Teması */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 105, 180, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(255, 215,   0, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba( 52, 152, 219, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 60%, rgba( 46, 204, 113, 0.10) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    will-change: opacity;
}

@media (min-width: 769px) {
    body::before {
        animation: bgPulse 12s ease-in-out infinite;
    }
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
}

h1 { font-size: clamp(1.8rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 2rem); }

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === NEON TEXT EFFECT === */
.neon-text {
    color: var(--neon-pink);
    text-shadow: 
        0 0 10px var(--neon-pink),
        0 0 20px var(--neon-pink),
        0 0 30px var(--neon-pink),
        0 0 40px var(--neon-pink);
    animation: neonFlicker 3s infinite alternate;
}

@keyframes neonFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 
            0 0 10px var(--neon-pink),
            0 0 20px var(--neon-pink),
            0 0 30px var(--neon-pink),
            0 0 40px var(--neon-pink);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* === BUTTONS - GAMING STYLE === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 900;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 3px solid;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.95);
}

/* Button Primary - Neon Pink */
.btn-primary {
    background: var(--gradient-fire);
    border-color: var(--neon-pink);
    color: white;
    box-shadow: var(--glow-pink);
}

.btn-primary:hover {
    box-shadow: 
        var(--glow-pink),
        0 0 60px rgba(255, 0, 110, 0.6);
    transform: translateY(-3px);
}

/* Button Secondary - Neon Blue */
.btn-secondary {
    background: var(--gradient-cyber);
    border-color: var(--neon-blue);
    color: white;
    box-shadow: var(--glow-blue);
}

.btn-secondary:hover {
    box-shadow: 
        var(--glow-blue),
        0 0 60px rgba(0, 245, 255, 0.6);
    transform: translateY(-3px);
}

/* Button Outline - Neon Border */
.btn-outline {
    background: transparent;
    border-color: var(--neon-purple);
    color: var(--neon-purple);
    box-shadow: inset 0 0 20px rgba(181, 55, 242, 0.2);
}

.btn-outline:hover {
    background: var(--neon-purple);
    color: white;
    box-shadow: var(--glow-purple);
}

/* Button Success - Neon Green */
.btn-success {
    background: var(--gradient-toxic);
    border-color: var(--neon-green);
    color: var(--bg-dark);
    box-shadow: var(--glow-green);
    font-weight: 900;
}

.btn-success:hover {
    box-shadow: 
        var(--glow-green),
        0 0 60px rgba(57, 255, 20, 0.6);
    transform: translateY(-3px);
}

/* Button Sizes */
.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.btn-xl {
    padding: 22px 50px;
    font-size: 1.25rem;
}

.btn-block {
    width: 100%;
}

/* === HEADER - ARCADE STYLE === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    height: var(--header-height);
    background: rgba(7, 1, 15, 0.97);
    border-bottom: 3px solid var(--neon-pink);
    box-shadow: 
        0 0 20px rgba(255, 0, 110, 0.5),
        0 4px 30px rgba(0, 0, 0, 0.8);
}

@media (min-width: 769px) {
    .site-header {
        backdrop-filter: blur(20px);
    }
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    height: 100%;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

/* Logo - Neon Style */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.logo i {
    font-size: 2.5rem;
    color: var(--neon-yellow);
    animation: starSpin 4s linear infinite;
    filter: drop-shadow(0 0 10px var(--neon-yellow));
}

@keyframes starSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.logo span {
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.5); }
}

/* Search - Cyber Style */
.search-form {
    flex: 1;
    max-width: 600px;
    display: flex;
    background: var(--bg-card);
    border: 2px solid var(--neon-blue);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 245, 255, 0.2);
    transition: all 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--neon-pink);
    box-shadow: 
        inset 0 0 20px rgba(255, 0, 110, 0.3),
        var(--glow-pink);
}

.search-form input {
    flex: 1;
    padding: 14px 20px;
    background: none;
    border: none;
    outline: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.search-form input::placeholder {
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-form button {
    padding: 14px 28px;
    background: var(--gradient-fire);
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: var(--gradient-cyber);
    box-shadow: var(--glow-blue);
}

.mobile-quick-search {
    display: none;
}

/* Header Nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login,
.btn-register,
.btn-admin {
    padding: 10px 24px;
    font-size: 0.875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    border: 2px solid;
    transition: all 0.3s ease;
}

.btn-login {
    background: transparent;
    border-color: var(--neon-purple);
    color: var(--neon-purple);
}

.btn-login:hover {
    background: var(--neon-purple);
    color: white;
    box-shadow: var(--glow-purple);
}

.btn-register {
    background: var(--gradient-fire);
    border-color: var(--neon-pink);
    color: white;
    box-shadow: var(--glow-pink);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 
        var(--glow-pink),
        0 0 40px rgba(255, 0, 110, 0.6);
}

.btn-admin {
    background: var(--gradient-cyber);
    border-color: var(--neon-blue);
    color: white;
    box-shadow: var(--glow-blue);
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 
        var(--glow-blue),
        0 0 40px rgba(0, 245, 255, 0.6);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--neon-pink);
    border-radius: var(--radius-sm);
    color: var(--neon-pink);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--neon-pink);
    color: white;
    box-shadow: var(--glow-pink);
}

/* === LAYOUT === */
.page-wrapper {
    display: flex;
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
    position: relative;
    z-index: 1;
}

/* === SIDEBAR - GAMING STYLE === */
.sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    background: rgba(13, 5, 25, 0.97);
    border-right: 3px solid var(--neon-purple);
    position: sticky;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
    padding: var(--space-xl) 0;
    box-shadow: 
        inset -3px 0 20px rgba(181, 55, 242, 0.3),
        3px 0 30px rgba(0, 0, 0, 0.5);
}

@media (min-width: 769px) {
    .sidebar {
        backdrop-filter: blur(10px);
    }
}

.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--gradient-neon);
    border-radius: var(--radius-full);
}

.sidebar-title {
    padding: 0 var(--space-lg) var(--space-md);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--neon-blue);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-shadow: 0 0 10px var(--neon-blue);
}

.category-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px var(--space-lg);
    margin: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-gray);
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
}

.category-list li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-fire);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.category-list li a:hover,
.category-list li a.active {
    background: rgba(255, 0, 110, 0.1);
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    transform: translateX(8px);
    box-shadow: inset 0 0 20px rgba(255, 0, 110, 0.2);
}

.category-list li a.active::before {
    transform: scaleY(1);
}

.category-list li a i {
    width: 24px;
    text-align: center;
    font-size: 1.125rem;
}

.category-list li a .count {
    margin-left: auto;
    font-size: 0.75rem;
    background: var(--gradient-cyber);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    color: white;
    font-weight: 900;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

/* === MAIN CONTENT === */
.main-content {
    flex: 1;
    padding: var(--space-xl) var(--space-lg);
    min-width: 0;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 3px solid var(--neon-pink);
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 150px;
    height: 3px;
    background: var(--gradient-cyber);
    box-shadow: 0 0 20px var(--neon-blue);
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title i {
    color: var(--neon-pink);
    font-size: 1.75rem;
}

@media (min-width: 769px) {
    .section-title i {
        animation: iconBounce 2s ease-in-out infinite;
    }
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.section-link {
    font-size: 1rem;
    font-weight: 900;
    color: var(--neon-blue);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 20px;
    border: 2px solid var(--neon-blue);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.section-link:hover {
    background: var(--neon-blue);
    color: var(--bg-dark);
    box-shadow: var(--glow-blue);
    transform: translateX(5px);
}

.recent-clear-btn {
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.recent-clear-btn:hover {
    transform: none;
}

.recent-badge {
    background: var(--gradient-fire);
    box-shadow: var(--glow-pink);
}

.badge-featured {
    background: var(--gradient-cyber);
}

.badge-new {
    background: var(--neon-green);
    color: #07180d;
    border-color: #fff;
    box-shadow: 0 0 18px rgba(46, 204, 113, 0.55);
}


/* === HERO BANNER - ARCADE STYLE === */
.hero-banner {
    background: var(--gradient-neon);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-xl);
    margin-bottom: var(--space-xl);
    position: relative;
    overflow: hidden;
    border: 4px solid var(--neon-pink);
    box-shadow: 
        var(--glow-pink),
        inset 0 0 60px rgba(255, 255, 255, 0.1);
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { border-color: var(--neon-pink); }
    33% { border-color: var(--neon-blue); }
    66% { border-color: var(--neon-purple); }
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -30px) rotate(180deg); }
}

.hero-banner h1 {
    font-size: clamp(1.25rem, 3.5vw, 2.25rem);
    font-weight: 900;
    margin-bottom: var(--space-md);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        3px 3px 0 rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.hero-banner h1 span {
    color: var(--neon-yellow);
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 
            0 0 20px var(--neon-yellow),
            0 0 40px var(--neon-yellow);
    }
    50% {
        text-shadow: 
            0 0 40px var(--neon-yellow),
            0 0 60px var(--neon-yellow);
    }
}

.hero-banner p {
    color: white;
    font-size: 0.95rem;
    max-width: 700px;
    margin-bottom: var(--space-md);
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-stat {
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 3px solid white;
    min-width: 100px;
    transition: all 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.hero-stat .num {
    font-size: 1.75rem;
    font-weight: 900;
    color: white;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.4);
    line-height: 1;
    display: block;
}

.hero-stat .lbl {
    font-size: 0.75rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
    margin-top: var(--space-sm);
}

/* === GAME GRID === */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.games-grid.large {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* === GAME CARD - ARCADE STYLE === */
.game-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 3px solid var(--neon-purple);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 
        inset 0 0 20px rgba(181, 55, 242, 0.2),
        0 4px 20px rgba(0, 0, 0, 0.5);
    contain: layout style;
}

.game-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-neon);
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: transparent;
    box-shadow: 
        var(--glow-pink),
        0 0 60px rgba(255, 0, 110, 0.4);
}

.game-card-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
    background: var(--bg-darker);
}

.game-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.9);
    will-change: transform;
}

.game-card:hover .game-card-thumb img {
    transform: scale(1.2) rotate(3deg);
    filter: brightness(1.1);
}

.game-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 2, 33, 0.95) 0%, transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-card-overlay {
    opacity: 1;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-fire);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transform: scale(0.5);
    transition: all 0.3s ease;
    box-shadow: var(--glow-pink);
    border: 4px solid white;
}

.game-card:hover .play-btn {
    transform: scale(1);
}

.game-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gradient-cyber);
    color: white;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--glow-blue);
    border: 2px solid white;
    z-index: 2;
}

@keyframes badgeBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.game-card-info {
    padding: var(--space-sm) var(--space-md);
    background: rgba(10, 3, 20, 0.9);
}

.game-card-title {
    font-size: 0.875rem;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: var(--space-sm);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-card:hover .game-card-title {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

.game-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 700;
}

.game-card-meta .plays {
    display: flex;
    align-items: center;
    gap: 6px;
}

.game-card-meta .plays i {
    color: var(--neon-blue);
}

.game-card-cat {
    background: var(--gradient-toxic);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--bg-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === FORMS - CYBER STYLE === */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
    font-weight: 900;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 600;
    color: white;
    background: var(--bg-card);
    border: 3px solid var(--neon-purple);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    box-shadow: inset 0 0 20px rgba(181, 55, 242, 0.2);
}

.form-control::placeholder {
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-pink);
    box-shadow: 
        inset 0 0 20px rgba(255, 0, 110, 0.3),
        var(--glow-pink);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* === ALERTS - GAMING STYLE === */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 3px solid;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.alert i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-success {
    background: rgba(57, 255, 20, 0.1);
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: inset 0 0 20px rgba(57, 255, 20, 0.2);
}

.alert-error {
    background: rgba(255, 0, 110, 0.1);
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: inset 0 0 20px rgba(255, 0, 110, 0.2);
}

.alert-warning {
    background: rgba(255, 255, 0, 0.1);
    border-color: var(--neon-yellow);
    color: var(--neon-yellow);
    box-shadow: inset 0 0 20px rgba(255, 255, 0, 0.2);
}

.alert-info {
    background: rgba(0, 245, 255, 0.1);
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: inset 0 0 20px rgba(0, 245, 255, 0.2);
}

/* === BADGES - NEON STYLE === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    border: 2px solid;
}

.badge-primary {
    background: var(--gradient-fire);
    border-color: var(--neon-pink);
    color: white;
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.5);
}

.badge-success {
    background: var(--gradient-toxic);
    border-color: var(--neon-green);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

.badge-danger {
    background: var(--gradient-fire);
    border-color: var(--neon-orange);
    color: white;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.5);
}

.badge-info {
    background: var(--gradient-cyber);
    border-color: var(--neon-blue);
    color: white;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

/* === CARDS - GAMING STYLE === */
.card {
    background: var(--bg-card);
    border: 3px solid var(--neon-purple);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 20px rgba(181, 55, 242, 0.2);
}

.card:hover {
    border-color: var(--neon-pink);
    transform: translateY(-5px);
    box-shadow: 
        inset 0 0 20px rgba(255, 0, 110, 0.3),
        var(--glow-pink);
}

.card-header {
    padding: var(--space-lg);
    border-bottom: 3px solid var(--neon-purple);
    background: rgba(13, 2, 33, 0.5);
}

.card-body {
    padding: var(--space-lg);
}

.card-footer {
    padding: var(--space-lg);
    border-top: 3px solid var(--neon-purple);
    background: rgba(13, 2, 33, 0.5);
}

/* === AUTH PAGES - CYBER STYLE === */
.auth-page {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) var(--space-lg);
    position: relative;
}

.auth-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    width: 100%;
    max-width: 500px;
    border: 4px solid var(--neon-pink);
    box-shadow: 
        var(--glow-pink),
        inset 0 0 40px rgba(255, 0, 110, 0.2);
    position: relative;
    z-index: 1;
}

.auth-card h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 12px;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
}

.auth-card p {
    color: var(--text-gray);
    margin-bottom: var(--space-xl);
    font-size: 1rem;
    text-align: center;
    font-weight: 600;
}

.auth-link {
    text-align: center;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 3px solid var(--neon-purple);
    font-size: 0.9375rem;
    color: var(--text-gray);
    font-weight: 700;
}

.auth-link a {
    color: var(--neon-blue);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-link a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
}

/* === NO RESULTS - ARCADE STYLE === */
.no-results {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 4px dashed var(--neon-purple);
    box-shadow: inset 0 0 40px rgba(181, 55, 242, 0.2);
}

.no-results i {
    font-size: 6rem;
    color: var(--neon-purple);
    margin-bottom: var(--space-lg);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.no-results h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: var(--space-sm);
    color: var(--neon-pink);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.no-results p {
    color: var(--text-gray);
    margin-bottom: var(--space-lg);
    font-weight: 600;
}

/* === FOOTER - GAMING STYLE === */
.site-footer {
    background: rgba(13, 2, 33, 0.95);
    border-top: 4px solid var(--neon-pink);
    padding: var(--space-3xl) var(--space-lg) 0;
    margin-top: var(--space-3xl);
    position: relative;
    box-shadow: 
        0 -4px 30px rgba(255, 0, 110, 0.3),
        inset 0 4px 20px rgba(0, 0, 0, 0.5);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.footer-col h4 {
    font-size: 1.125rem;
    font-weight: 900;
    margin-bottom: var(--space-md);
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-gray);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
    transform: translateX(10px);
    display: inline-block;
}

.footer-bottom {
    border-top: 3px solid var(--neon-purple);
    padding: var(--space-lg) 0;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9375rem;
    font-weight: 700;
}

.footer-bottom a {
    color: var(--neon-blue);
    font-weight: 900;
}

.footer-bottom a:hover {
    color: var(--neon-pink);
}


/* === RESPONSIVE - MOBILE GAMING === */
@media (max-width: 1200px) {
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
        --sidebar-width: 0px;
    }
    
    .sidebar {
        position: fixed;
        left: -300px;
        top: var(--header-height);
        width: 280px;
        z-index: var(--z-modal);
        transition: left 0.3s ease;
        height: calc(100vh - var(--header-height));
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.8);
    }
    
    .sidebar.open {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .header-nav .btn-register,
    .header-nav a.btn-primary {
        display: none;
    }

    .header-nav .btn-login {
        padding: 8px 14px;
        font-size: 0.75rem;
    }
    
    .search-form {
        max-width: 350px;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: var(--space-md);
    }
    
    .hero-banner {
        padding: var(--space-xl) var(--space-lg);
    }
    
    .hero-stats {
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .site-header .search-form {
        display: none;
    }

    .mobile-quick-search {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        z-index: calc(var(--z-fixed) - 1);
        display: flex;
        gap: 8px;
        padding: 8px 12px;
        background: rgba(7, 1, 15, 0.97);
        border-bottom: 2px solid var(--neon-blue);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    }

    .mobile-quick-search input {
        flex: 1;
        min-width: 0;
        height: 38px;
        padding: 0 12px;
        color: white;
        background: var(--bg-card);
        border: 2px solid var(--neon-blue);
        border-radius: var(--radius-sm);
        outline: none;
        font-size: 0.88rem;
        font-weight: 800;
    }

    .mobile-quick-search button {
        width: 44px;
        height: 38px;
        color: white;
        background: var(--gradient-fire);
        border: 0;
        border-radius: var(--radius-sm);
        font-size: 1rem;
    }

    .page-wrapper {
        margin-top: calc(var(--header-height) + 54px);
    }

    .sidebar {
        top: calc(var(--header-height) + 54px);
        height: calc(100vh - var(--header-height) - 54px);
    }

    .main-content {
        padding: var(--space-lg) var(--space-md);
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-stat {
        width: 100%;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .auth-card {
        padding: var(--space-xl) var(--space-lg);
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 60px;
    }
    
    .header-inner {
        padding: 0 var(--space-sm);
        gap: 6px;
    }
    
    .logo span {
        display: none;
    }
    
    .logo i {
        font-size: 2rem;
    }

    .header-nav {
        gap: 6px;
    }

    .header-nav .btn,
    .header-nav .btn-login,
    .header-nav .btn-register {
        padding: 7px 10px;
        font-size: 0.7rem;
        letter-spacing: 0;
    }
    
    .search-form {
        max-width: 140px;
    }
    
    .search-form input {
        font-size: 0.8rem;
        padding: 10px 10px;
    }
    
    .search-form button {
        padding: 10px 14px;
    }
    
    .hero-banner {
        padding: var(--space-lg) var(--space-md);
    }
    
    .hero-banner h1 {
        font-size: 1.5rem;
    }
    
    .hero-banner p {
        font-size: 1rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
    
    .btn-sm {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

/* === LOADING SPINNER - ARCADE STYLE === */
.loading-spinner {
    display: inline-block;
    width: 60px;
    height: 60px;
    border: 5px solid var(--bg-card);
    border-top-color: var(--neon-pink);
    border-right-color: var(--neon-blue);
    border-bottom-color: var(--neon-purple);
    border-left-color: var(--neon-green);
    border-radius: 50%;
    animation: spinnerRotate 1s linear infinite;
    box-shadow: 
        0 0 20px rgba(255, 0, 110, 0.5),
        inset 0 0 20px rgba(0, 245, 255, 0.3);
}

@keyframes spinnerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl);
}

/* === PAGINATION - ARCADE STYLE === */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-md);
    border-radius: var(--radius-sm);
    font-weight: 900;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 3px solid var(--neon-purple);
    background: var(--bg-card);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pagination a:hover {
    border-color: var(--neon-pink);
    background: rgba(255, 0, 110, 0.2);
    color: var(--neon-pink);
    transform: translateY(-3px);
    box-shadow: var(--glow-pink);
}

.pagination span.active {
    background: var(--gradient-fire);
    border-color: var(--neon-pink);
    color: white;
    box-shadow: var(--glow-pink);
}

.pagination span.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* === STATS GRID - GAMING STYLE === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 3px solid var(--neon-purple);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(181, 55, 242, 0.2);
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-neon);
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 
        var(--glow-pink),
        0 0 40px rgba(255, 0, 110, 0.4);
}

.stat-card .icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    background: var(--gradient-fire);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    color: white;
    box-shadow: var(--glow-pink);
    border: 3px solid white;
}

.stat-card .info {
    flex: 1;
}

.stat-card .num {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.stat-card .lbl {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 700;
    margin-top: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === FEATURED GRID - ARCADE STYLE === */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.featured-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 3px solid var(--neon-blue);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 245, 255, 0.2);
}

.featured-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-cyber);
    border-radius: var(--radius-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.featured-card:hover::before {
    opacity: 1;
}

.featured-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
    box-shadow: 
        var(--glow-blue),
        0 0 60px rgba(0, 245, 255, 0.4);
}

.featured-card-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-darker);
}

.featured-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-card-thumb img {
    transform: scale(1.15);
}

.featured-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 2, 33, 0.95) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-card:hover .featured-card-overlay {
    opacity: 1;
}

.featured-play-btn {
    background: var(--gradient-fire);
    color: white;
    padding: 14px 36px;
    border-radius: var(--radius-full);
    font-weight: 900;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: var(--glow-pink);
    transition: all 0.3s ease;
    border: 3px solid white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.featured-play-btn:hover {
    transform: scale(1.1);
}

.featured-card-info {
    padding: var(--space-sm) var(--space-md);
    background: rgba(10, 3, 20, 0.9);
}

.featured-card-title {
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: var(--space-sm);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-card:hover .featured-card-title {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.featured-card-desc {
    font-size: 0.8rem;
    color: var(--text-gray);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    line-height: 1.6;
    font-weight: 600;
}

/* === SECTION === */
.section {
    margin-bottom: var(--space-3xl);
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* === ACCESSIBILITY === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 3px solid var(--neon-pink);
    outline-offset: 3px;
}

/* === PRINT === */
@media print {
    .site-header,
    .sidebar,
    .site-footer,
    .mobile-menu-btn,
    .btn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* === SCROLLBAR - GAMING STYLE === */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-neon);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-fire);
}

/* === SELECTION === */
::selection {
    background: var(--neon-pink);
    color: white;
}

::-moz-selection {
    background: var(--neon-pink);
    color: white;
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-fire);
    border: 3px solid white;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: var(--z-sticky);
    box-shadow: var(--glow-pink);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 
        var(--glow-pink),
        0 0 60px rgba(255, 0, 110, 0.6);
}

/* === GAME OVER SCREEN (Easter Egg) === */
@keyframes gameOver {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* === PIXEL PERFECT BORDERS === */
.pixel-border {
    border-image: repeating-linear-gradient(
        45deg,
        var(--neon-pink) 0,
        var(--neon-pink) 10px,
        var(--neon-blue) 10px,
        var(--neon-blue) 20px
    ) 1;
}

/* === GLITCH EFFECT (Optional) === */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.glitch:hover {
    animation: glitch 0.3s infinite;
}

/* === NEON BORDER ANIMATION === */
@keyframes neonBorder {
    0%, 100% {
        border-color: var(--neon-pink);
        box-shadow: 0 0 20px var(--neon-pink);
    }
    33% {
        border-color: var(--neon-blue);
        box-shadow: 0 0 20px var(--neon-blue);
    }
    66% {
        border-color: var(--neon-purple);
        box-shadow: 0 0 20px var(--neon-purple);
    }
}

#registerBtn { display: none; }
@media (min-width: 1025px) {
    #registerBtn { display: inline-flex !important; }
}

/* === FOOTER LINKS === */
.footer-links {
    margin-top: var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
}

.footer-links span {
    color: var(--text-gray);
}

/* === AUTH FOOTER === */
.auth-footer {
    text-align: center;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 3px solid var(--neon-purple);
}

.auth-footer .btn {
    width: 100%;
}

/* === SOCIAL LINKS === */
.social-links {
    margin-top: var(--space-md);
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--neon-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--neon-pink);
    box-shadow: var(--glow-pink);
    background: var(--gradient-neon);
}

/* === AUTH HEADER === */
.auth-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.auth-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    box-shadow: var(--glow-purple);
    animation: starSpin 4s linear infinite;
}

.auth-icon i {
    font-size: 3rem;
    color: white;
}

.auth-header h2 {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.auth-header p {
    color: var(--text-gray);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 700;
}

/* === AUTH FORM === */
.auth-form {
    width: 100%;
}

/* 🎮 ADDITIONAL GAMING STYLES COMPLETE! 🎮 */

/* ========================================
   🔴 CANLI / LIVE FEATURES
   ======================================== */

/* Canlı nokta animasyonu */
.live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #39ff14;
    border-radius: 50%;
    box-shadow: 0 0 8px #39ff14, 0 0 16px #39ff14;
    animation: livePulse 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.6; }
}

/* Hero live badge */
.hero-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(57, 255, 20, 0.15);
    border: 2px solid var(--neon-green);
    border-radius: var(--radius-full);
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-lg);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
    position: relative;
    z-index: 1;
}

/* Canlı Ticker */
.live-ticker {
    background: rgba(13, 2, 33, 0.95);
    border-bottom: 2px solid var(--neon-green);
    border-top: 2px solid var(--neon-green);
    padding: 10px 0;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
    margin-bottom: var(--space-lg);
}

.live-ticker-inner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    max-width: 100%;
    overflow: hidden;
}

.live-dot-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 var(--space-lg);
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    flex-shrink: 0;
    border-right: 2px solid var(--neon-green);
}

.ticker-scroll {
    display: flex;
    gap: 48px;
    animation: tickerMove 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ticker-item i {
    color: var(--neon-pink);
}

@keyframes tickerMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Oyun kartı - canlı badge */
.game-card-live {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(57, 255, 20, 0.2);
    border: 2px solid var(--neon-green);
    border-radius: var(--radius-full);
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--neon-green);
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

/* ========================================
   📝 SEO İÇERİK BLOĞU
   ======================================== */

.seo-content-block {
    background: var(--bg-card);
    border: 3px solid var(--neon-purple);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    margin: var(--space-3xl) 0;
    box-shadow: inset 0 0 30px rgba(181, 55, 242, 0.1);
}

.seo-content-block h2 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: var(--space-md);
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.seo-content-block h2 i {
    color: var(--neon-pink);
    -webkit-text-fill-color: var(--neon-pink);
}

.seo-content-block > p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    font-size: 1rem;
}

.seo-content-block a {
    color: var(--neon-blue);
    text-decoration: underline;
    font-weight: 700;
}

.seo-content-block a:hover {
    color: var(--neon-pink);
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.seo-item {
    background: rgba(13, 2, 33, 0.5);
    border: 2px solid rgba(181, 55, 242, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: border-color 0.3s;
}

.seo-item:hover {
    border-color: var(--neon-purple);
}

.seo-item h3 {
    font-size: 1rem;
    font-weight: 900;
    color: var(--neon-blue);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.seo-item h3 i {
    color: var(--neon-pink);
}

.seo-item p {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Kategori SEO bloğu */
.category-seo-block {
    background: var(--bg-card);
    border: 2px solid rgba(181, 55, 242, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-2xl);
}

.category-seo-block h2 {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--neon-blue);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.category-seo-block p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.9375rem;
}

.category-seo-block a {
    color: var(--neon-pink);
    font-weight: 700;
}

/* ========================================
   📱 MOBİL İYİLEŞTİRMELER
   ======================================== */

/* Touch-friendly oyun kartları */
@media (hover: none) and (pointer: coarse) {
    .game-card-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(13, 2, 33, 0.85) 0%, transparent 50%);
    }
    .play-btn {
        transform: scale(0.8);
        animation: none;
    }
    .game-card:active {
        transform: scale(0.97);
    }
    .game-card:hover {
        transform: none;
    }
}

/* Mobil ticker gizle */
@media (max-width: 480px) {
    .ticker-scroll {
        animation-duration: 20s;
    }
    .seo-grid {
        grid-template-columns: 1fr;
    }
    .hero-live-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
    .seo-content-block {
        padding: var(--space-lg);
    }
}

/* Oyun sayfası - canlı oyuncu */
.game-live-players {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(57, 255, 20, 0.1);
    border: 2px solid var(--neon-green);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: auto;
}

/* Kategori header iyileştirme */
.category-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 3px solid var(--neon-blue);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 30px rgba(0, 245, 255, 0.1), var(--glow-blue);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-cyber);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--glow-blue);
    border: 3px solid white;
}

.category-header h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Oyun sayfası - canlı gösterge title bar'da */
.category-sort-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: -12px 0 var(--space-xl);
    padding: 12px;
    background: rgba(15, 32, 64, 0.72);
    border: 2px solid rgba(0, 170, 255, 0.35);
    border-radius: var(--radius-md);
}

.category-sort-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-blue);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 4px;
}

.category-sort-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.04);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.category-sort-link:hover,
.category-sort-link.active {
    color: var(--bg-dark);
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: var(--glow-blue);
}

.game-title-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 3px solid var(--neon-purple);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 20px rgba(181, 55, 242, 0.15);
}

.game-stats {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-sm);
}

.game-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.1);
}

/* AdSense mobil uyum */
@media (max-width: 768px) {
    .ad-container {
        margin: 16px 0;
        padding: 10px;
    }
    .category-header {
        flex-direction: column;
        text-align: center;
    }
    .category-sort-bar {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
        margin-top: -8px;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }
    .category-sort-label {
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }
    .category-sort-link {
        width: 100%;
        min-width: 0;
        flex: none;
    }
    .game-title-bar {
        flex-direction: column;
    }
    .live-ticker {
        display: none;
    }
}

@media (max-width: 480px) {
    .category-sort-bar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }
    .category-sort-label {
        grid-column: 1 / -1;
    }
    .category-sort-link {
        width: 100%;
        min-width: 0;
        padding: 9px 10px;
        font-size: 0.78rem;
        letter-spacing: 0.2px;
    }
}

/* ========================================
   🎮 OYUN SAYFASI - GAME PAGE
   ======================================== */

.game-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Oyun açıklaması */
.game-description {
    background: var(--bg-card);
    border: 3px solid var(--neon-purple);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
    box-shadow: inset 0 0 20px rgba(181, 55, 242, 0.1);
}

.game-description h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--neon-blue);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.game-description p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1rem;
}

.game-seo-content h4 {
    font-size: 1rem;
    font-weight: 900;
    color: var(--neon-pink);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.game-seo-content ul li {
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 2;
}

/* Oyun kontrolleri */
.game-controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    padding: var(--space-md) 0;
    margin-top: var(--space-sm);
}

/* Favori butonu aktif durumu */
.fav-btn.active,
.fav-btn[data-active="true"] {
    border-color: var(--neon-pink) !important;
    color: var(--neon-pink) !important;
    box-shadow: var(--glow-pink) !important;
}

.fav-btn.active i,
.fav-btn[data-active="true"] i {
    color: var(--neon-pink);
}

/* Paylaşım bölümü */
.game-share-section {
    background: var(--bg-card);
    border: 3px solid var(--neon-blue);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
    box-shadow: inset 0 0 20px rgba(0, 245, 255, 0.1);
}

.game-share-section h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--neon-blue);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.share-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Puanlama bölümü */
.rating-section {
    background: var(--bg-card);
    border: 3px solid var(--neon-yellow);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
    box-shadow: inset 0 0 20px rgba(255, 255, 0, 0.05);
}

.rating-header h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--neon-yellow);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px var(--neon-yellow);
}

.rating-overview {
    display: flex;
    gap: var(--space-xl);
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.rating-score {
    text-align: center;
    min-width: 120px;
}

.rating-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--neon-yellow);
    text-shadow: 0 0 20px var(--neon-yellow);
    line-height: 1;
}

.rating-distribution {
    flex: 1;
    min-width: 200px;
}

.rate-game {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 2px solid rgba(255, 255, 0, 0.2);
}

.rate-game h4 {
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
}

.rate-stars {
    display: flex;
    gap: 8px;
}

.rate-star {
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
}

.rate-star:hover,
.rate-star.active {
    color: var(--neon-yellow);
    text-shadow: 0 0 15px var(--neon-yellow);
    transform: scale(1.2);
}

/* Yorumlar bölümü */
.comments-section {
    background: var(--bg-card);
    border: 3px solid var(--neon-purple);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
    box-shadow: inset 0 0 20px rgba(181, 55, 242, 0.1);
}

.comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.comments-header h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px var(--neon-purple);
}

#commentCount {
    background: var(--gradient-cyber);
    color: white;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 900;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.4);
}

.comment-form {
    margin-bottom: var(--space-xl);
}

.comment-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-sm);
}

.comment-form-footer small {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.comment-item {
    background: rgba(13, 2, 33, 0.5);
    border: 2px solid rgba(181, 55, 242, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: border-color 0.3s;
}

.comment-item:hover {
    border-color: var(--neon-purple);
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.comment-author {
    font-weight: 900;
    color: var(--neon-blue);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comment-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.comment-text {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Tema toggle butonu */
.theme-toggle-btn {
    position: fixed;
    bottom: 90px;
    right: var(--space-lg);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-candy);
    border: 3px solid #fff;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: var(--z-sticky);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255,105,180,0.6), 0 0 0 4px rgba(255,215,0,0.3);
    animation: themeBtnPulse 3s ease-in-out infinite;
}

@keyframes themeBtnPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(255,105,180,0.6), 0 0 0 4px rgba(255,215,0,0.3); }
    50%       { box-shadow: 0 4px 30px rgba(0,170,255,0.7),   0 0 0 6px rgba(255,215,0,0.5); }
}

.theme-toggle-btn:hover {
    transform: scale(1.15) rotate(20deg);
    box-shadow: 0 6px 30px rgba(255,105,180,0.8), 0 0 0 6px rgba(255,215,0,0.5);
}

/* Light theme */
body.light-theme {
    --bg-dark:    #fdf8e8;
    --bg-darker:  #f0edd0;
    --bg-card:    #fffef0;
    --bg-hover:   #d4f0e8;
    --text-white: #3d2b1f;
    --text-gray:  #7a5c3a;
    --text-muted: #a08060;
    --text-dark:  #2a1a0e;
    background: #fdf8e8;
    color: #0d3b35;
}

body.light-theme .site-header {
    background: rgba(253, 245, 200, 0.97);
    border-bottom-color: var(--neon-pink);
    box-shadow: 0 2px 20px rgba(255, 77, 166, 0.25);
}

body.light-theme .sidebar {
    background: rgba(200, 240, 230, 0.97);
    border-right-color: var(--neon-purple);
}

/* Oyun frame wrapper responsive */
.game-frame-wrapper iframe {
    max-width: 100%;
    display: block;
}

@media (max-width: 768px) {
    .game-controls {
        justify-content: center;
    }
    .game-controls .btn {
        flex: 1 1 220px;
        justify-content: center;
        min-height: 44px;
        text-align: center;
    }
    .recent-games-section .section-header {
        gap: 12px;
    }
    .recent-clear-btn {
        font-size: 0.85rem;
        padding: 7px 14px;
    }
    .share-buttons {
        justify-content: center;
    }
    .rating-overview {
        flex-direction: column;
        align-items: center;
    }
    .theme-toggle-btn {
        bottom: 80px;
        right: var(--space-md);
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .game-description,
    .game-share-section,
    .rating-section,
    .comments-section {
        padding: var(--space-lg);
    }
}

/* ========================================
   🔍 ARAMA SAYFASI
   ======================================== */

.search-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 3px solid var(--neon-blue);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 30px rgba(0,245,255,.08), var(--glow-blue);
}

.search-header h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.search-header p { color: var(--text-gray); }

.search-filters {
    background: var(--bg-card);
    border: 3px solid var(--neon-purple);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    box-shadow: inset 0 0 20px rgba(181,55,242,.08);
}

.filter-form-advanced .filter-row {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-item {
    flex: 1;
    min-width: 160px;
}

.filter-item label {
    display: block;
    margin-bottom: 8px;
    font-size: .8rem;
    font-weight: 900;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   👤 PROFİL SAYFASI
   ======================================== */

.profile-page { max-width: 1200px; margin: 0 auto; }

.profile-header {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    border: 3px solid var(--neon-pink);
    box-shadow: var(--glow-pink);
}

.profile-avatar { font-size: 5rem; color: white; }

.profile-info h1 { margin: 0 0 8px; color: white; font-size: 2rem; }
.profile-date { color: rgba(255,255,255,.85); margin: 8px 0 0; font-size: .9rem; }

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.profile-stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 3px solid var(--neon-purple);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    transition: all .3s;
}

.profile-stat-card:hover {
    border-color: var(--neon-pink);
    transform: translateY(-3px);
    box-shadow: var(--glow-pink);
}

.stat-icon {
    width: 52px; height: 52px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #fff; flex-shrink: 0;
}

.stat-value { font-size: 1.8rem; font-weight: 900; color: #fff; line-height: 1; }
.stat-label { font-size: .75rem; color: var(--text-gray); text-transform: uppercase; letter-spacing: 1px; margin-top: 3px; }

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.profile-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 3px solid var(--neon-purple);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: inset 0 0 20px rgba(181,55,242,.08);
}

.profile-card h3 {
    margin: 0 0 var(--space-lg);
    font-size: 1.1rem;
    color: var(--neon-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.activity-list { display: flex; flex-direction: column; gap: var(--space-md); }

.activity-item {
    padding: var(--space-md);
    background: rgba(181,55,242,.06);
    border-radius: var(--radius-md);
    border: 2px solid rgba(181,55,242,.2);
    transition: border-color .2s;
}

.activity-item:hover { border-color: var(--neon-purple); }

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.activity-header a { color: var(--neon-blue); font-weight: 700; font-size: .875rem; }
.activity-header a:hover { color: var(--neon-pink); }
.activity-date { color: var(--text-muted); font-size: .75rem; }
.activity-content { color: var(--text-gray); line-height: 1.6; font-size: .875rem; }
.no-data { text-align: center; color: var(--text-muted); padding: var(--space-xl); }

@media (max-width: 768px) {
    .profile-content { grid-template-columns: 1fr; }
    .profile-header { flex-direction: column; text-align: center; }
    .filter-form-advanced .filter-row { flex-direction: column; }
    .filter-item { min-width: 100%; }
}




/* Light tema SEO blok override */
body.light-theme .seo-content-block {
    background: #fffef5;
    border-color: #e0a020;
    box-shadow: inset 0 0 30px rgba(200, 150, 0, 0.08);
}

body.light-theme .seo-item {
    background: #fffbe8;
    border: 2px solid #c8d8b0;
}

body.light-theme .seo-item:hover {
    border-color: #20b090;
    background: #f0fdf8;
}

body.light-theme .seo-item h3 {
    color: #0a6050;
}

body.light-theme .seo-item p {
    color: #3a3020;
}

body.light-theme .seo-content-block > p {
    color: #3a3020;
}

body.light-theme .seo-content-block a {
    color: #0a7060;
}

body.light-theme .seo-content-block a:hover {
    color: #d08000;
}

body.light-theme .category-seo-block {
    background: #fffbe8;
    border-color: #c8d8b0;
}

body.light-theme .category-seo-block h2 {
    color: #0a5040;
    -webkit-text-fill-color: #0a5040;
}

body.light-theme .category-seo-block p {
    color: #3a3020;
}

/* === ADSENSE CONTAINER === */
.ad-container {
    margin: 32px 0;
    padding: 16px;
    background: var(--bg-card);
    border: 3px solid var(--neon-purple);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    box-shadow: 0 0 20px rgba(181, 55, 242, 0.3);
    animation: adGlow 3s ease-in-out infinite;
}

.ad-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-neon);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(181, 55, 242, 0.4);
}

.ad-horizontal { min-height: 100px; }
.ad-in-feed { margin: 24px 0; grid-column: 1 / -1; }
.ad-sidebar { position: sticky; top: 100px; min-height: 250px; }
.ad-in-article { margin: 24px auto; max-width: 800px; }
.ad-multiplex { margin-top: 48px; border-color: var(--neon-blue); box-shadow: 0 0 20px rgba(0, 245, 255, 0.3); }

@keyframes adGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(181, 55, 242, 0.3); }
    50% { box-shadow: 0 0 30px rgba(181, 55, 242, 0.6); }
}

@media (max-width: 768px) {
    .ad-container { margin: 24px 0; padding: 12px; }
    .ad-sidebar { position: relative; top: 0; }
}

/* === FONT DISPLAY SWAP === */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-display: swap;
}
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-display: swap;
}

/* Mobilde agir animasyonlari kapat */
@media (max-width: 768px) {
    .logo i { animation: none !important; }
    .logo span { animation: none !important; }
    .hero-banner { animation: none !important; }
    .hero-banner::before { animation: none !important; }
    .no-results i { animation: none !important; }
    .theme-toggle-btn { animation: none !important; }
    .ad-container { animation: none !important; }
    .section-title i { animation: none !important; }
    .game-card-badge { animation: none !important; }
    .live-dot { animation-duration: 2s; }
    .game-card-thumb img { will-change: auto; }
}
