/* ==========================================================================
   90lar.com.tr - Retro-Modern CSS Design System
   ========================================================================== */

/* Variables & Theme Tokens */
:root {
    --bg-primary: #0a0516;
    --bg-secondary: #130a24;
    --bg-tertiary: #1b1031;
    
    --neon-pink: #ff007f;
    --neon-cyan: #00f3ff;
    --neon-yellow: #ffe600;
    --neon-purple: #bd00ff;
    --neon-green: #39ff14;
    
    --text-main: #f5f2fa;
    --text-muted: #a499bf;
    --border-color: #2b1f47;
    
    --font-heading: 'Press Start 2P', cursive;
    --font-body: 'Outfit', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --glow-cyan: 0 0 10px rgba(0, 243, 255, 0.4), 0 0 20px rgba(0, 243, 255, 0.2);
    --glow-pink: 0 0 10px rgba(255, 0, 127, 0.4), 0 0 20px rgba(255, 0, 127, 0.2);
    --glow-yellow: 0 0 10px rgba(255, 230, 0, 0.4), 0 0 20px rgba(255, 230, 0, 0.2);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 60px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button, input, textarea {
    font-family: inherit;
    background: none;
    border: none;
    color: inherit;
}

button {
    cursor: pointer;
}

/* Neon Grid Animated Background */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(18, 10, 36, 0.8) 0%, rgba(10, 5, 22, 0.95) 100%),
        linear-gradient(90deg, rgba(255, 0, 127, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 0, 127, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 50px 50px, 50px 50px;
    z-index: -1;
    pointer-events: none;
}

.grid-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 20%, rgba(10, 5, 22, 0.8) 80%);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

/* Utilities & Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-neon-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 5px var(--neon-cyan);
}

.text-neon-pink {
    color: var(--neon-pink);
    text-shadow: 0 0 5px var(--neon-pink);
}

.highlight {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

.hidden {
    display: none !important;
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    margin: 16px auto 20px auto;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-pink) 0%, var(--neon-purple) 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 0, 127, 0.4);
}

.btn-secondary {
    background: rgba(43, 31, 71, 0.4);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(43, 31, 71, 0.8);
    border-color: var(--neon-cyan);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 243, 255, 0.2);
}

.btn-glow {
    box-shadow: var(--glow-pink);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 5, 22, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(43, 31, 71, 0.5);
    transition: var(--transition-fast);
}

.main-header.scrolled {
    background: rgba(10, 5, 22, 0.95);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 15px;
    flex-shrink: 0;
}
.header-actions .btn-site-crt,
.header-actions .btn-site-destroyer {
    margin-left: 0 !important;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-retro {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
    letter-spacing: -1px;
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 0.5rem;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
    letter-spacing: 4px;
    margin-top: 4px;
    margin-left: 2px;
}

.nav-menu ul {
    display: flex;
    gap: 4px;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 6px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.05);
}

.nav-link.active {
    color: var(--text-main);
    background: rgba(255, 0, 127, 0.1);
    border: 1px solid rgba(255, 0, 127, 0.3);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.1) inset;
}

@media (min-width: 1201px) and (max-width: 1399px) {
    .nav-container {
        padding: 12px 14px;
    }
    .nav-link {
        padding: 6px 8px;
        font-size: 0.78rem;
    }
    .header-actions {
        gap: 6px;
        margin-left: 8px;
    }
    .header-actions .btn-site-crt,
    .header-actions .btn-site-destroyer {
        padding: 4px 6px;
        font-size: 0.68rem;
        gap: 3px;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    background: none;
}

.mobile-menu-toggle .bar {
    height: 2px;
    width: 100%;
    background-color: var(--text-main);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.retro-badge {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    color: var(--neon-yellow);
    background: rgba(255, 230, 0, 0.1);
    border: 1px solid var(--neon-yellow);
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 24px;
    box-shadow: 0 0 10px rgba(255, 230, 0, 0.15);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* CRT Monitor Frame & Effects */
.crt-container-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.crt-monitor {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: #2b253b;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.6),
        0 0 2px 2px rgba(255, 255, 255, 0.1) inset;
    border: 4px solid #1c1827;
}

.crt-screen {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: #0f051d;
    border-radius: 12px;
    border: 12px solid #1a1524;
    overflow: hidden;
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.8) inset,
        0 0 15px rgba(189, 0, 255, 0.2);
}

/* Scanlines overlay */
.crt-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    z-index: 5;
    pointer-events: none;
}

/* Flicker effect */
.crt-flicker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 10, 36, 0.1);
    opacity: 0;
    z-index: 6;
    pointer-events: none;
    animation: crt-flicker-anim 0.15s infinite;
}

@keyframes crt-flicker-anim {
    0% { opacity: 0.08; }
    50% { opacity: 0.02; }
    100% { opacity: 0.09; }
}

.crt-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 3px rgba(0, 243, 255, 0.8);
}

.crt-header {
    border-bottom: 2px solid var(--neon-cyan);
    padding-bottom: 8px;
    font-size: 0.55rem;
    letter-spacing: 1px;
}

.crt-body {
    flex-grow: 1;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.crt-text-active {
    color: var(--neon-yellow);
    text-shadow: 0 0 3px var(--neon-yellow);
}

.crt-text-success {
    color: var(--neon-green);
    text-shadow: 0 0 3px var(--neon-green);
}

.crt-text-error {
    color: var(--neon-pink);
    text-shadow: 0 0 3px var(--neon-pink);
}

.crt-image-placeholder {
    margin-top: auto;
    border: 1px dashed var(--neon-cyan);
    aspect-ratio: 16/7;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 243, 255, 0.03);
}

.pixel-art-cassette {
    font-size: 2.2rem;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
}

.spin-animation {
    animation: spin 6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.blinking-cursor {
    animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {
    from, to { color: transparent; }
    50% { color: var(--neon-cyan); }
}

.crt-footer {
    border-top: 1px solid rgba(0, 243, 255, 0.2);
    padding-top: 8px;
    text-align: center;
    font-size: 0.5rem;
    color: var(--text-muted);
}

/* Bezel Controls */
.crt-bezel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding: 0 10px;
}

.crt-power-led {
    width: 10px;
    height: 10px;
    background-color: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-green);
    display: block;
}

.crt-knobs {
    display: flex;
    gap: 8px;
}

.knob {
    width: 16px;
    height: 16px;
    background: #1c1827;
    border-radius: 50%;
    border: 2px solid #3d3550;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.crt-stand {
    width: 160px;
    height: 16px;
    background: #1c1827;
    margin: 0 auto;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

/* ==========================================================================
   Game Section (Arcade Cabinet & Kuula)
   ========================================================================== */
.game-section {
    position: relative;
    background: var(--bg-secondary);
}

/* Arcade Cabinet Styling */
.arcade-cabinet-wrapper {
    max-width: 900px;
    margin: 0 auto 50px auto;
    perspective: 1000px;
}

.arcade-cabinet {
    background: linear-gradient(135deg, #1c122c 0%, #0c0715 100%);
    border: 6px solid #2d1e49;
    border-radius: 24px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(255, 0, 127, 0.15),
        0 0 0 2px rgba(255, 0, 127, 0.2) inset;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.arcade-marquee {
    background: #090310;
    border-bottom: 6px solid #2d1e49;
    padding: 20px;
    text-align: center;
    position: relative;
}

.arcade-marquee h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--neon-yellow);
    text-shadow: var(--glow-yellow);
    animation: marquee-blink 1.5s infinite alternate;
}

@keyframes marquee-blink {
    0% { text-shadow: var(--glow-yellow); opacity: 1; }
    50% { opacity: 0.95; }
    100% { text-shadow: 0 0 5px var(--neon-yellow); opacity: 0.85; }
}

.arcade-screen-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-left: 20px solid #140d22;
    border-right: 20px solid #140d22;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.9) inset;
}

.kuula-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Arcade Control Panel */
.arcade-control-panel {
    background: #140d22;
    border-top: 6px solid #2d1e49;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Joystick simulation */
.joystick-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.joystick-base {
    width: 50px;
    height: 50px;
    background: #08040f;
    border-radius: 50%;
    border: 3px solid #2b1f47;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.6) inset;
}

.joystick-shaft {
    width: 16px;
    height: 16px;
    background: var(--neon-pink);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: var(--glow-pink);
    transition: 0.1s ease;
    cursor: pointer;
}

.joystick-shaft::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 20px;
    background: #3d2f5e;
    bottom: -15px;
    left: 5px;
    z-index: -1;
}

.control-label {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    color: var(--text-muted);
}

/* Arcade Buttons */
.cabinet-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-arcade {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 4px 0 rgba(0,0,0,0.4);
    transition: 0.1s ease;
}

.btn-arcade:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 rgba(0,0,0,0.4);
}

.btn-blue {
    background: #0077ff;
    border: 3px solid #00bcff;
    box-shadow: 0 4px 0 #0056b3, 0 0 10px rgba(0, 188, 255, 0.3);
}
.btn-green {
    background: #00b31e;
    border: 3px solid #39ff14;
    box-shadow: 0 4px 0 #007313, 0 0 10px rgba(57, 255, 20, 0.3);
}
.btn-yellow {
    background: #e6b800;
    border: 3px solid #ffe600;
    box-shadow: 0 4px 0 #998000, 0 0 10px rgba(255, 230, 0, 0.3);
}

.btn-red {
    border-radius: 20px !important;
    width: auto !important;
    padding: 0 24px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    background: var(--neon-pink);
    border: 3px solid #ff59a9;
    box-shadow: 0 4px 0 #99004c, var(--glow-pink);
}

.btn-glow-red {
    animation: btn-red-pulse 1.5s infinite alternate;
}

@keyframes btn-red-pulse {
    from { box-shadow: 0 4px 0 #99004c, var(--glow-pink); }
    to { box-shadow: 0 4px 0 #99004c, 0 0 20px rgba(255, 0, 127, 0.7); }
}
/* Game Dashboard Cards */
.game-dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px auto 0 auto;
    max-width: 900px;
}

.dashboard-card {
    background: rgba(19, 10, 36, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    min-height: 380px; /* Uniform height to prevent layout shifts */
}

/* Riddle Card Styles */
.riddle-card {
    position: relative;
    border-color: rgba(255, 230, 0, 0.2);
}

.riddle-question {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    min-height: 48px;
    line-height: 1.5;
}

.riddle-form input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 12px;
    outline: none;
    transition: var(--transition-fast);
}

.riddle-form input[type="text"]:focus {
    border-color: var(--neon-yellow);
    box-shadow: 0 0 5px rgba(255, 230, 0, 0.2);
}

.riddle-feedback {
    margin-top: 12px;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.82rem;
    line-height: 1.4;
    text-align: center;
}

.riddle-feedback.success {
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    text-shadow: 0 0 3px rgba(57, 255, 20, 0.5);
}

.riddle-feedback.error {
    background: rgba(255, 0, 127, 0.1);
    border: 1px solid var(--neon-pink);
    color: var(--neon-pink);
    text-shadow: 0 0 3px rgba(255, 0, 127, 0.5);
}

/* Jackpot Card (Grand Prize) */
.jackpot-card {
    position: relative;
    border: 2px solid var(--neon-yellow);
    box-shadow: var(--glow-yellow);
    background: linear-gradient(135deg, rgba(27, 16, 49, 0.8) 0%, rgba(19, 10, 36, 0.9) 100%);
    overflow: hidden;
}

.jackpot-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 230, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
    animation: spin 12s linear infinite;
}

