/* ============================================
   OYUNLAR.CSS - Games Showcase
   Premium Dark Theme
   © 2026 Ömer Berat Keser
   ============================================ */

:root {
    --primary-500: #0ea5e9;
    --accent-cyan: #00f5ff;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    --accent-green: #10b981;
    --dark-300: #cbd5e1;
    --dark-400: #94a3b8;
    --dark-500: #64748b;
    --dark-800: #1e293b;
    --dark-900: #0f172a;
    --dark-950: #0a0f1c;
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #a855f7 100%);
    --gradient-card: linear-gradient(145deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    --font-main: 'Inter', sans-serif;
    --font-display: 'Orbitron', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--dark-950);
    color: var(--dark-300);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

/* Animated Background */
.animated-background {
    position: fixed;
    inset: 0;
    z-index: -10;
    background: linear-gradient(180deg, #0a0f1c 0%, #172033 50%, #0f172a 100%);
}

.animated-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 40%);
    animation: bgFloat 30s ease-in-out infinite;
}

@keyframes bgFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-1%, 1%);
    }
}

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: -9;
    pointer-events: none;
    background-image: linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.particles-container {
    position: fixed;
    inset: 0;
    z-index: -8;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: particleFloat 15s infinite ease-in-out;
}

.particle:nth-child(even) {
    background: var(--accent-purple);
    box-shadow: 0 0 10px var(--accent-purple);
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }

    50% {
        transform: translate(-20px, 30px);
        opacity: 0.8;
    }
}

/* Navbar */
.navbar-custom {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    z-index: 1050;
    min-width: 600px;
    max-width: 95vw;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 60px rgba(14, 165, 233, 0.1);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.navbar-custom.scrolled {
    top: 0.75rem;
    background: rgba(15, 23, 42, 0.95);
    transform: translateX(-50%) scale(0.98);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.navbar-brand:hover .brand-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.6);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--dark-400);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0.3rem;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    color: var(--dark-300);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 25px;
    transition: all var(--transition);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.nav-icon {
    font-size: 1rem;
    transition: all var(--transition);
}

.nav-link:hover .nav-icon {
    transform: scale(1.2) rotate(10deg);
}

.navbar-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--dark-300);
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition);
}

.social-icon:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

/* Navbar Right Section - Symmetric Layout */
.navbar-right-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Auth Button - Premium Symmetric Design */
.navbar-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 22px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: max-content;
}

.navbar-auth-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar-auth-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.7);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
    color: #fff;
    text-decoration: none;
}

.navbar-auth-btn:hover::before {
    opacity: 1;
}

.navbar-auth-btn i {
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.navbar-auth-btn span {
    position: relative;
    z-index: 1;
}

/* Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    margin-bottom: 2rem;
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.badge-icon {
    font-size: 1.3rem;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
}

.title-line {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.title-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--dark-300);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark-400);
    font-size: 0.8rem;
    letter-spacing: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--dark-400);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 3px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 2s ease-in-out infinite;
}

@keyframes wheelScroll {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.3;
    }
}

/* Games Section */
.games-section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--accent-orange);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-badge i {
    animation: fireFlicker 1.5s ease-in-out infinite;
}

@keyframes fireFlicker {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, white, var(--dark-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-400);
    max-width: 500px;
    margin: 0 auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Game Card */
.game-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card .card-content {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all var(--transition);
}

.game-card.featured .card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--accent-cyan), var(--accent-purple), var(--accent-pink), var(--accent-orange), var(--accent-cyan), transparent);
    animation: cardGlowRotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.5s;
}

.game-card.featured:hover .card-glow {
    opacity: 0.5;
}

@keyframes cardGlowRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.game-card.featured .card-border {
    position: absolute;
    inset: 2px;
    background: var(--dark-900);
    border-radius: 22px;
    z-index: 1;
}

.game-card.featured .card-content {
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--dark-800), var(--dark-900));
    font-size: 4rem;
    color: var(--dark-500);
    transition: all 0.5s;
}

.game-card:hover .image-placeholder {
    color: var(--accent-cyan);
    transform: scale(1.1);
}

.game-card.featured .image-placeholder {
    color: var(--accent-cyan);
    text-shadow: 0 0 30px var(--accent-cyan);
}