@keyframes jackpot-amount-pulse {
    from { transform: scale(1); text-shadow: var(--glow-yellow); }
    to { transform: scale(1.05); text-shadow: 0 0 20px rgba(255, 230, 0, 0.7); }
}

.jackpot-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

#riddleContainer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.jackpot-amount {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--neon-yellow);
    text-shadow: var(--glow-yellow);
    margin: 8px 0;
    display: inline-block;
    animation: jackpot-amount-pulse 1.5s infinite alternate;
}

.jackpot-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.jackpot-riddle-box {
    margin-top: 15px;
    padding: 12px 16px;
    background: rgba(255, 230, 0, 0.05);
    border: 1px dashed var(--neon-yellow);
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.85rem;
    color: #fffae0;
    text-align: center;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.jackpot-riddle-title {
    margin: 0 0 8px 0;
    color: var(--neon-yellow);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.72rem;
    font-family: var(--font-heading);
    text-shadow: 0 0 5px rgba(255, 230, 0, 0.5);
}

.jackpot-riddle-text {
    font-style: italic;
    white-space: pre-line;
}

/* Leaderboard Time period tabs */
.leaderboard-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.leaderboard-tab-btn {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 6px 12px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 3px rgba(0, 243, 255, 0.5);
}

.leaderboard-tab-btn:hover,
.leaderboard-tab-btn.active {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 10px var(--neon-cyan);
    text-shadow: none;
}

.jackpot-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 230, 0, 0.15);
    padding-top: 12px;
    font-size: 0.72rem;
    position: relative;
    z-index: 2;
}

.jackpot-status span {
    font-weight: 600;
}

.countdown-badge {
    background: var(--neon-yellow);
    color: #000;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 800;
    box-shadow: 0 0 8px rgba(255, 230, 0, 0.5);
    animation: blink-badge 1s step-end infinite;
}

@keyframes blink-badge {
    from, to { opacity: 1; }
    50% { opacity: 0.6; }
}

.dashboard-card h4 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--neon-cyan);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-card ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dashboard-card li {
    display: flex;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.step-num {
    background: rgba(0, 243, 255, 0.15);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.prize-info {
    display: flex;
    gap: 16px;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 24px;
}

.prize-icon {
    font-size: 2rem;
}

.prize-text h5 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
}

.prize-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.game-stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--neon-yellow);
    text-shadow: var(--glow-yellow);
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ==========================================================================
   Café Menu Section
   ========================================================================== */
.menu-section {
    background: #253329; /* Dark green chalkboard */
    position: relative;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
    border-top: 15px solid #5c3a21; /* Wood frame top */
    border-bottom: 15px solid #5c3a21; /* Wood frame bottom */
    padding: 80px 0;
}

.menu-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>');
    pointer-events: none;
    z-index: 0;
}

.menu-section .container {
    position: relative;
    z-index: 1;
}

/* Override Text Colors for Chalkboard */
.menu-section .section-title {
    color: #ffffff;
    font-family: 'Cabin Sketch', cursive, sans-serif;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.2), 4px 4px 5px rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.menu-section .subtitle {
    color: #f1c40f;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}
.menu-section .section-description {
    color: #ecf0f1;
    font-family: 'Cabin Sketch', cursive, sans-serif;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.menu-tab-btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-family: 'Cabin Sketch', cursive, sans-serif;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.menu-tab-btn:hover {
    transform: scale(1.05) rotate(-2deg);
    border-color: #f1c40f;
    color: #f1c40f;
}

.menu-tab-btn.active {
    background: rgba(255,255,255,0.1);
    color: #f1c40f;
    border-color: #f1c40f;
    transform: scale(1.1) rotate(2deg);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item-card {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.menu-item-card:hover {
    transform: scale(1.08);
}

.menu-item-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: transparent;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: none;
}

.menu-item-image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    filter: drop-shadow(5px 5px 8px rgba(0,0,0,0.6));
    transition: transform 0.3s ease;
}

.menu-item-card:hover .menu-item-image img {
    transform: scale(1.1) rotate(3deg);
}

.menu-item-badge {
    position: absolute;
    top: 0px;
    left: 0px;
    background: transparent;
    color: #ff4757;
    border: 3px solid #ff4757;
    font-family: 'Cabin Sketch', cursive, sans-serif;
    font-size: 0.9rem;
    font-weight: 900;
    padding: 4px 8px;
    border-radius: 5px;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.5);
    text-transform: uppercase;
    transform: rotate(-15deg);
    animation: badgePulse 1.5s infinite alternate;
}

@keyframes badgePulse {
    0% { transform: scale(1) rotate(-15deg); }
    100% { transform: scale(1.1) rotate(-5deg); color: #ff6b81; border-color: #ff6b81; }
}

.menu-item-info {
    padding: 15px 5px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 10px;
    border-bottom: 2px dashed rgba(255,255,255,0.4);
    padding-bottom: 8px;
}

.menu-item-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffffff;
    font-family: 'Cabin Sketch', cursive, sans-serif;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.8);
    margin: 0;
}

.menu-item-price {
    font-family: 'Cabin Sketch', cursive, sans-serif;
    font-weight: bold;
    font-size: 1.3rem;
    color: #2ed573; /* Chalk green/yellow */
    text-shadow: 2px 2px 2px rgba(0,0,0,0.8);
    flex-shrink: 0;
}

.menu-item-desc {
    font-size: 1rem;
    color: #dfe4ea;
    font-family: 'Cabin Sketch', cursive, sans-serif;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* ==========================================================================
   Yadigar Ejder Cinema Section
   ========================================================================== */
.cinema-section {
    background: var(--bg-secondary);
}

.cinema-content-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

/* Movie Ticket Stub Styling */
.ticket-stub-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ticket-stub {
    background: #ffecb3;
    color: #1a1100;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid #e6a100;
}

.ticket-stub::before,
.ticket-stub::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--bg-secondary);
    border-radius: 50%;
    top: 73%;
    z-index: 10;
}
.ticket-stub::before { left: -12px; border-right: 2px solid #e6a100; }
.ticket-stub::after { right: -12px; border-left: 2px solid #e6a100; }

.ticket-header {
    background: #e6a100;
    color: #fff;
    padding: 12px 20px;
    font-family: var(--font-heading);
    font-size: 0.55rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-star {
    color: var(--neon-yellow);
}

.ticket-body {
    padding: 24px 20px;
    flex-grow: 1;
}

.movie-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.3;
    color: #3d2200;
}

.ticket-details p {
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.ticket-rip {
    border-top: 2px dashed #cca54e;
    margin: 0 10px;
    height: 1px;
}

.ticket-footer {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-barcode {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #4d3300;
}

.ticket-id {
    font-family: var(--font-heading);
    font-size: 0.5rem;
    color: #cca54e;
}

.cinema-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.f-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--neon-cyan);
    flex-shrink: 0;
}

.feature-item h5 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Seat Booking Layout */
.seat-booking-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--border-glow);
}

.booking-header {
    margin-bottom: 24px;
}

.booking-header h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.booking-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cinema-screen {
    background: linear-gradient(180deg, rgba(0, 243, 255, 0.2) 0%, transparent 100%);
    border-top: 4px solid var(--neon-cyan);
    padding: 8px;
    text-align: center;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: 4px;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
    margin-bottom: 30px;
    border-radius: 4px;
}

.seats-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 280px;
    margin: 0 auto 30px auto;
}

.seat {
    aspect-ratio: 1;
    background-color: rgba(43, 31, 71, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.seat.available {
    cursor: pointer;
}

.seat.available:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
    transform: scale(1.05);
}

.seat.selected {
    background-color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    color: #000;
    box-shadow: var(--glow-cyan);
}

.seat.occupied {
    background-color: var(--neon-pink);
    border-color: var(--neon-pink);
    opacity: 0.4;
    cursor: not-allowed;
}

.seats-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 0.85rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.seat-sample {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    display: block;
}

.seat-sample.available { background: rgba(43, 31, 71, 0.6); border: 1px solid var(--border-color); }
.seat-sample.selected { background: var(--neon-cyan); box-shadow: var(--glow-cyan); }
.seat-sample.occupied { background: var(--neon-pink); opacity: 0.4; }

.booking-summary {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-summary p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.booking-summary span {
    font-weight: 700;
}

.booking-summary button {
    margin-top: 12px;
}

/* ==========================================================================
   Guestbook (Anı Defteri) Section
   ========================================================================== */
.guestbook-section {
    background: var(--bg-primary);
}

.guestbook-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Form Styles */
.retro-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.2);
}

/* Avatar Selector */
.avatar-selector {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.avatar-option input[type="radio"] {
    display: none;
}

.avatar-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
    cursor: pointer;
}

.avatar-box:hover {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
}

.avatar-option input[type="radio"]:checked + .avatar-box {
    background: rgba(255, 0, 127, 0.1);
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: var(--glow-pink);
}

/* Entries List */
.guestbook-entries-container {
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    max-height: 480px;
}

.guestbook-entries-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.1);
}

.guestbook-entries-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

.entries-list {
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.entry-card {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.entry-avatar {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--neon-cyan);
    flex-shrink: 0;
}

.entry-content {
    flex-grow: 1;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.entry-author {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.entry-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.entry-message {
    font-size: 0.9rem;
    color: var(--text-muted);
    word-break: break-word;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer-section {
    background: #06030c;
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

/* Footer Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.footer-links li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a:hover {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
    transform: translateX(3px);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
    margin-bottom: 24px;
}

.brand-col .logo {
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--neon-pink);
    border-color: var(--neon-pink);
    color: #fff;
    box-shadow: var(--glow-pink);
    transform: translateY(-2px);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.footer-col p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(43, 31, 71, 0.3);
    padding: 24px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 3, 12, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    overflow-y: auto; /* Allow scrolling if modal content is taller than screen */
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.8),
        var(--border-glow);
    position: relative;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform var(--transition-smooth);
    margin: auto; /* Center card inside flexbox and keep scrollable */
}

.modal-overlay.open .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close-btn:hover {
    color: var(--neon-pink);
}

.modal-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-body {
    padding: 24px;
}

/* CRT Screen inside modal for game */
.modal-crt {
    aspect-ratio: auto;
    min-height: 300px;
    border: 4px solid #1a1524;
}

.modal-crt .crt-content {
    font-size: 0.75rem;
    justify-content: flex-start;
    gap: 16px;
}

.guess-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.guess-btn {
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 243, 255, 0.15);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.8rem;
    line-height: 1.4;
    transition: var(--transition-fast);
}

.guess-btn:hover {
    background: rgba(0, 243, 255, 0.08);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.2);
}

.guess-btn .bullet {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--neon-yellow);
    margin-right: 6px;
}

/* Success / Failure Screen content */
.success-animation-box,
.error-animation-box {
    margin: 20px 0;
}

.retro-coin-anim {
    font-size: 3.5rem;
    color: var(--neon-yellow);
    text-shadow: var(--glow-yellow);
    margin-bottom: 12px;
}

.neon-blink-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--neon-green);
    text-shadow: 0 0 8px var(--neon-green);
    animation: text-glow-blink 1s infinite alternate;
}

@keyframes text-glow-blink {
    from { opacity: 0.8; }
    to { opacity: 1; }
}

.success-message,
.error-message {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.gift-card-code {
    background: rgba(255, 230, 0, 0.1);
    border: 2px dashed var(--neon-yellow);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.gift-card-code .card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.gift-card-code .card-code {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--neon-yellow);
    text-shadow: var(--glow-yellow);
    letter-spacing: 1px;
}

.note {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
}

.error-animation-box {
    font-size: 3rem;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
    margin-bottom: 12px;
}

.error-animation-box h4 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Booking Receipt details */
.booking-ticket-receipt {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
}

.receipt-row:last-child {
    border-bottom: none;
}

.badge-pending {
    background: rgba(255, 230, 0, 0.1);
    color: var(--neon-yellow);
    border: 1px solid var(--neon-yellow);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.alert-box {
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
    align-items: flex-start;
}

.alert-box i {
    font-size: 1.1rem;
    color: var(--neon-cyan);
    margin-top: 2px;
}


/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cinema-content-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .guestbook-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .game-dashboard {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        border-bottom: 2px solid var(--border-color);
        padding: 24px;
        display: none;
    }
    
    .nav-menu.open {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* Game dashboard */
    .game-dashboard {
        grid-template-columns: 1fr;
    }
    
    /* Arcade Cabinet controls */
    .arcade-control-panel {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ==========================================================================
   Winamp 2.x Music Player Widget Styling
   ========================================================================== */
.winamp-player-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    width: 275px;
    font-family: 'Outfit', monospace, sans-serif;
    user-select: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Skins */
/* 1. Classic Silver/Dark Winamp Skin */
.winamp-player-widget.skin-classic {
    background: #282828;
    border: 3px solid #3c3c3c;
    border-top-color: #5a5a5a;
    border-left-color: #5a5a5a;
    border-right-color: #1a1a1a;
    border-bottom-color: #1a1a1a;
    color: #00e000;
}

.winamp-player-widget.skin-classic .winamp-titlebar {
    background: linear-gradient(90deg, #080838, #103080);
    color: #ffffff;
}

.winamp-player-widget.skin-classic .display-panel {
    background: #000000;
    border: 2px inset #3c3c3c;
    color: #00e000;
}

.winamp-player-widget.skin-classic .winamp-btn {
    background: #4a4a4a;
    border: 1px solid #6a6a6a;
    border-bottom-color: #1e1e1e;
    border-right-color: #1e1e1e;
    color: #ffffff;
}

.winamp-player-widget.skin-classic .winamp-btn:hover {
    background: #5a5a5a;
    color: #00ff00;
}

/* 2. Cyberpunk Neon Purple/Cyan Skin */
.winamp-player-widget.skin-neon {
    background: rgba(19, 10, 36, 0.9);
    border: 2px solid var(--neon-pink);
    box-shadow: var(--glow-pink);
    backdrop-filter: blur(10px);
    color: var(--neon-cyan);
}

.winamp-player-widget.skin-neon .winamp-titlebar {
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    color: #ffffff;
}

.winamp-player-widget.skin-neon .display-panel {
    background: rgba(10, 5, 20, 0.95);
    border: 1px solid var(--border-color);
    color: var(--neon-cyan);
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.8);
}

.winamp-player-widget.skin-neon .winamp-btn {
    background: rgba(43, 31, 71, 0.6);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.winamp-player-widget.skin-neon .winamp-btn:hover {
    border-color: var(--neon-cyan);
    color: #fff;
    box-shadow: 0 0 5px rgba(0, 243, 255, 0.3);
}

/* 3. Green Matrix Terminal Skin */
.winamp-player-widget.skin-matrix {
    background: #000;
    border: 2px solid #00ff00;
    color: #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
}

.winamp-player-widget.skin-matrix .winamp-titlebar {
    background: #003300;
    color: #00ff00;
    border-bottom: 1px solid #00ff00;
}

.winamp-player-widget.skin-matrix .display-panel {
    background: #000;
    border: 1px solid #00ff00;
    color: #00ff00;
    font-family: monospace;
}

.winamp-player-widget.skin-matrix .winamp-btn {
    background: #000;
    border: 1px solid #00ff00;
    color: #00ff00;
}

.winamp-player-widget.skin-matrix .winamp-btn:hover {
    background: #003300;
}

/* Layout Parts */
.winamp-titlebar {
    padding: 6px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}

.winamp-title-buttons {
    display: flex;
    gap: 4px;
}

.winamp-title-btn {
    font-size: 0.65rem;
    cursor: pointer;
    font-family: monospace;
    width: 16px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.1);
    font-weight: bold;
}

.winamp-title-btn:hover {
    background: rgba(255,255,255,0.3);
}

.winamp-main-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Display Panel */
.display-panel {
    border-radius: 3px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.display-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.winamp-timer {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.winamp-status-indicators {
    font-size: 0.55rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: monospace;
    opacity: 0.8;
}

.display-title-row {
    overflow: hidden;
    white-space: nowrap;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.25);
    padding: 4px 6px;
    font-size: 0.72rem;
    font-family: monospace;
    position: relative;
    height: 22px;
}

.winamp-marquee {
    display: inline-block;
    position: absolute;
    white-space: nowrap;
    padding-left: 100%;
    animation: winamp-scroll 15s linear infinite;
    top: 3px;
}

@keyframes winamp-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.display-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.winamp-visualizer-box {
    flex: 1;
    height: 18px;
    background: #000;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

#winampVisualizer {
    width: 100%;
    height: 100%;
    display: block;
}

.winamp-kbps-khz {
    font-size: 0.55rem;
    font-family: monospace;
    display: flex;
    gap: 5px;
    opacity: 0.8;
}

/* Seek Bar / Progress Bar */
.winamp-seekbar-container {
    height: 8px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.winamp-seekbar-fill {
    height: 100%;
    background: var(--neon-cyan);
    width: 0%;
}

.skin-classic .winamp-seekbar-fill {
    background: #00e000;
}

.skin-matrix .winamp-seekbar-fill {
    background: #00ff00;
}

/* Control Row */
.winamp-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

.winamp-btn {
    height: 26px;
    flex: 1;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.1s ease;
}

.winamp-btn:active {
    transform: scale(0.95);
}

.winamp-btn-prev, .winamp-btn-next {
    max-width: 32px;
}

.winamp-btn-play, .winamp-btn-pause, .winamp-btn-stop {
    max-width: 35px;
}

.winamp-btn-eject {
    max-width: 30px;
}

/* Volume/Sliders Panel */
.winamp-sliders-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-size: 0.7rem;
    padding: 0 4px;
}

.winamp-slider-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.winamp-slider-group i {
    font-size: 0.75rem;
    width: 12px;
}

.winamp-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.winamp-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
}

.skin-classic .winamp-slider::-webkit-slider-thumb {
    background: #888;
    border: 1px solid #ccc;
}

.skin-neon .winamp-slider::-webkit-slider-thumb {
    background: var(--neon-pink);
    box-shadow: 0 0 5px var(--neon-pink);
}

.skin-matrix .winamp-slider::-webkit-slider-thumb {
    background: #00ff00;
}

/* Dropdown playlist selection styling */
.winamp-playlist-container {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 8px;
}

.winamp-song-select {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255,255,255,0.15);
    color: inherit;
    border-radius: 3px;
    padding: 4px 8px;
    font-size: 0.7rem;
    outline: none;
    cursor: pointer;
    font-family: monospace;
}

.winamp-song-select option {
    background: #222;
    color: #fff;
}

/* Shade Mode Styles */
.winamp-player-widget.shade {
    width: 275px;
}

.winamp-player-widget.shade .winamp-main-body {
    display: none;
}

.winamp-player-widget.shade .winamp-titlebar {
    border-bottom: none;
}

/* Responsive adjustment on mobile screen size */
@media (max-width: 768px) {
    .winamp-player-widget {
        bottom: 20px;
        left: 20px;
        width: 250px;
        z-index: 1001;
    }
    .winamp-player-widget.shade {
        width: 250px;
    }
}

/* ==========================================================================
   Retro Games & Bricks Hunt Section
   ========================================================================== */
.retro-games-section {
    background: var(--bg-secondary);
    position: relative;
}

/* Status Panel */
.retro-game-status-panel {
    background: #090310;
    border-bottom: 3px solid #2d1e49;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 0.8rem;
}

.insert-coin-text {
    color: var(--neon-yellow);
    text-shadow: var(--glow-yellow);
}

.retro-hearts-lives {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
}

.retro-heart {
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
}

.blink-animation {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* Brick Wall Container */
.brick-wall-container {
    background: #08040f;
    padding: 20px;
    overflow-x: auto;
}

.brick-wall {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    gap: 4px;
    min-width: 600px; /* Ensures grid maintains readable size on smaller viewports */
}

/* Individual Brick */
.brick {
    background: linear-gradient(135deg, #ff007f 0%, #cc0066 100%);
    border: 1px solid #ff59a9;
    border-radius: 2px;
    aspect-ratio: 2.2/1;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(255, 0, 127, 0.3);
    transition: all 0.15s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 0px;
}

.brick:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.8);
    z-index: 2;
    background: linear-gradient(135deg, #ff3399 0%, #ff007f 100%);
}

/* Cracked/Empty Brick (Failed Attempt) */
.brick.cracked {
    background: #1d1829;
    border-color: #3b3252;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
    position: relative;
    overflow: hidden;
}

.brick.cracked::after {
    content: 'X';
    color: #4a3e66;
    font-size: 10px;
    font-family: monospace;
    font-weight: bold;
    display: block;
}

/* Soda Found (Success) */
.brick.soda-found {
    background: linear-gradient(135deg, #00f3ff 0%, #00b3c2 100%);
    border-color: #80f9ff;
    box-shadow: 0 0 15px var(--neon-cyan);
    cursor: default;
    transform: scale(1.1);
    z-index: 3;
    animation: soda-glow 1s ease infinite alternate;
}

@keyframes soda-glow {
    from { box-shadow: 0 0 10px var(--neon-cyan); }
    to { box-shadow: 0 0 25px var(--neon-cyan), 0 0 5px #fff; }
}

.brick.soda-found i {
    color: #fff;
    font-size: 14px;
    display: block;
    text-shadow: 0 0 4px #008899;
}

/* Game Footer */
.retro-game-footer {
    background: #0d081b;
    border-top: 3px solid #2d1e49;
    padding: 12px;
    text-align: center;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
}

.retro-riddle-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.retro-riddle-card {
    max-width: 900px;
    width: 100%;
    min-height: auto !important; /* overrides standard 380px height of dashboard-card */
}

/* Shake animation for lives indicator */
.shake-anim {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* Gmail Login and Persistence Layout Styles */
.relative-container {
    position: relative;
}

/* Kilit Ekranı (Lock Overlay) */
.game-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 7, 21, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.game-lock-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.lock-content {
    max-width: 500px;
    width: 100%;
    background: #150e28;
    border: 3px solid var(--neon-pink);
    border-radius: 20px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(255, 0, 127, 0.3);
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.lock-icon {
    font-size: 3rem;
    animation: neon-pulse-pink 1.5s infinite alternate;
}

@keyframes neon-pulse-pink {
    from { text-shadow: var(--glow-pink); }
    to { text-shadow: 0 0 20px rgba(255, 0, 127, 0.8), 0 0 5px #fff; }
}

.lock-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
    margin: 0;
}

.lock-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.google-login-btn-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.btn-google-mock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #131314;
    color: #e3e3e3;
    border: 1px solid #8e918f;
    border-radius: 20px;
    padding: 0 16px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    font-family: Roboto, arial, sans-serif;
    cursor: pointer;
    width: 240px;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.btn-google-mock:hover {
    background-color: #202124;
    border-color: #c4c7c5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.btn-google-mock i {
    color: #4285f4;
    font-size: 16px;
}

.or-separator {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 0.1em;
    margin: 10px 0;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* local mock form */
.mock-auth-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-auth-form input[type="email"] {
    background: rgba(8, 4, 15, 0.7);
    border: 2px solid #2b1f47;
    border-radius: 8px;
    padding: 12px;
    color: var(--text-main);
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
    transition: 0.2s;
}

.mock-auth-form input[type="email"]:focus {
    border-color: var(--neon-pink);
    outline: none;
    box-shadow: 0 0 8px rgba(255, 0, 127, 0.3);
}

/* Profil Kartı (User Profile Bar) */
.retro-user-profile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #140d22;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 24px;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.retro-user-profile.hidden {
    display: none !important;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.3);
    object-fit: cover;
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.btn-retro-logout {
    background: transparent;
    border: 1px solid rgba(255, 0, 127, 0.4);
    color: var(--neon-pink);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
}

.btn-retro-logout:hover {
    background: rgba(255, 0, 127, 0.1);
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

/* Profile Actions Layout */
.profile-actions {
    display: flex;
    gap: 12px;
}

.btn-retro-album {
    background: transparent;
    border: 1px solid rgba(0, 243, 255, 0.4);
    color: var(--neon-cyan);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-retro-album:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

/* Coin Kazan Button in Game panel */
.retro-game-actions {
    display: flex;
    align-items: center;
}

.btn-arcade-play {
    background: transparent;
    border: 1px solid rgba(57, 255, 20, 0.5);
    color: var(--neon-green);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-family: monospace;
    text-shadow: 0 0 4px rgba(57, 255, 20, 0.8);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-arcade-play:hover {
    background: rgba(57, 255, 20, 0.15);
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.4);
    border-color: var(--neon-green);
}

/* Neon Leaderboard Table */
.retro-leaderboard-wrapper {
    margin: 40px auto 0 auto;
    max-width: 900px;
}

.leaderboard-billboard {
    position: relative;
    border: 2px solid var(--neon-yellow);
    box-shadow: 0 0 25px rgba(255, 230, 0, 0.15);
    border-radius: 12px;
    background: rgba(19, 10, 36, 0.75);
    padding: 24px;
    text-align: center;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.billboard-header h4 {
    font-family: var(--font-heading);
    color: var(--neon-yellow);
    text-shadow: var(--glow-yellow);
    font-size: 1.2rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.leaderboard-table th {
    color: var(--neon-yellow);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    padding: 10px;
    border-bottom: 2px solid rgba(255, 230, 0, 0.3);
}

.leaderboard-table td {
    padding: 10px;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-family: monospace;
}

.leaderboard-table tr:hover td {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
}

.leaderboard-table tr.active-user td {
    color: var(--neon-cyan);
    text-shadow: 0 0 4px rgba(0, 243, 255, 0.8);
    font-weight: bold;
}

/* Daily Quests Board */
.retro-quests-wrapper {
    margin: 40px auto 0 auto;
    max-width: 900px;
}

.quests-billboard {
    position: relative;
    border: 2px solid var(--neon-pink);
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.15);
    border-radius: 12px;
    background: rgba(19, 10, 36, 0.75);
    padding: 24px;
    text-align: center;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.neon-border-glow-violet {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
    box-shadow: 0 0 10px var(--neon-pink);
}

.quests-billboard .billboard-header h4 {
    font-family: var(--font-heading);
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
    font-size: 1.2rem;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.quests-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.quests-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.quest-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
}

.quest-item.completed {
    border-color: var(--neon-green);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.1);
    background: rgba(57, 255, 20, 0.02);
}

.quest-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.quest-title-container {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.quest-icon {
    font-size: 1.1rem;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
    width: 24px;
    text-align: center;
}

.quest-item.completed .quest-icon {
    color: var(--neon-green);
    text-shadow: var(--glow-green);
}

.quest-reward-badge {
    background: rgba(255, 230, 0, 0.1);
    border: 1px solid var(--neon-yellow);
    box-shadow: 0 0 5px rgba(255, 230, 0, 0.2);
    color: var(--neon-yellow);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.quest-item.completed .quest-reward-badge {
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 5px rgba(57, 255, 20, 0.2);
    color: var(--neon-green);
}

.quest-progress-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quest-bar-bg {
    flex: 1;
    height: 10px;
    background: #0d081b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.quest-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), #00d2ff);
    box-shadow: 0 0 8px var(--neon-cyan);
    width: 0%;
    transition: width 0.5s ease-out;
}

.quest-item.completed .quest-bar-fill {
    background: linear-gradient(90deg, var(--neon-green), #2ed573);
    box-shadow: 0 0 8px var(--neon-green);
}

.quest-progress-txt {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    min-width: 60px;
    text-align: right;
}

.quest-item.completed .quest-progress-txt {
    color: var(--neon-green);
}

/* Collection Album Card Modal */
.album-card-modal {
    max-width: 650px !important;
}

.album-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 8px;
}

.retro-card {
    background: rgba(10, 5, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    position: relative;
}

.retro-card.locked {
    filter: grayscale(100%);
    opacity: 0.4;
}

.retro-card .card-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
}

.retro-card.locked .card-icon {
    color: #555;
    text-shadow: none;
}

.retro-card .card-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.retro-card .card-desc {
    font-size: 0.65rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.retro-card .lock-overlay-icon {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

.retro-card:not(.locked) {
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

.retro-card:not(.locked):hover {
    transform: translateY(-4px);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

/* Atari Game Modal & Screen */
.arcade-card-modal {
    max-width: 500px !important;
}

.arcade-game-crt {
    margin: 15px auto;
    border: 12px solid #222;
    border-radius: 8px;
    aspect-ratio: 4/3;
    max-width: 400px;
    background: #000;
    position: relative;
    overflow: hidden;
}

.arcade-game-crt canvas {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}

.arcade-overlay-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 10, 36, 0.9);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.arcade-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 12px 0 20px 0;
    line-height: 1.4;
}

.arcade-touch-controls {
    display: none;
    justify-content: center;
    gap: 16px;
    margin: 15px 0;
}

.touch-btn {
    background: #1c0f30;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
}

.touch-btn:active {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.touch-btn-fire {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
}

.touch-btn-fire:active {
    background: var(--neon-pink);
    color: #000;
    box-shadow: 0 0 10px var(--neon-pink);
}

.control-help {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.neon-blink-text {
    font-family: var(--font-heading);
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
    font-size: 1.8rem;
    margin-bottom: 8px;
    animation: neon-blink 1s infinite alternate;
}

.neon-red-text {
    font-family: var(--font-heading);
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
    font-size: 2rem;
    margin-bottom: 12px;
}

.neon-green-text {
    color: var(--neon-green);
    text-shadow: var(--glow-green);
    font-weight: bold;
    font-family: var(--font-heading);
    margin: 8px 0;
}

/* CRT Hum Toggle Button Active Style */
#btnCrtHum.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.8);
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
    border-color: var(--neon-cyan);
}

@media (max-width: 768px) {
    .arcade-touch-controls {
        display: flex;
    }
    .control-help {
        display: none;
    }
    .album-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   13. Atari Salonu (Retro Arcade Salon) Styling
   ========================================================================== */
.arcade-hall-section {
    background: radial-gradient(circle at center, #180922 0%, #06020c 100%) !important;
    min-height: 100vh;
    padding-top: 120px;
}

.arcade-selector {
    margin-top: 40px;
}

.arcade-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px auto;
    max-width: 960px;
}

.cabinet-card {
    background: linear-gradient(180deg, #10061d 0%, #0b0214 100%);
    border: 3px solid #3d145c;
    border-radius: 12px;
    width: 280px;
    padding: 24px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cabinet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.cabinet-marquee {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 0 10px currentColor;
    background: rgba(0, 0, 0, 0.8);
}

.cabinet-invaders {
    border-color: var(--neon-pink);
    box-shadow: inset 0 0 15px rgba(255, 0, 127, 0.1);
}
.cabinet-invaders .cabinet-marquee {
    color: var(--neon-pink);
    border: 2px solid var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

.cabinet-tetris {
    border-color: var(--neon-cyan);
    box-shadow: inset 0 0 15px rgba(0, 243, 255, 0.1);
}
.cabinet-tetris .cabinet-marquee {
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.cabinet-pacman {
    border-color: var(--neon-yellow);
    box-shadow: inset 0 0 15px rgba(255, 230, 0, 0.1);
}
.cabinet-pacman .cabinet-marquee {
    color: var(--neon-yellow);
    border: 2px solid var(--neon-yellow);
    box-shadow: 0 0 10px rgba(255, 230, 0, 0.3);
}

.cabinet-snake {
    border-color: #39ff14;
    box-shadow: inset 0 0 15px rgba(57, 255, 20, 0.1);
}
.cabinet-snake .cabinet-marquee {
    color: #39ff14;
    border: 2px solid #39ff14;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.cabinet-pong {
    border-color: #ffffff;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.1);
}
.cabinet-pong .cabinet-marquee {
    color: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.cabinet-breakout {
    border-color: #ff6600;
    box-shadow: inset 0 0 15px rgba(255, 102, 0, 0.1);
}
.cabinet-breakout .cabinet-marquee {
    color: #ff6600;
    border: 2px solid #ff6600;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.3);
}

.cabinet-asteroids {
    border-color: #9d4edd;
    box-shadow: inset 0 0 15px rgba(157, 78, 221, 0.1);
}
.cabinet-asteroids .cabinet-marquee {
    color: #9d4edd;
    border: 2px solid #9d4edd;
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.3);
}

.cabinet-frogger {
    border-color: #06d6a0;
    box-shadow: inset 0 0 15px rgba(6, 214, 160, 0.1);
}
.cabinet-frogger .cabinet-marquee {
    color: #06d6a0;
    border: 2px solid #06d6a0;
    box-shadow: 0 0 10px rgba(6, 214, 160, 0.3);
}

.cabinet-flappy {
    border-color: #00b4d8;
    box-shadow: inset 0 0 15px rgba(0, 180, 216, 0.1);
}
.cabinet-flappy .cabinet-marquee {
    color: #00b4d8;
    border: 2px solid #00b4d8;
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.3);
}

.cabinet-galaga {
    border-color: #ef476f;
    box-shadow: inset 0 0 15px rgba(239, 71, 111, 0.1);
}
.cabinet-galaga .cabinet-marquee {
    color: #ef476f;
    border: 2px solid #ef476f;
    box-shadow: 0 0 10px rgba(239, 71, 111, 0.3);
}

.cabinet-memory {
    border-color: #ff007f;
    box-shadow: inset 0 0 15px rgba(255, 0, 127, 0.1);
}
.cabinet-memory .cabinet-marquee {
    color: #ff007f;
    border: 2px solid #ff007f;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

.cabinet-runner {
    border-color: #ffd166;
    box-shadow: inset 0 0 15px rgba(255, 209, 102, 0.1);
}
.cabinet-runner .cabinet-marquee {
    color: #ffd166;
    border: 2px solid #ffd166;
    box-shadow: 0 0 10px rgba(255, 209, 102, 0.3);
}

.cabinet-simon {
    border-color: #ef476f;
    box-shadow: inset 0 0 15px rgba(239, 71, 111, 0.1);
}
.cabinet-simon .cabinet-marquee {
    color: #ef476f;
    border: 2px solid #ef476f;
    box-shadow: 0 0 10px rgba(239, 71, 111, 0.3);
}

.cabinet-lander {
    border-color: #06d6a0;
    box-shadow: inset 0 0 15px rgba(6, 214, 160, 0.1);
}
.cabinet-lander .cabinet-marquee {
    color: #06d6a0;
    border: 2px solid #06d6a0;
    box-shadow: 0 0 10px rgba(6, 214, 160, 0.3);
}

.cabinet-shooter {
    border-color: #118ab2;
    box-shadow: inset 0 0 15px rgba(17, 138, 178, 0.1);
}
.cabinet-shooter .cabinet-marquee {
    color: #118ab2;
    border: 2px solid #118ab2;
    box-shadow: 0 0 10px rgba(17, 138, 178, 0.3);
}

.cabinet-doner {
    border-color: #26c6da;
    background: linear-gradient(180deg, rgba(20, 102, 112, 0.45) 0%, rgba(12, 46, 52, 0.85) 100%);
    box-shadow: inset 0 0 18px rgba(38, 198, 218, 0.2), 0 0 15px rgba(20, 102, 112, 0.5);
}
.cabinet-doner .cabinet-marquee {
    color: #ffffff;
    background: #146670;
    border: 2px solid #ffffff;
    box-shadow: 0 0 12px rgba(38, 198, 218, 0.5);
}
.cabinet-doner .art-logo-doner {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
    border: 2px solid #26c6da;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, filter 0.3s ease;
}
.cabinet-doner:hover .art-logo-doner {
    transform: scale(1.12) rotate(-4deg);
    filter: drop-shadow(0 0 15px #26c6da);
}

.cabinet-art {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.4);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.cabinet-art .art-icon {
    font-size: 4.5rem;
    transition: transform 0.3s ease;
}

.cabinet-invaders:hover .art-icon {
    color: var(--neon-pink);
    filter: drop-shadow(0 0 15px var(--neon-pink));
    transform: scale(1.1);
}

.cabinet-tetris:hover .art-icon {
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 15px var(--neon-cyan));
    transform: scale(1.1);
}

.cabinet-pacman:hover .art-icon {
    color: var(--neon-yellow);
    filter: drop-shadow(0 0 15px var(--neon-yellow));
    transform: scale(1.1);
}

.cabinet-snake:hover .art-icon {
    color: #39ff14;
    filter: drop-shadow(0 0 15px #39ff14);
    transform: scale(1.1);
}

.cabinet-pong:hover .art-icon {
    color: #ffffff;
    filter: drop-shadow(0 0 15px #ffffff);
    transform: scale(1.1);
}

.cabinet-breakout:hover .art-icon {
    color: #ff6600;
    filter: drop-shadow(0 0 15px #ff6600);
    transform: scale(1.1);
}

.cabinet-asteroids:hover .art-icon {
    color: #9d4edd;
    filter: drop-shadow(0 0 15px #9d4edd);
    transform: scale(1.1);
}

.cabinet-frogger:hover .art-icon {
    color: #06d6a0;
    filter: drop-shadow(0 0 15px #06d6a0);
    transform: scale(1.1);
}

.cabinet-flappy:hover .art-icon {
    color: #00b4d8;
    filter: drop-shadow(0 0 15px #00b4d8);
    transform: scale(1.1);
}

.cabinet-galaga:hover .art-icon {
    color: #ef476f;
    filter: drop-shadow(0 0 15px #ef476f);
    transform: scale(1.1);
}

.cabinet-memory:hover .art-icon {
    color: #ff007f;
    filter: drop-shadow(0 0 15px #ff007f);
    transform: scale(1.1);
}

.cabinet-runner:hover .art-icon {
    color: #ffd166;
    filter: drop-shadow(0 0 15px #ffd166);
    transform: scale(1.1);
}

.cabinet-simon:hover .art-icon {
    color: #ef476f;
    filter: drop-shadow(0 0 15px #ef476f);
    transform: scale(1.1);
}

.cabinet-lander:hover .art-icon {
    color: #06d6a0;
    filter: drop-shadow(0 0 15px #06d6a0);
    transform: scale(1.1);
}

.cabinet-shooter:hover .art-icon {
    color: #118ab2;
    filter: drop-shadow(0 0 15px #118ab2);
    transform: scale(1.1);
}

.cabinet-info {
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: #dfd8e6;
    text-align: left;
    display: inline-block;
}

.cabinet-info p {
    margin: 6px 0;
}

.cabinet-info i {
    width: 20px;
    color: var(--neon-cyan);
}

/* Play Screen */
.arcade-game-screen {
    max-width: 600px;
    margin: 0 auto;
}

.arcade-screen-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.arcade-hall-crt {
    border: 10px solid #24143a;
    border-radius: 20px;
    background: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 30px rgba(61, 20, 92, 0.4);
    overflow: hidden;
    position: relative;
    margin: 0 auto 20px auto;
    width: 400px;
    height: 400px;
}

.arcade-hall-crt canvas {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.arcade-game-crt canvas {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Dynamic Controls Layout */
.arcade-hall-controls {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(16, 6, 29, 0.8);
    border: 2px solid #3d145c;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.dpad-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 130px;
}

.dpad-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dpad-center {
    width: 42px;
    height: 42px;
    background: #24143a;
    border: 1px solid #3d145c;
}

.control-btn {
    background: #180922;
    border: 2px solid #3d145c;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
}

.control-btn:active {
    transform: scale(0.95);
    background: #3d145c;
}

.dpad-btn {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
}

#hallTouchUp {
    border-radius: 6px 6px 0 0;
    border-bottom: none;
}
#hallTouchLeft {
    border-radius: 6px 0 0 6px;
    border-right: none;
}
#hallTouchRight {
    border-radius: 0 6px 6px 0;
    border-left: none;
}
#hallTouchDown {
    border-radius: 0 0 6px 6px;
    border-top: none;
}

.action-container {
    display: flex;
    gap: 15px;
}

.action-btn {
    width: 75px;
    height: 50px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
}

.btn-fire {
    border-color: var(--neon-pink);
    box-shadow: 0 0 5px rgba(255, 0, 127, 0.2);
}
.btn-fire:active {
    background: var(--neon-pink) !important;
    color: #000 !important;
    box-shadow: 0 0 15px var(--neon-pink) !important;
}

.btn-rotate {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 5px rgba(0, 243, 255, 0.2);
}
.btn-rotate:active {
    background: var(--neon-cyan) !important;
    color: #000 !important;
    box-shadow: 0 0 15px var(--neon-cyan) !important;
}

/* SPA Tab Isolation Logic */
body.view-arcade-hall section:not(#arcade-hall),
body.view-arcade-hall footer,
body.view-arcade-hall .hero-canvas-bg {
    display: none !important;
}

body:not(.view-arcade-hall) #arcade-hall {
    display: none !important;
}

@media (max-width: 992px) {
    .arcade-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 640px;
    }
}

@media (max-width: 650px) {
    .arcade-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .arcade-hall-crt {
        width: 320px;
        height: 320px;
    }
    .arcade-hall-controls {
        padding: 12px;
    }
    .action-btn {
        width: 60px;
        height: 45px;
        font-size: 0.75rem;
    }
}

/* Arcade Header Layout */
.arcade-header-right {
    display: flex;
    gap: 8px;
    align-items: center;
}

#btnToggleFullscreen {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* Fullscreen Target Container */
.arcade-fullscreen-target {
    position: relative;
}

.btn-exit-fullscreen {
    display: none;
}

/* Fullscreen Mode Styles */
.arcade-fullscreen-target:fullscreen,
.arcade-fullscreen-target:-webkit-full-screen {
    background: #06020c;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.arcade-fullscreen-target:fullscreen .arcade-hall-crt,
.arcade-fullscreen-target:-webkit-full-screen .arcade-hall-crt {
    width: auto;
    height: 80vh;
    max-width: 90vw;
    max-height: 80vh;
    aspect-ratio: 1 / 1;
    border-width: 14px;
}

.arcade-fullscreen-target:fullscreen .arcade-hall-controls,
.arcade-fullscreen-target:-webkit-full-screen .arcade-hall-controls {
    display: flex;
    margin-top: 15px;
    max-width: 600px;
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.15);
}

.arcade-fullscreen-target:fullscreen .btn-exit-fullscreen,
.arcade-fullscreen-target:-webkit-full-screen .btn-exit-fullscreen {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 0, 127, 0.15);
    border: 2px solid var(--neon-pink);
    color: var(--neon-pink);
    padding: 6px 14px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 100;
    transition: all 0.2s ease;
}

.arcade-fullscreen-target:fullscreen .btn-exit-fullscreen:hover,
.arcade-fullscreen-target:-webkit-full-screen .btn-exit-fullscreen:hover {
    background: var(--neon-pink);
    color: #000;
    box-shadow: 0 0 15px var(--neon-pink);
}

.arcade-fullscreen-target:fullscreen .control-help,
.arcade-fullscreen-target:-webkit-full-screen .control-help {
    color: rgba(255, 255, 255, 0.4);
    margin-top: 10px;
}

/* --- Taso Duel Button --- */
.btn-retro-duel {
    background: transparent;
    border: 2px solid var(--neon-yellow);
    color: var(--neon-yellow);
    padding: 8px 16px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}
.btn-retro-duel:hover {
    background: var(--neon-yellow);
    color: #000;
    box-shadow: 0 0 15px var(--neon-yellow);
}

/* --- Sticker Bar --- */
.sticker-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}
.sticker-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
}
.btn-sticker {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    line-height: 1;
}
.btn-sticker:hover {
    transform: scale(1.3);
    background: rgba(255, 255, 255, 0.1);
}

/* --- Taso Duel Modal & Game Styles --- */
.duel-card-modal {
    max-width: 500px;
    width: 90%;
    background: #0d0614;
    border: 3px solid var(--neon-yellow);
    box-shadow: 0 0 25px rgba(255, 223, 0, 0.2);
}
.duel-status-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-heading);
    font-size: 0.9rem;
}
.duel-rights {
    color: var(--neon-yellow);
}
.duel-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
}
.duel-taso-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
}
.duel-taso-card {
    background: #150b24;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.duel-taso-card:hover {
    transform: scale(1.05);
    border-color: var(--neon-yellow);
    box-shadow: 0 0 10px rgba(255, 223, 0, 0.2);
}
.duel-taso-card.selected {
    border-color: var(--neon-yellow);
    background: rgba(255, 223, 0, 0.05);
    box-shadow: 0 0 15px rgba(255, 223, 0, 0.4);
}
.duel-taso-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}
.duel-taso-name {
    font-size: 0.75rem;
    font-weight: bold;
    display: block;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.duel-game-crt {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    margin: 15px auto;
    border: 8px solid #2d2636;
}
#tasoDuelCanvas {
    background: radial-gradient(circle, #2d183d 0%, #11071c 100%);
    display: block;
    width: 100%;
    height: 100%;
}
.power-bar-wrapper {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    z-index: 10;
}
.power-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00ffcc, #ff007f);
    transition: width 0.1s linear;
}
.duel-controls-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
}
.duel-result-text {
    font-size: 1rem;
    margin: 15px 0;
}
.duel-rewards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}
.duel-reward-item {
    background: #1b0c2a;
    border: 1px dashed var(--neon-yellow);
    border-radius: 6px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: reward-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes reward-pop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Opponent selection buttons */
.opponents-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.opponent-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.opponent-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}
.opponent-btn.active {
    background: rgba(255, 223, 0, 0.1);
    border-color: var(--neon-yellow);
    box-shadow: 0 0 10px rgba(255, 223, 0, 0.3);
    color: var(--neon-yellow);
}

/* --- Site wide CRT Mode & Overlay --- */
.site-crt-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999999;
}
#pageWrapper {
    width: 100%;
    position: relative;
}

body.site-crt-active .site-crt-overlay {
    display: block;
}
body.site-crt-active #pageWrapper {
    animation: crt-power-on 0.5s ease-out;
    filter: contrast(1.1) brightness(1.05) saturate(1.1);
}
@keyframes crt-power-on {
    0% { transform: scaleY(0.01) scaleX(0); filter: brightness(3); }
    50% { transform: scaleY(0.01) scaleX(1); filter: brightness(3); }
    100% { transform: scaleY(1) scaleX(1); filter: none; }
}
body.site-crt-active .site-crt-overlay .crt-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0px,
        rgba(0, 0, 0, 0.25) 1.5px,
        rgba(0, 0, 0, 0) 1.5px,
        rgba(0, 0, 0, 0) 3px
    );
    opacity: 0.85;
}
body.site-crt-active .site-crt-overlay::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: radial-gradient(circle, rgba(0,0,0,0) 60%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
}
body.site-crt-active .site-crt-overlay .crt-flicker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 16, 16, 0.05);
    opacity: 0;
    z-index: 1;
    animation: crt-flicker-anim 0.15s infinite;
}
@keyframes crt-flicker-anim {
    0% { opacity: 0.05; }
    50% { opacity: 0.08; }
    100% { opacity: 0.03; }
}

/* Header Site CRT Button */
.btn-site-crt {
    background: transparent;
    border: 2px solid var(--neon-pink);
    color: var(--neon-pink);
    padding: 6px 12px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    margin-left: 15px;
}
.btn-site-crt:hover, .btn-site-crt.active {
    background: var(--neon-pink);
    color: #000;
    box-shadow: 0 0 12px var(--neon-pink);
}

/* Tape filter button active style */
#btnTapeFilter.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.8);
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
    border-color: var(--neon-cyan);
}

/* --- Windows 95 Window Frame (Guestbook cards) --- */
.win95-window {
    background: #c0c0c0 !important;
    border-top: 2px solid #ffffff !important;
    border-left: 2px solid #ffffff !important;
    border-right: 2px solid #808080 !important;
    border-bottom: 2px solid #808080 !important;
    box-shadow: 1px 1px 0 0 #000000 !important;
    padding: 3px !important;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
    color: #000000 !important;
    border-radius: 0 !important;
}
.win95-titlebar {
    background: linear-gradient(90deg, #000080, #1084d0);
    color: #ffffff;
    padding: 3px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}
.win95-title-controls {
    display: flex;
    gap: 2px;
}
.win95-btn {
    width: 16px;
    height: 14px;
    background: #c0c0c0;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    box-shadow: 0.5px 0.5px 0px 0px #000;
    color: #000;
    font-size: 9px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}
.win95-btn:active {
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    box-shadow: none;
    padding-top: 1px;
    padding-left: 1px;
}
.win95-content {
    background: #ffffff;
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    padding: 15px;
    color: #000000;
    min-height: 80px;
    display: flex;
    gap: 15px;
}
.win95-content .entry-author {
    color: #000080 !important;
    font-weight: bold;
}
.win95-content .entry-date {
    color: #808080 !important;
    font-size: 0.75rem;
}
.win95-content .entry-message {
    color: #000000 !important;
    font-size: 0.85rem;
    margin-top: 6px;
    line-height: 1.4;
}

/* MSN Status Message Styles */
.msn-status {
    margin-top: 8px;
    font-size: 0.75rem;
    color: #008000; /* classic MSN green status color */
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    font-style: italic;
}
.msn-status i {
    color: #008000;
}

/* --- 3D Card Flipping for Album --- */
.album-grid {
    perspective: 1000px;
}
.retro-card {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    width: 100%;
    aspect-ratio: 0.75;
    cursor: pointer;
    perspective: 1000px;
}
.retro-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    border-radius: 10px;
}
.retro-card.flipped .retro-card-inner {
    transform: rotateY(180deg);
}
.retro-card-front, .retro-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
}
.retro-card-front {
    background: linear-gradient(135deg, #110724 0%, #250b45 100%);
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    color: #ffffff;
}
.retro-card.locked .retro-card-front {
    border-color: rgba(255, 255, 255, 0.1);
    filter: grayscale(100%);
    opacity: 0.6;
}
.retro-card-back {
    background: linear-gradient(135deg, #1f051a 0%, #470e3c 100%);
    border: 2px solid var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.2);
    color: #ffffff;
    transform: rotateY(180deg);
    overflow-y: auto;
}
.card-lore-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--neon-pink);
    margin-bottom: 8px;
    text-shadow: var(--glow-pink);
}
.card-lore-text {
    font-size: 0.75rem;
    color: var(--text-main);
    line-height: 1.4;
}
.card-tts-indicator {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   Sanal Bebek (Tamagotchi) Widget Styling
   ========================================================================== */
.tamagotchi-widget {
    position: fixed;
    bottom: 290px; /* Positioned right above the cassette player */
    left: 30px;
    right: auto;
    top: auto;
    transform: none;
    width: 250px;
    background: linear-gradient(145deg, #fb4fb9, #e01b84); /* Hot retro pink plastic shell */
    border: 4px solid #140d22;
    border-radius: 60px 60px 80px 80px; /* Egg shape */
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.6),
        0 0 15px rgba(251, 79, 185, 0.4),
        inset 0 4px 6px rgba(255, 255, 255, 0.6);
    z-index: 1999;
    font-family: 'Press Start 2P', monospace;
    overflow: hidden;
    transition: transform var(--transition-smooth), height var(--transition-smooth), bottom var(--transition-smooth), left var(--transition-smooth);
    box-sizing: border-box;
}

.tamagotchi-widget.collapsed {
    height: 48px;
    border-radius: 20px;
}

.tamagotchi-header {
    background: #140d22;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-bottom: 2px solid rgba(251, 79, 185, 0.3);
}

.tamagotchi-page-link:hover {
    color: var(--neon-cyan) !important;
    text-shadow: var(--glow-cyan);
}

.tamagotchi-title {
    font-size: 0.55rem;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tamagotchi-toggle-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.tamagotchi-widget:not(.collapsed) .tamagotchi-toggle-btn {
    transform: rotate(180deg);
}

.tamagotchi-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Green LCD Retro Screen */
.tamagotchi-screen {
    position: relative;
    width: 100%;
    height: 145px;
    background: #8fa382; /* Retro greenish-grey LCD screen */
    border: 6px solid #1e1530;
    border-radius: 8px;
    padding: 8px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    color: #1a2215;
    box-sizing: border-box;
}

.lcd-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.07) 0px,
        rgba(0, 0, 0, 0.07) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
}

.tamagotchi-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.45rem;
    font-weight: bold;
}

.pet-display {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0;
}

.pet-sprite {
    font-size: 2.2rem;
    line-height: 1;
    display: inline-block;
}

.pet-sprite.animate-float {
    animation: petFloat 1.2s ease-in-out infinite;
}

@keyframes petFloat {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-4px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}

.tamagotchi-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-bar-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.4rem;
    font-weight: bold;
}

.bar-label {
    width: 32px;
}

.stat-bar {
    flex-grow: 1;
    height: 6px;
    background: #6c7a63;
    border: 1px solid #1a2215;
    border-radius: 2px;
    overflow: hidden;
    margin-left: 6px;
}

.bar-fill {
    height: 100%;
    background: #1a2215;
    transition: width 0.3s ease-out;
}

.pet-alert-text {
    font-size: 0.38rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
}

/* Tamagotchi Physical Buttons */
.tamagotchi-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.tago-btn {
    flex: 1;
    background: #140d22;
    border: 2px solid var(--neon-pink);
    border-radius: 12px;
    color: var(--neon-pink);
    padding: 8px 4px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 0 #090610;
    transition: transform 0.1s, box-shadow 0.1s;
}

.tago-btn:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #090610;
}

.tago-btn i {
    font-size: 0.75rem;
}

.tago-btn span {
    font-size: 0.35rem;
    text-transform: uppercase;
}

.tago-btn:hover {
    color: #fff;
    border-color: #fff;
    box-shadow: 0 4px 0 #090610, 0 0 5px rgba(255, 255, 255, 0.2);
}

/* Mobile Responsiveness for Sanal Bebek */
@media (max-width: 576px) {
    .tamagotchi-widget {
        left: 20px;
        right: auto;
        bottom: 230px;
        top: auto;
        transform: none;
        width: 210px;
    }
    .tamagotchi-widget.collapsed {
        height: 44px;
        transform: none;
    }
    .tamagotchi-screen {
        height: 125px;
    }
    .pet-sprite {
        font-size: 1.8rem;
    }
}


/* ==========================================================================
   11. Desktop Destroyer (Stres Odası)
   ========================================================================== */
.btn-site-destroyer {
    background: transparent;
    border: 2px solid #ff3d00;
    color: #ff3d00;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    margin-left: 15px;
}
.btn-site-destroyer:hover, .btn-site-destroyer.active {
    background: #ff3d00;
    color: #000;
    box-shadow: 0 0 12px #ff3d00;
}

.destroyer-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11000;
    pointer-events: none;
    overflow: hidden;
}
.destroyer-container.hidden {
    display: none;
}

.destroyer-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

/* Tool cursors using inline SVG emojis */
.destroyer-canvas.cursor-hammer {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' style='font-size:24px'><text y='24'>🔨</text></svg>") 4 24, pointer;
}
.destroyer-canvas.cursor-gun {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path d='M2 10h18v3h4v5h-4v2h-3l-3 5h-3v-5H8v-2H2z' fill='%23333' stroke='%23111' stroke-width='0.8'/><path d='M2 10h18v3h4v2h-4v-1H3v-3z' fill='%23555'/><rect x='20' y='13' width='4' height='2' fill='%23777' rx='0.5'/><rect x='14' y='20' width='3' height='5' fill='%23444' rx='1'/></svg>") 2 12, crosshair;
}
.destroyer-canvas.cursor-saw {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' style='font-size:24px'><text y='24'>🪚</text></svg>") 4 24, pointer;
}
.destroyer-canvas.cursor-flame {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' style='font-size:24px'><text y='24'>🔥</text></svg>") 16 16, crosshair;
}
.destroyer-canvas.cursor-stamp {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' style='font-size:24px'><text y='24'>💮</text></svg>") 16 16, pointer;
}
.destroyer-canvas.cursor-eraser {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' style='font-size:24px'><text y='24'>🧽</text></svg>") 16 16, cell;
}

/* Win95-style floating toolbar */
.destroyer-toolbar {
    background: #c0c0c0;
    border: 3px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 4px;
    width: 220px;
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 11002;
    pointer-events: auto;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
    user-select: none;
    font-family: Tahoma, Geneva, sans-serif;
    box-sizing: border-box;
}
.destroyer-toolbar-header {
    background: #000080;
    color: #ffffff;
    font-weight: bold;
    font-size: 11px;
    padding: 3px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}
.destroyer-toolbar-title {
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.5px;
}
.destroyer-toolbar-close {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #555555 #555555 #ffffff;
    color: #000000;
    font-size: 12px;
    font-weight: bold;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.destroyer-toolbar-close:active {
    border-color: #555555 #ffffff #ffffff #555555;
    padding-top: 1px;
    padding-left: 1px;
}

.destroyer-toolbar-body {
    padding: 6px;
}
.destroyer-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 8px;
}

.d-tool-btn {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 2px;
    gap: 4px;
    cursor: pointer;
    color: #000000;
    font-size: 8px;
    font-weight: bold;
    box-sizing: border-box;
    transition: none;
    line-height: 1.1;
}
.d-tool-btn i {
    font-size: 14px;
    color: #000;
}
.d-tool-btn span {
    text-transform: uppercase;
}
.d-tool-btn:active, .d-tool-btn.active {
    border-color: #808080 #ffffff #ffffff #808080;
    background: #dbdbdb;
    padding-top: 9px;
    padding-bottom: 7px;
}

.destroyer-actions-row {
    display: flex;
    gap: 6px;
    border-top: 2px solid #808080;
    padding-top: 8px;
    margin-top: 4px;
}
.d-action-btn {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    color: #000000;
    font-size: 9px;
    font-weight: bold;
    padding: 6px 4px;
    cursor: pointer;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    transition: none;
}
.d-action-btn:active {
    border-color: #808080 #ffffff #ffffff #808080;
    padding-top: 7px;
    padding-bottom: 5px;
}
.d-exit-btn {
    background: #ff1744;
    color: #ffffff;
    border-color: #ff8a80 #b2102f #b2102f #ff8a80;
}
.d-exit-btn:hover {
    background: #ff3d00;
    color: #fff;
}
.d-exit-btn:active {
    border-color: #b2102f #ff8a80 #ff8a80 #b2102f;
}

@media (max-width: 576px) {
    .destroyer-toolbar {
        top: auto;
        bottom: 20px;
        right: 10px;
        left: 10px;
        width: calc(100% - 20px);
    }
}

/* Hide header button texts on small screens to prevent layout overflow */
@media (max-width: 650px) {
    .header-actions button span {
        display: none;
    }
    .header-actions .btn-site-market span {
        display: inline !important;
    }
    .header-actions button {
        padding: 6px 8px;
        font-size: 0.85rem;
        gap: 0;
    }
    .header-actions .btn-site-market {
        gap: 6px;
    }
    .header-actions #btnSiteCrt {
        display: none !important;
    }
}

/* ==========================================================================
   Profile & Coupons Section
   ========================================================================== */
.profile-section {
    background: radial-gradient(circle at top right, rgba(26, 8, 46, 0.95), rgba(10, 2, 22, 0.98));
    border-top: 2px solid var(--neon-purple);
    border-bottom: 2px solid var(--neon-purple);
    position: relative;
    overflow: hidden;
}

.profile-guest-card {
    background: rgba(20, 10, 35, 0.85);
    border: 3px dashed var(--neon-pink);
    border-radius: 12px;
    padding: 60px 30px;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.15);
    backdrop-filter: blur(8px);
}

.profile-lock-icon {
    font-size: 4rem;
    color: var(--neon-pink);
    margin-bottom: 20px;
    text-shadow: var(--glow-pink);
}

.profile-main-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .profile-main-grid {
        grid-template-columns: 1fr;
    }
}

.profile-card-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.profile-header-card {
    background: rgba(30, 15, 50, 0.9);
    border: 2px solid var(--neon-blue);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 243, 255, 0.15);
    backdrop-filter: blur(10px);
}

.avatar-wrapper {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 20px;
    padding: 4px;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue));
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.avatar-wrapper::after {
    content: "DEĞİŞTİR";
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    color: var(--neon-blue);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    text-shadow: 0 0 5px var(--neon-blue);
    letter-spacing: 1px;
}

.avatar-wrapper:hover::after {
    opacity: 1;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #000;
}

/* Avatar Selection Modal Styles */
.avatar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.avatar-select-card {
    background: rgba(10, 5, 20, 0.85);
    border: 2px solid rgba(0, 243, 255, 0.2);
    border-radius: 8px;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.avatar-select-card:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
    transform: translateY(-2px);
}

.avatar-select-card.selected {
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
    background: rgba(0, 243, 255, 0.1);
}

.avatar-select-img {
    width: 64px;
    height: 64px;
    border-radius: 4px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.avatar-select-name {
    font-size: 0.7rem;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.profile-name-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.profile-email-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    word-break: break-all;
}

.msn-status-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.msn-status-dot {
    width: 10px;
    height: 10px;
    background-color: #39ff14; /* Green */
    border-radius: 50%;
    box-shadow: 0 0 8px #39ff14;
}

.msn-status-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: #39ff14;
    font-weight: bold;
}

.profile-stats-card {
    background: rgba(30, 15, 50, 0.9);
    border: 2px solid var(--neon-purple);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(186, 85, 211, 0.15);
}

.profile-stats-card h4 {
    font-family: var(--font-heading);
    color: var(--neon-pink);
    margin-bottom: 20px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    text-shadow: var(--glow-pink);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    transition: transform 0.2s;
}

.stat-box:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 243, 255, 0.2);
}