.card-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.featured-badge {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink));
    color: white;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.playable-badge {
    background: linear-gradient(135deg, var(--accent-green), #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.version-badge {
    background: linear-gradient(135deg, var(--accent-purple), #7c3aed);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

/* Card Title Wrapper - Professional Styling */
.card-title-wrapper {
    margin-bottom: 0.75rem;
}

.title-prefix {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent-orange);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 15px var(--accent-orange);
}

.card-title-wrapper .card-title {
    font-size: 1.6rem;
    margin-bottom: 0;
    background: linear-gradient(135deg, white, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

/* Card Meta - Platform, Rating, Players */
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(14, 165, 233, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--dark-300);
}

.meta-item i {
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

.meta-item span {
    font-weight: 600;
}

.card-info {
    padding: 1.5rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
    transition: all var(--transition);
}

.game-card:hover .card-title {
    color: var(--accent-cyan);
}

.card-description {
    font-size: 0.9rem;
    color: var(--dark-400);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.tag {
    padding: 0.3rem 0.75rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--accent-cyan);
    font-weight: 500;
    transition: all var(--transition);
}

.game-card:hover .tag {
    background: rgba(14, 165, 233, 0.2);
    border-color: var(--accent-cyan);
}

.play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    overflow: hidden;
    transition: all var(--transition);
}

.button-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    transition: all var(--transition);
}

.button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.play-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.5);
}

.play-button:hover .button-bg {
    transform: scale(1.1);
}

.play-button i {
    transition: all var(--transition);
}

.play-button:hover i {
    transform: translateX(3px) scale(1.2);
}

/* Coming Soon */
.game-card.coming-soon {
    cursor: default;
}

.coming-soon-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 28, 0);
    backdrop-filter: blur(0px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s;
    pointer-events: none;
    z-index: 10;
}

.game-card.coming-soon:hover .coming-soon-overlay {
    background: rgba(10, 15, 28, 0.85);
    backdrop-filter: blur(8px);
    opacity: 1;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transform: translateY(20px) scale(0.9);
    transition: all 0.5s;
}

.game-card.coming-soon:hover .overlay-content {
    transform: translateY(0) scale(1);
}

.overlay-content i {
    font-size: 3rem;
    color: var(--accent-orange);
    animation: clockPulse 2s ease-in-out infinite;
    text-shadow: 0 0 30px var(--accent-orange);
}

@keyframes clockPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

.overlay-content span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(249, 115, 22, 0);
    }

    50% {
        text-shadow: 0 0 30px rgba(249, 115, 22, 0.5);
    }
}

.game-card.coming-soon:hover .card-content {
    transform: scale(1.02);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.game-card.coming-soon:hover .image-placeholder {
    filter: blur(2px);
    opacity: 0.7;
}

.game-card.featured:hover {
    transform: translateY(-10px);
}

.game-card.featured:hover .card-content {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(14, 165, 233, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, transparent, rgba(10, 15, 28, 0.95));
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-logo i {
    color: var(--accent-cyan);
    animation: iconPulse 2s ease-in-out infinite;
}

.footer-tagline {
    color: var(--dark-400);
    font-size: 0.9rem;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--dark-300);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.footer-copyright {
    color: var(--dark-500);
    font-size: 0.85rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-custom {
        min-width: auto;
        width: calc(100% - 2rem);
        padding: 0.6rem 1.5rem;
    }

    .navbar-social {
        display: none;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        gap: 1rem;
    }

    .navbar-custom {
        border-radius: 20px;
        padding: 1rem;
    }

    .hero-section {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .games-section {
        padding: 3rem 1rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .brand-info {
        display: none;
    }

    .nav-text {
        display: none;
    }

    .nav-link {
        padding: 0.6rem 1rem;
    }

    .card-image {
        height: 160px;
    }

    .play-button {
        width: 100%;
        justify-content: center;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-900);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 5px;
}

::selection {
    background: rgba(14, 165, 233, 0.3);
    color: white;
}

/* ============================================
   SCRAMBLE TEXT EFFECT STYLES
   ============================================ */

/* Scramble Text - Matrix/Glitch Style */
.scramble-text {
    position: relative;
    font-family: var(--font-display);
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan), 0 0 20px rgba(0, 245, 255, 0.3);
    letter-spacing: 1px;
}

.scramble-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.1), transparent);
    animation: scrambleScan 2s linear infinite;
}