.stat-val {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--neon-blue);
    text-shadow: var(--glow-blue);
    margin-bottom: 5px;
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.profile-card-right {
    background: rgba(25, 10, 45, 0.85);
    border: 2px solid var(--neon-purple);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(186, 85, 211, 0.1);
}

.coupons-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.coupons-header-row h4 {
    font-family: var(--font-heading);
    color: var(--neon-blue);
    font-size: 1.2rem;
    text-shadow: var(--glow-blue);
}

.coupons-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    min-height: 200px;
}

.no-coupons-placeholder {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
    padding: 40px 20px;
}

.no-coupons-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.1);
}

/* Coupon Ticket Design */
.coupon-ticket {
    background: #1e1136;
    border: 2px solid var(--neon-pink);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(255, 0, 127, 0.1);
    overflow: hidden;
}

.coupon-ticket::before, .coupon-ticket::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: #0d0417; /* Matches section bg */
    border: 2px solid var(--neon-pink);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}
.coupon-ticket::before {
    left: -10px;
}
.coupon-ticket::after {
    right: -10px;
}

.coupon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
}

.coupon-badge.unused {
    background: rgba(0, 243, 255, 0.2);
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
}

.coupon-badge.used {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
}

.coupon-title {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1rem;
    margin-bottom: 5px;
    margin-right: 50px;
}

.coupon-desc {
    font-size: 0.78rem;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.3;
}

.coupon-code-area {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 12px;
}

.coupon-code-val {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--neon-blue);
    letter-spacing: 2px;
}

.coupon-action-btn {
    width: 100%;
    padding: 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

/* Stamped Stencil Effect for Used Coupons */
.coupon-ticket.is-used {
    border-color: rgba(255, 255, 255, 0.15);
    opacity: 0.6;
}
.coupon-ticket.is-used .coupon-code-val {
    color: var(--text-muted);
    text-decoration: line-through;
}
.coupon-ticket.is-used::after {
    border-color: rgba(255, 255, 255, 0.15);
}
.coupon-ticket.is-used::before {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Used Stamp */
.used-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    border: 3px solid rgba(255, 74, 74, 0.75);
    color: rgba(255, 74, 74, 0.75);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    padding: 4px 15px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    pointer-events: none;
    background: rgba(30, 11, 54, 0.8);
    box-shadow: 0 0 10px rgba(255, 74, 74, 0.2);
}

/* ==========================================
   PIXEL ART CASTLE GATE INTRO OVERLAY
   ========================================== */
.gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0b0518;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
}

.gate-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gate-title-container {
    text-align: center;
    margin-bottom: 25px;
    z-index: 5;
}