@keyframes scrambleScan {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Blur Text for Description */
.blur-text {
    filter: blur(4px);
    color: var(--dark-500);
    transition: filter 0.5s ease;
    user-select: none;
}

.game-card.coming-soon:hover .blur-text {
    filter: blur(6px);
}

/* Blur Tags */
.blur-tag {
    filter: blur(3px);
    background: rgba(249, 115, 22, 0.15) !important;
    border-color: rgba(249, 115, 22, 0.3) !important;
    color: var(--accent-orange) !important;
}

.game-card.coming-soon:hover .blur-tag {
    filter: blur(4px);
}

/* Lock Icon Animation */
.game-card.coming-soon .image-placeholder i {
    color: var(--accent-orange);
    text-shadow: 0 0 20px var(--accent-orange);
    animation: lockPulse 3s ease-in-out infinite;
}

@keyframes lockPulse {

    0%,
    100% {
        transform: scale(1);
        text-shadow: 0 0 20px var(--accent-orange);
    }

    50% {
        transform: scale(1.1);
        text-shadow: 0 0 40px var(--accent-orange), 0 0 60px rgba(249, 115, 22, 0.5);
    }
}

/* Glitch Text Animation for Scramble */
.scramble-text.glitching {
    animation: glitchText 0.1s infinite;
}

@keyframes glitchText {
    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);
    }
}

/* Encrypted Character Style */
.encrypted-char {
    display: inline-block;
    animation: charFlicker 0.15s infinite;
}

@keyframes charFlicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Mystery Card Glow */
.game-card.coming-soon .card-content {
    border-color: rgba(249, 115, 22, 0.15);
}

.game-card.coming-soon:hover .scramble-text {
    text-shadow: 0 0 15px var(--accent-cyan), 0 0 30px rgba(0, 245, 255, 0.5);
}

/* ============================================
   ODRA SECURITY BADGE - Navbar
   ============================================ */
.odra-security-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 15px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all var(--transition);
}

.odra-security-badge:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.15) 100%);
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.2);
}

.odra-shield {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    animation: shieldPulse 2s ease-in-out infinite;
}

@keyframes shieldPulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
    }

    50% {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.7);
    }
}

.odra-info {
    display: flex;
    flex-direction: column;
}

.odra-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 1px;
}

.odra-version {
    font-size: 0.65rem;
    color: var(--dark-400);
    text-transform: uppercase;
}

.odra-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.odra-status .status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: statusBlink 1.5s ease-in-out infinite;
}

@keyframes statusBlink {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 5px #10b981;
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 10px #10b981;
    }
}

.odra-status .status-text {
    font-size: 0.7rem;
    color: #10b981;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(14, 165, 233, 0.05) 50%, transparent 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(14, 165, 233, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   FOOTER - Genişletilmiş
   ============================================ */
.footer {
    background: linear-gradient(180deg, transparent 0%, rgba(10, 15, 28, 0.98) 15%);
    padding: 5rem 2rem 2rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.footer-brand .footer-logo i {
    color: var(--accent-cyan);
}

.footer-tagline {
    color: var(--dark-400);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.footer-security-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.footer-security-notice .security-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.footer-security-notice .security-text {
    display: flex;
    flex-direction: column;
}

.footer-security-notice .security-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fca5a5;
}

.footer-security-notice .security-subtitle {
    font-size: 0.7rem;
    color: var(--dark-400);
}

.footer-nav h4,
.footer-social-section h4,
.footer-newsletter h4 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
}

.footer-nav a {
    display: block;
    color: var(--dark-400);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.4rem 0;
    transition: all var(--transition);
}

.footer-nav a:hover {
    color: var(--accent-cyan);
    transform: translateX(5px);
}

.footer-nav a i {
    margin-right: 0.5rem;
    font-size: 0.7rem;
}

.footer-social-icons {
    display: flex;
    gap: 0.75rem;
}

.footer-social-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--dark-300);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all var(--transition);
}

.footer-social-icon.discord:hover {
    background: #5865F2;
    color: white;
}

.footer-social-icon.twitter:hover {
    background: #1DA1F2;
    color: white;
}

.footer-social-icon.youtube:hover {
    background: #FF0000;
    color: white;
}