.gate-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 2.2rem;
    color: #ffd700;
    text-shadow: 
        4px 4px 0px #9a005a,
        -4px -4px 0px #005aff,
        0px 0px 20px rgba(255, 215, 0, 0.4);
    margin-bottom: 12px;
    letter-spacing: 2px;
    animation: neonPulse 2s infinite alternate;
}

@keyframes neonPulse {
    0% {
        text-shadow: 
            4px 4px 0px #9a005a,
            -4px -4px 0px #005aff,
            0px 0px 10px rgba(255, 215, 0, 0.3);
    }
    100% {
        text-shadow: 
            4px 4px 0px #d5007f,
            -4px -4px 0px #00f3ff,
            0px 0px 25px rgba(255, 215, 0, 0.65);
    }
}

.gate-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #c9b2f5;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.85;
}

.gate-canvas-wrapper {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16/9;
    background: #000;
    border: 5px solid #4a1f94;
    border-radius: 4px;
    box-shadow: 
        0 0 0 4px #000,
        0 0 25px rgba(138, 43, 226, 0.45);
    overflow: hidden;
}

#gateCanvas {
    display: block;
    width: 100%;
    height: 100%;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.gate-control-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    z-index: 5;
}

.lever-label {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.75rem;
    color: #ff007f;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 0, 127, 0.4);
}

.lever-housing {
    position: relative;
    width: 44px;
    height: 80px;
    background: #140826;
    border: 3px solid #ff007f;
    border-radius: 6px;
    box-shadow: 
        inset 0 0 10px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(255, 0, 127, 0.2);
    margin: 15px 0;
    cursor: pointer;
    perspective: 120px;
}

.lever-handle {
    position: absolute;
    left: 50%;
    top: 15px;
    width: 8px;
    height: 50px;
    margin-left: -4px;
    transform-origin: bottom center;
    transform: rotateX(50deg);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lever-handle.pulled {
    transform: rotateX(-50deg);
}

.lever-shaft {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #6e6e6e, #ffffff, #595959);
    border-radius: 4px;
    box-shadow: inset 0 0 2px rgba(0,0,0,0.5);
}

.lever-knob {
    position: absolute;
    top: -14px;
    left: -8px;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle at 7px 7px, #ff4d4d, #aa0000 70%);
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.4),
        0 0 12px rgba(255, 0, 0, 0.5);
}

.lever-status {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.75rem;
    color: #ff3b30;
    text-shadow: 0 0 4px rgba(255, 59, 48, 0.4);
    letter-spacing: 1px;
}

.lever-status.active {
    color: #34c759;
    text-shadow: 0 0 8px rgba(52, 199, 89, 0.855);
}

/* ==========================================
   RETRO WEB BAR (MARQUEE & HIT COUNTER)
   ========================================== */
.retro-web-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #110825;
    border-top: 3px solid var(--neon-cyan);
    border-bottom: 3px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    padding: 10px 0;
    margin-top: 20px;
    z-index: 10;
    position: relative;
    width: 100%;
}