.footer-social-icon.github:hover {
    background: #333;
    color: white;
}

.footer-social-icon:hover {
    transform: translateY(-3px);
    border-color: transparent;
}

.footer-newsletter p {
    color: var(--dark-400);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 0.85rem;
    outline: none;
    transition: all var(--transition);
}

.newsletter-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
}

.newsletter-input::placeholder {
    color: var(--dark-500);
}

.newsletter-btn {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all var(--transition);
}

.newsletter-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(14, 165, 233, 0.4);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--dark-500);
    font-size: 0.85rem;
    padding: 0;
    border: none;
    width: auto;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 25px;
    color: var(--accent-orange);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.legal-btn:hover {
    background: rgba(249, 115, 22, 0.25);
    border-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(249, 115, 22, 0.2);
}

.footer-divider {
    color: var(--dark-600);
}

.developer-credit {
    color: var(--dark-500);
    font-size: 0.8rem;
}

.developer-credit i {
    color: var(--accent-cyan);
}

/* ============================================
   TERMS MODAL
   ============================================ */
.terms-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.terms-modal-overlay.active {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    opacity: 1;
    visibility: visible;
}

.terms-modal {
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    background: linear-gradient(145deg, var(--dark-800), var(--dark-900));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transform: scale(0.9) translateY(30px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(249, 115, 22, 0.1);
}

.terms-modal-overlay.active .terms-modal {
    transform: scale(1) translateY(0);
}

.terms-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-header-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-orange), #ea580c);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
}

.terms-modal-header h2 {
    flex: 1;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.terms-close-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    color: var(--dark-400);
    cursor: pointer;
    transition: all var(--transition);
}

.terms-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.terms-modal-body {
    padding: 1.5rem 2rem;
    max-height: 55vh;
    overflow-y: auto;
}

.terms-warning-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.terms-warning-box i {
    font-size: 1.5rem;
    color: #ef4444;
}

.terms-warning-box p {
    color: #fca5a5;
    font-size: 0.95rem;
    margin: 0;
}

.terms-section {
    margin-bottom: 1.5rem;
}

.terms-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 0.75rem;
}

.terms-section h3 i {
    font-size: 0.9rem;
}

.terms-section p {
    color: var(--dark-300);
    font-size: 0.9rem;
    line-height: 1.7;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0;
}

.terms-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--dark-300);
    font-size: 0.9rem;
}

.terms-list li i {
    color: #ef4444;
    margin-top: 0.15rem;
}

.terms-list.legal li i {
    color: #10b981;
}

.terms-footer-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.terms-footer-notice .notice-icon {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.terms-footer-notice .notice-text p {
    margin: 0;
    font-size: 0.85rem;
}

.terms-modal-footer {
    padding: 1.25rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.terms-accept-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}

.terms-accept-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .odra-security-badge {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .newsletter-form {
        max-width: 300px;
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ============================================
   COMING SOON OVERLAY
   ============================================ */
.coming-soon-wrapper {
    position: relative;
    overflow: hidden;
}

.coming-soon-wrapper>*:not(.coming-soon-overlay) {
    transition: all 0.4s ease;
}

.coming-soon-wrapper:hover>*:not(.coming-soon-overlay) {
    filter: blur(6px);
    opacity: 0.3;
}

.coming-soon-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.7) 0%, rgba(20, 10, 40, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 12px;
    overflow: hidden;
}

/* Scanlines effect */
.coming-soon-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(14, 165, 233, 0.05) 2px,
            rgba(14, 165, 233, 0.05) 4px);
    pointer-events: none;
}

/* Shine effect */
.coming-soon-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: comingSoonShine 3s ease-in-out infinite;
}

@keyframes comingSoonShine {

    0%,
    100% {
        left: -100%;
    }

    50% {
        left: 100%;
    }
}

.coming-soon-wrapper:hover .coming-soon-overlay {
    opacity: 1;
}

.coming-soon-content {
    text-align: center;
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

.coming-soon-wrapper:hover .coming-soon-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.coming-soon-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0ea5e9, #a855f7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.4);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(10deg);
    }
}

.coming-soon-text {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(90deg, #0ea5e9, #a855f7, #ec4899);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s linear infinite;
    letter-spacing: 4px;
    text-shadow: none;
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.coming-soon-sub {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.5rem;
    letter-spacing: 1px;
}