.retro-marquee {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
    color: var(--neon-green);
    background: #000;
    padding: 8px 0;
    width: 100%;
    text-shadow: 0 0 5px var(--neon-green);
    border-top: 1px dashed var(--neon-green);
    border-bottom: 1px dashed var(--neon-green);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hit-counter-container {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.75rem;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px inset #555;
}

.hit-counter-label {
    text-transform: uppercase;
    color: var(--neon-yellow);
    text-shadow: 0 0 5px rgba(255, 230, 0, 0.4);
}

.hit-counter-digits {
    display: flex;
    gap: 2px;
    background: #000;
    padding: 4px;
    border: 3px outset #666;
}

.hit-counter-digits span {
    display: inline-block;
    background: #222;
    color: #ff0000;
    font-family: 'Press Start 2P', monospace;
    font-size: 1.2rem;
    padding: 6px 4px;
    border: 1px solid #111;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.8);
    line-height: 1;
}

/* ==========================================
   WIN 9X ERROR POPUP EASTER EGG
   ========================================== */
.win9x-error-window {
    position: fixed;
    width: 320px;
    background: #c0c0c0;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #000000;
    border-bottom: 2px solid #000000;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #000;
    z-index: 1000000;
    user-select: none;
}

.win9x-title-bar {
    background: linear-gradient(90deg, #000080, #1084d0);
    color: white;
    padding: 3px 5px;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default;
}

.win9x-close-btn {
    background: #c0c0c0;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    font-weight: bold;
    font-size: 11px;
    padding: 0 4px;
    cursor: default;
    color: #000;
}
.win9x-close-btn:active {
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.win9x-content {
    display: flex;
    padding: 15px;
    align-items: flex-start;
    gap: 15px;
}

.win9x-icon {
    font-size: 32px;
    color: #cc0000;
    text-shadow: 1px 1px 0px #fff;
    line-height: 1;
}

.win9x-message {
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.win9x-btn-container {
    text-align: center;
    padding-bottom: 15px;
}

.win9x-ok-btn {
    background: #c0c0c0;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #000000;
    border-bottom: 2px solid #000000;
    padding: 4px 20px;
    font-size: 12px;
    font-family: inherit;
    cursor: default;
    outline: 1px dotted #000;
    outline-offset: -4px;
}
.win9x-ok-btn:active {
    border-top: 2px solid #000000;
    border-left: 2px solid #000000;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    outline: 1px dotted transparent;
}

/* ==========================================
   GRAFFITI WALL (MS PAINT)
   ========================================== */
.graffiti-section {
    background: #0f071f;
    position: relative;
    z-index: 10;
}

.paint-container {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    margin: 0 auto;
}

.paint-app-window {
    background: #c0c0c0;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #000000;
    border-bottom: 2px solid #000000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 2px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.5);
    margin: 0 auto 20px auto;
    min-width: 650px;
    max-width: fit-content;
}

.paint-menu-bar {
    display: flex;
    gap: 15px;
    padding: 2px 10px;
    font-size: 12px;
    color: #000;
}

.paint-menu-bar span {
    cursor: default;
}

.paint-menu-bar span:first-letter {
    text-decoration: underline;
}

.paint-workspace {
    display: flex;
    background: #808080;
    padding: 5px;
    gap: 5px;
}

.paint-toolbar {
    width: 50px;
    background: #c0c0c0;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 2px;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
}

.paint-tool {
    width: 20px;
    height: 20px;
    margin: 1px;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    background: #c0c0c0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    color: #000;
}

.paint-tool.active, .paint-tool:active {
    border-top: 1px solid #000000;
    border-left: 1px solid #000000;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    background: #dfdfdf;
}

.paint-sizes {
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 5px 0;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    background: #fff;
}

.paint-size {
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    color: #000;
}
.paint-size.active {
    background: #000080;
    color: #fff;
}

.paint-canvas-wrapper {
    flex-grow: 1;
    background: #808080;
    padding: 2px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

#graffitiCanvas {
    background: #ffffff;
    cursor: crosshair;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    touch-action: none;
    display: block;
}

.paint-bottom-bar {
    padding: 5px;
    display: flex;
}

.paint-colors {
    display: grid;
    grid-template-columns: repeat(8, 20px);
    grid-template-rows: repeat(2, 20px);
    gap: 1px;
    padding: 2px;
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.paint-color {
    border-top: 1px solid #808080;
    border-left: 1px solid #808080;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    cursor: pointer;
    box-sizing: border-box;
}

.paint-color.active {
    border: 2px dotted #000;
}

.win-controls {
    display: flex;
    gap: 2px;
}

.win9x-btn-small {
    background: #c0c0c0;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #000000;
    border-bottom: 1px solid #000000;
    font-weight: bold;
    font-size: 10px;
    padding: 0 4px;
    cursor: default;
    color: #000;
}

.win9x-btn {
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #000000;
    border-bottom: 2px solid #000000;
    border-radius: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    color: #000;
    background: #c0c0c0;
    text-transform: none;
    letter-spacing: normal;
}
.win9x-btn:active {
    border-top: 2px solid #000000;
    border-left: 2px solid #000000;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}
.win9x-btn.btn-primary {
    background: #c0c0c0;
    outline: 1px dotted #000;
    outline-offset: -4px;
}

.graffiti-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 30px;
}

.graffiti-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.graffiti-item {
    background: #fff;
    padding: 8px;
    border: 3px solid #ccc;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.5);
    transform: rotate(calc(var(--rot) * 1deg));
    transition: transform 0.3s ease;
}

.graffiti-item:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 2;
    position: relative;
}

.graffiti-item img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    display: block;
    image-rendering: pixelated;
}

.graffiti-item .graffiti-meta {
    margin-top: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.7rem;
    color: #666;
    text-align: right;
}

/* ==========================================================================
   Mobile Fixes (Prevent Horizontal Scrolling & Overlap)
   ========================================================================== */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    /* Prevent Menu Items from overlapping */
    .menu-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        border-bottom: 1px dashed rgba(255,255,255,0.4);
    }
    
    .menu-item-title {
        font-size: 1.1rem;
    }
    
    .menu-item-price {
        font-size: 1.1rem;
        align-self: flex-start;
    }
    
    .menu-item-desc {
        font-size: 0.9rem;
    }
    
    .menu-tab-btn {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gate-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem !important;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 768px) { 
    .dashboard-card li { font-size: 0.85rem; } 
    .retro-user-profile {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        padding: 15px;
    }
    .profile-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    .btn-retro-album, .btn-retro-duel, .btn-retro-logout {
        flex: 1 1 auto;
        text-align: center;
        font-size: 0.85rem;
        padding: 8px 10px;
    }
    .quest-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .quest-title-container {
        font-size: 0.65rem;
        line-height: 1.4;
    }
    .quest-reward-badge {
        font-size: 0.65rem;
        align-self: flex-start;
        white-space: normal;
        text-align: center;
    }
    
    /* Leaderboard Fixes */
    .billboard-body {
        overflow-x: auto;
    }
    .leaderboard-table th {
        font-size: 0.55rem;
        padding: 8px 4px;
        white-space: nowrap;
    }
    .leaderboard-table td {
        font-size: 0.65rem;
        padding: 8px 4px;
    }
    
    /* Profile Modal Stats & Coupons Fixes */
    .profile-stats-card, .profile-card-right {
        padding: 15px;
    }
    .profile-stats-card h4, .coupons-header-row h4 {
        font-size: 0.8rem;
        line-height: 1.5;
        white-space: normal;
        text-align: center;
    }
    .coupons-header-row {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .stats-grid {
        gap: 10px;
    }
    .stat-box {
        padding: 10px 5px;
    }
    .stat-lbl {
        font-size: 0.6rem;
    }
    
    /* Cabinet Buttons Fixes */
    .cabinet-buttons {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .btn-arcade {
        width: 38px !important;
        height: 38px !important;
        font-size: 0.9rem !important;
    }
    .btn-red {
        padding: 0 16px !important;
        font-size: 0.6rem !important;
        width: auto !important;
    }
}

/* =========================================
   LOW PERFORMANCE MODE
   ========================================= */
body.low-performance-mode * {
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    backdrop-filter: none !important;
    filter: none !important;
}

body.low-performance-mode .site-crt-overlay,
body.low-performance-mode .crt-scanlines,
body.low-performance-mode .crt-flicker,
body.low-performance-mode .matrix-bg-canvas {
    display: none !important;
}

body.low-performance-mode .btn-retro {
    border: 2px solid var(--neon-cyan) !important;
    background: rgba(0, 50, 50, 0.5) !important;
}


/* Market Tabs CSS */
.market-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}
.market-tab-btn {
    background: var(--bg-primary);
    color: var(--text-muted);
    border: 2px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--font-retro);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.market-tab-btn:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
}
.market-tab-btn.active {
    background: var(--neon-cyan);
    color: #000;
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}
.market-grid.hidden-tab {
    display: none;
}
.market-item.real-item {
    border-color: #ffd700;
    box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.1);
}
.market-item.real-item:hover {
    border-color: #ff8c00;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3), inset 0 0 10px rgba(255, 140, 0, 0.2);
}

/* VIP Theme Background Fix */
body.vip-theme .grid-bg {
    background-image: 
        linear-gradient(rgba(26, 11, 46, 0.9) 0%, rgba(15, 5, 30, 0.95) 100%),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px) !important;
}
body.vip-theme .grid-bg::after {
    background: radial-gradient(circle at center, transparent 0%, #1a0b2e 100%) !important;
}
/* ==========================================
   MARKET & GLOBAL SCORE OVERLAYS & STYLES
   ========================================== */
.header-actions .btn-site-market {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: #111;
    border: 2px solid #fff;
    border-radius: 8px;
    padding: 6px 12px;
    font-weight: 800;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.75rem;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: none;
}
.header-actions .btn-site-market:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

/* Market Modal */
.market-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.market-modal.hidden {
    display: none;
}
.market-modal-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}
.market-container {
    position: relative;
    background: #150d2a;
    border: 4px solid var(--neon-cyan) !important;
    border-radius: 12px;
    padding: 30px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    z-index: 1;
}
.market-close-btn {
    position: absolute;
    top: 15px; right: 15px;
    background: none;
    border: none;
    color: #a09cb0;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}
.market-close-btn:hover {
    color: var(--neon-pink) !important;
}
.market-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px dashed #302650;
    padding-bottom: 20px;
}
.market-header h2 {
    font-family: 'Press Start 2P', monospace;
    color: var(--neon-cyan) !important;
    font-size: 2rem;
    margin: 0 0 10px 0;
    text-shadow: var(--glow-cyan);
}
.market-score-display {
    font-size: 1.3rem;
    color: #ffd700;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
}
.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.market-item {
    background: #20153c;
    border: 2px solid #302650;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.market-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-color: var(--neon-pink) !important;
}
.market-item .item-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}
.market-item h3 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}
.market-item p {
    color: #a09cb0;
    font-size: 0.9rem;
    margin-bottom: 20px;
    height: 40px;
}
.btn-buy {
    width: 100%;
    padding: 10px;
    background: var(--neon-cyan) !important;
    color: #000 !important;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-buy:hover {
    background: #fff !important;
    box-shadow: var(--glow-cyan);
}
.btn-buy:disabled {
    background: #302650 !important;
    color: #504870 !important;
    cursor: not-allowed;
    box-shadow: none;
}

/* Tabs */
.market-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}
.market-tab-btn {
    background: #110825;
    color: #a09cb0;
    border: 2px solid #302650;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.market-tab-btn:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
}
.market-tab-btn.active {
    background: var(--neon-cyan) !important;
    color: #000 !important;
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}
.market-grid.hidden-tab {
    display: none;
}
.market-item.real-item {
    border-color: #ffd700;
    box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.1);
}
.market-item.real-item:hover {
    border-color: #ff8c00 !important;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3), inset 0 0 10px rgba(255, 140, 0, 0.2);
}


/* Single Quest Refresh Button */
.btn-refresh-single-quest {
    background: rgba(48, 38, 80, 0.4);
    color: #a09cb0;
    border: 1px solid #302650;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-refresh-single-quest:hover {
    color: var(--neon-pink) !important;
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.4);
    background: rgba(255, 0, 127, 0.1);
}
.btn-refresh-single-quest i {
    transition: transform 0.4s ease;
}
.btn-refresh-single-quest:hover i {
    transform: rotate(180deg);
}
