/* ==========================================================================
   Sanal Bebek Dedicated Page Styling
   ========================================================================== */

.sanal-bebek-page-body {
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
}

.sanal-bebek-container {
    flex-grow: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
    z-index: 10;
}

/* Header & Back Buttons */
.btn-back-home {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-back-home:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
    background: rgba(0, 243, 255, 0.05);
}

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Unauthorized/Auth warning card */
.auth-warning-card {
    background: rgba(19, 10, 36, 0.8);
    border: 2px solid var(--neon-pink);
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.3);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    margin: 80px auto;
    backdrop-filter: blur(10px);
}

.warning-icon {
    font-size: 4rem;
    color: var(--neon-pink);
    margin-bottom: 20px;
    animation: pulseGlow 2s infinite;
}

.auth-warning-card h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
}

.auth-warning-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Profile details inside header */
#pageUserProfile {
    background: rgba(35, 22, 58, 0.5);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(5px);
}

#pageUserProfile .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    border-right: 1px solid rgba(255,255,255,0.1);
    padding-right: 15px;
}

#pageUserProfile .profile-actions {
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    font-family: 'Press Start 2P', monospace;
}

.lives-indicator, .points-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Playground Layout */
.playground-layout {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.pet-device-column {
    flex-shrink: 0;
    width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.pet-dashboard-column {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* ==========================================================================
   3D EGG SHELL DESIGN
   ========================================================================== */
.tamagotchi-egg-shell {
    width: 340px;
    height: 440px;
    border-radius: 170px 170px 200px 200px; /* Perfect egg shape */
    border: 8px solid #140d22;
    padding: 30px;
    position: relative;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 10px 15px rgba(255, 255, 255, 0.4),
        inset 0 -15px 25px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: background 0.5s ease;
}

/* Shell Skins (color styles) */
.tamagotchi-egg-shell.pink {
    background: linear-gradient(135deg, #fb4fb9 0%, #d81679 100%);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(251, 79, 185, 0.3),
        inset 0 10px 15px rgba(255, 255, 255, 0.4),
        inset 0 -15px 25px rgba(0, 0, 0, 0.4);
}

.tamagotchi-egg-shell.cyan {
    background: linear-gradient(135deg, #00f3ff 0%, #009eb5 100%);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(0, 243, 255, 0.3),
        inset 0 10px 15px rgba(255, 255, 255, 0.5),
        inset 0 -15px 25px rgba(0, 0, 0, 0.4);
}

.tamagotchi-egg-shell.yellow {
    background: linear-gradient(135deg, #ffe600 0%, #b8a600 100%);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(255, 230, 0, 0.2),
        inset 0 10px 15px rgba(255, 255, 255, 0.6),
        inset 0 -15px 25px rgba(0, 0, 0, 0.4);
}

.tamagotchi-egg-shell.purple {
    background: linear-gradient(135deg, #bd00ff 0%, #72009c 100%);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(189, 0, 255, 0.3),
        inset 0 10px 15px rgba(255, 255, 255, 0.4),
        inset 0 -15px 25px rgba(0, 0, 0, 0.4);
}

.tamagotchi-egg-shell.silver {
    background: linear-gradient(135deg, #e0e0e0 0%, #8c8c8c 50%, #adadad 100%);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(220, 220, 220, 0.2),
        inset 0 10px 15px rgba(255, 255, 255, 0.6),
        inset 0 -15px 25px rgba(0, 0, 0, 0.4);
}

.tamagotchi-egg-shell.gold {
    background: linear-gradient(135deg, #ffe066 0%, #d4af37 50%, #f3e5ab 100%);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(212, 175, 55, 0.35),
        inset 0 10px 15px rgba(255, 255, 255, 0.7),
        inset 0 -15px 25px rgba(0, 0, 0, 0.4);
}

.shell-brand {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
    color: #140d22;
    font-weight: bold;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
    margin-top: 10px;
    letter-spacing: 2px;
}

/* LCD Border Case styling */
.lcd-border {
    width: 250px;
    height: 220px;
    background: linear-gradient(135deg, #231c30 0%, #150f1f 100%);
    border: 4px solid #322646;
    border-radius: 12px;
    padding: 12px;
    position: relative;
    box-shadow: 
        inset 0 4px 6px rgba(0, 0, 0, 0.9),
        inset 0 -4px 6px rgba(255, 255, 255, 0.1),
        0 2px 3px rgba(255, 255, 255, 0.15),
        0 0 15px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    transition: all 0.5s ease;
}

/* Premium bezel glare glass sheen reflection overlay */
.lcd-border::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 45%, rgba(0,0,0,0.15) 45.1%, rgba(0,0,0,0.3) 100%);
    border-radius: 8px;
    pointer-events: none;
    z-index: 2;
}

/* Retro print branding text label at the bottom of the screen bezel */
.lcd-border::after {
    content: '★ 16-BIT PET SYSTEM ★';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Press Start 2P', monospace;
    font-size: 5px;
    letter-spacing: 1px;
    opacity: 0.8;
    pointer-events: none;
    z-index: 2;
    transition: color 0.5s ease;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

/* Bezel screws for detailed 3D toy styling */
.bezel-screw {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #888 30%, #444 70%);
    border-radius: 50%;
    box-shadow: 
        inset 0 1px 1px rgba(255,255,255,0.4), 
        0 1px 2px rgba(0,0,0,0.8);
    z-index: 3;
}
.bezel-screw::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 1px;
    width: 6px;
    height: 2px;
    background: #1a1a1a;
}
.bezel-screw.tl { top: 8px; left: 8px; transform: rotate(15deg); }
.bezel-screw.tr { top: 8px; right: 8px; transform: rotate(45deg); }
.bezel-screw.bl { bottom: 8px; left: 8px; transform: rotate(-30deg); }
.bezel-screw.br { bottom: 8px; right: 8px; transform: rotate(70deg); }

/* Color specific Bezel skins */
.tamagotchi-egg-shell.pink .lcd-border {
    background: linear-gradient(135deg, #2b1429 0%, #170715 100%);
    border-color: #571e4d;
    box-shadow: 
        inset 0 4px 6px rgba(0, 0, 0, 0.9),
        0 2px 3px rgba(251, 79, 185, 0.25),
        0 0 12px rgba(251, 79, 185, 0.1);
}
.tamagotchi-egg-shell.pink .lcd-border::after {
    color: #ff85d8;
}

.tamagotchi-egg-shell.cyan .lcd-border {
    background: linear-gradient(135deg, #052636 0%, #02121b 100%);
    border-color: #006075;
    box-shadow: 
        inset 0 4px 6px rgba(0, 0, 0, 0.9),
        0 2px 3px rgba(0, 243, 255, 0.3),
        0 0 12px rgba(0, 243, 255, 0.15);
}
.tamagotchi-egg-shell.cyan .lcd-border::after {
    color: #6bf1ff;
}

.tamagotchi-egg-shell.yellow .lcd-border {
    background: linear-gradient(135deg, #2b2505 0%, #141102 100%);
    border-color: #635700;
    box-shadow: 
        inset 0 4px 6px rgba(0, 0, 0, 0.9),
        0 2px 3px rgba(255, 230, 0, 0.3),
        0 0 12px rgba(255, 230, 0, 0.1);
}
.tamagotchi-egg-shell.yellow .lcd-border::after {
    color: #fff680;
}

.tamagotchi-egg-shell.purple .lcd-border {
    background: linear-gradient(135deg, #230836 0%, #0d0216 100%);
    border-color: #4a0d67;
    box-shadow: 
        inset 0 4px 6px rgba(0, 0, 0, 0.9),
        0 2px 3px rgba(189, 0, 255, 0.3),
        0 0 12px rgba(189, 0, 255, 0.15);
}
.tamagotchi-egg-shell.purple .lcd-border::after {
    color: #e280ff;
}

.tamagotchi-egg-shell.silver .lcd-border {
    background: linear-gradient(135deg, #4d4d4d 0%, #2b2b2b 100%);
    border-color: #707070;
    box-shadow: 
        inset 0 4px 6px rgba(0, 0, 0, 0.9),
        0 2px 3px rgba(220, 220, 220, 0.2),
        0 0 12px rgba(220, 220, 220, 0.1);
}
.tamagotchi-egg-shell.silver .lcd-border::after {
    color: #e0e0e0;
}

.tamagotchi-egg-shell.gold .lcd-border {
    background: linear-gradient(135deg, #4d3a00 0%, #261d00 100%);
    border-color: #997a00;
    box-shadow: 
        inset 0 4px 6px rgba(0, 0, 0, 0.9),
        0 2px 3px rgba(212, 175, 55, 0.35),
        0 0 12px rgba(212, 175, 55, 0.15);
}
.tamagotchi-egg-shell.gold .lcd-border::after {
    color: #ffd700;
}

/* Customizer swatches lock styling */
.color-swatch {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}
.color-swatch.locked-swatch {
    opacity: 0.7;
    filter: saturate(0.5) brightness(0.85);
}
.color-swatch.locked-swatch::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
}

/* Screen color themes */
.lcd-screen {
    width: 100%;
    height: 100%;
    border: 4px solid #100a1c;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    padding: 8px;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Press Start 2P', monospace;
    box-sizing: border-box;
    transition: background-color 0.5s ease;
}

/* Green LCD default */
.lcd-screen.theme-default {
    background-color: #8fa382;
    color: #1a2215;
}

/* Blue LCD */
.lcd-screen.theme-blue {
    background-color: #548cb5;
    color: #0b1a29;
}

/* Green LCD */
.lcd-screen.theme-green {
    background-color: #45a168;
    color: #092613;
}

/* Amber LCD */
.lcd-screen.theme-amber {
    background-color: #cf8f3c;
    color: #2b1904;
}

/* Monochrome LCD (Classic Gameboy style) */
.lcd-screen.theme-mono {
    background-color: #9bbc0f;
    color: #0f380f;
}

/* Neon Pink LCD */
.lcd-screen.theme-pink {
    background-color: #f78da7;
    color: #2a000d;
}

.lcd-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 40%);
    pointer-events: none;
    z-index: 5;
}

.lcd-scanlines {
    z-index: 4;
}

#lcdCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.lcd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.52rem;
    font-weight: bold;
}

.lcd-name-container {
    width: 90px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: inline-block;
    border-left: 1px dotted rgba(0, 0, 0, 0.15);
    border-right: 1px dotted rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

.lcd-name-scroller {
    display: inline-block;
    padding-left: 100%;
    animation: lcdMarquee 7s linear infinite;
    font-size: 0.44rem;
}

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

.lcd-main {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0;
}

.lcd-pet-display {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

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

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

/* Poop Indicator */
.poop-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.poop-sprite {
    position: absolute;
    font-size: 1.2rem;
}

.poop-sprite:nth-child(1) { bottom: 10px; right: 15px; }
.poop-sprite:nth-child(2) { bottom: 25px; right: 35px; }
.poop-sprite:nth-child(3) { bottom: 12px; left: 15px; }

/* Status alerts */
.sick-indicator {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1.2rem;
    animation: blink 1s steps(2, start) infinite;
}

.sleep-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.1rem;
    animation: petFloat 1.5s infinite;
}

.food-animation {
    position: absolute;
    font-size: 1.5rem;
    animation: foodSlide 0.8s forwards;
    z-index: 4;
}

@keyframes foodSlide {
    0% { transform: translate(-40px, -20px) scale(0.5); opacity: 0; }
    50% { transform: translate(-10px, -5px) scale(1); opacity: 1; }
    100% { transform: translate(15px, 15px) scale(0); opacity: 0; }
}

@keyframes blink {
    to { visibility: hidden; }
}

/* Hardware Buttons */
.hardware-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
    margin-bottom: 15px;
}

.button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.egg-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2a223a;
    border: 3px solid #140d22;
    box-shadow: 
        0 4px 0 #0f0b18,
        inset 0 2px 2px rgba(255, 255, 255, 0.2);
    cursor: pointer;
    outline: none;
    transition: transform 0.1s, box-shadow 0.1s;
}

.egg-button:active {
    transform: translateY(3px);
    box-shadow: 
        0 1px 0 #0f0b18,
        inset 0 1px 1px rgba(0, 0, 0, 0.4);
}

.button-label {
    font-family: monospace;
    font-size: 0.55rem;
    color: #140d22;
    font-weight: 800;
}

/* Fast Customizer Swatches */
.fast-customizer {
    background: rgba(19, 10, 36, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 20px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(5px);
}

.fast-customizer h3 {
    font-size: 0.8rem;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-family: var(--font-heading);
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s;
    outline: none;
}

.color-swatch:hover {
    transform: scale(1.15);
}

.color-swatch.active {
    border-color: #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.color-swatch.pink { background: #fb4fb9; }
.color-swatch.cyan { background: #00f3ff; }
.color-swatch.yellow { background: #ffe600; }
.color-swatch.purple { background: #bd00ff; }
.color-swatch.silver { background: #adadad; }
.color-swatch.gold { background: #d4af37; }

/* ==========================================================================
   DASHBOARD TABS & CARDS
   ========================================================================== */
.dashboard-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
}

.tab-btn {
    background: rgba(19, 10, 36, 0.5);
    border: 1px solid var(--border-color);
    border-bottom: none;
    color: var(--text-muted);
    padding: 10px 18px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    color: var(--text-main);
    background: rgba(35, 22, 58, 0.4);
}

.tab-btn.active {
    background: rgba(35, 22, 58, 0.8);
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    border-bottom: 2px solid var(--bg-primary);
    box-shadow: 0 -4px 10px rgba(0, 243, 255, 0.1);
    transform: translateY(2px);
}

.tab-content {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.tab-content.active {
    display: flex;
}

.dashboard-card {
    background: rgba(19, 10, 36, 0.75);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: border-color var(--transition-fast);
}

.dashboard-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.dashboard-card h2 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 20px;
    border-left: 4px solid var(--neon-pink);
    padding-left: 10px;
}

/* Stats progress bars */
.stats-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-progress-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.stat-meta span i {
    margin-right: 6px;
}

.progress-bar-container {
    height: 12px;
    background: #0f0a1c;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.4s ease-out;
}

.fill-hunger { background: linear-gradient(90deg, #ef4444, #f87171); }
.fill-happiness { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.fill-energy { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.fill-health { background: linear-gradient(90deg, #10b981, #34d399); }
.fill-xp { background: linear-gradient(90deg, #a855f7, #c084fc); }

/* Care action buttons grid */
.action-buttons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.care-btn {
    background: rgba(35, 22, 58, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    padding: 16px 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.care-btn i {
    font-size: 1.5rem;
    color: var(--neon-cyan);
    transition: transform 0.2s;
}

.care-btn span {
    font-size: 0.7rem;
    font-weight: bold;
    text-align: center;
}

.care-btn:hover {
    border-color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.15);
}

.care-btn:hover i {
    transform: scale(1.15);
}

.care-btn:active {
    transform: scale(0.97);
}

/* ==========================================================================
   MINI GAMES STYLING
   ========================================================================== */
.section-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

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

.game-item-card {
    background: rgba(35, 22, 58, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition-fast);
}

.game-item-card:hover {
    border-color: var(--neon-pink);
    background: rgba(255, 0, 127, 0.03);
}

.game-art {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 0, 127, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--neon-pink);
    margin-bottom: 5px;
}

.game-item-card h3 {
    font-size: 0.95rem;
    font-weight: bold;
}

.game-item-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    flex-grow: 1;
}

/* Guess Game Screen style */
.game-play-card {
    border-color: var(--neon-cyan);
    position: relative;
    overflow: hidden;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.game-header h3 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--neon-cyan);
}

.btn-close-game {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.guess-game-arena {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
}

.guess-pet-bubble {
    background: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-family: 'Press Start 2P', monospace;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.guess-pet-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #fff transparent;
    display: block;
    width: 0;
}

.guess-pet-sprite {
    font-size: 4.5rem;
    animation: petFloat 1.2s infinite;
}

.guess-buttons {
    display: flex;
    gap: 20px;
    width: 100%;
    max-width: 300px;
}

.guess-buttons .btn {
    flex: 1;
}

.game-feedback {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.65rem;
    color: var(--neon-yellow);
    min-height: 20px;
}

/* Catch Game Screen Arena style */
.catch-game-arena {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.catch-stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.catch-stats strong {
    color: var(--neon-cyan);
}

.catch-canvas-wrapper {
    position: relative;
    border: 3px solid var(--border-color);
    border-radius: 8px;
    background: #0b0717;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

#catchCanvas {
    display: block;
}

.game-over-overlay, .game-start-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 7, 23, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    text-align: center;
    z-index: 10;
}

.game-over-overlay h3, .game-start-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
}

.game-over-overlay p, .game-start-overlay p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.catch-mobile-controls {
    display: none; /* Only shown on mobile */
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

.btn-control {
    flex: 1;
    background: rgba(35, 22, 58, 0.6);
    border: 2px solid var(--border-color);
    color: var(--text-main);
    padding: 14px;
    border-radius: 8px;
    font-size: 1.3rem;
    cursor: pointer;
    outline: none;
    transition: var(--transition-fast);
}

.btn-control:active {
    background: var(--neon-cyan);
    border-color: var(--neon-cyan);
    color: #000;
}

/* ==========================================================================
   SHOP STYLING
   ========================================================================== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.shop-item {
    background: rgba(35, 22, 58, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.shop-item:hover {
    border-color: var(--neon-yellow);
    background: rgba(255, 230, 0, 0.02);
}

.item-icon {
    font-size: 2rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin: 0 auto;
}

.screen-icon.blue { color: var(--neon-cyan); }
.screen-icon.green { color: var(--neon-green); }
.screen-icon.amber { color: #f59e0b; }
.screen-icon.mono { color: #8fa382; }
.screen-icon.pink { color: #ff85d8; }

.item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    align-items: center;
}

.item-details h3 {
    font-size: 0.8rem;
    font-weight: bold;
}

.item-effect {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.item-cost {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.48rem;
    color: var(--neon-yellow);
}

.shop-item-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: auto !important;
}

/* ==========================================================================
   EVOLUTION ALBUM STYLING
   ========================================================================== */
.evolution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.stage-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.stage-sprite {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 5px;
}

.stage-card h3 {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--text-main);
}

.stage-card p {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* State: Locked */
.stage-card.locked {
    opacity: 0.35;
    background: rgba(10, 5, 22, 0.6);
    filter: grayscale(100%);
}

.stage-card.locked .stage-sprite {
    font-size: 2.5rem;
}

.stage-card.locked::after {
    content: '🔒 KİLİTLİ';
    font-family: 'Press Start 2P', monospace;
    font-size: 0.42rem;
    color: var(--neon-pink);
    display: block;
    margin-top: 5px;
}

/* State: Unlocked */
.stage-card.unlocked {
    background: rgba(35, 22, 58, 0.4);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.stage-card.unlocked h3 {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

/* Stage requirement tag */
.stage-req {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.45rem;
    color: var(--neon-yellow);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

/* Stage description text */
.stage-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Discovered Forms Row */
.discovered-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.discovered-icon {
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.25s ease;
    cursor: default;
    position: relative;
}

.discovered-icon.found {
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.25);
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.1);
}

.discovered-icon.found:hover {
    transform: scale(1.25);
    box-shadow: 0 0 18px rgba(0, 243, 255, 0.3);
    border-color: var(--neon-cyan);
}

.discovered-icon.hidden-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0.4;
    filter: grayscale(100%);
    font-size: 1rem;
}

.discovered-icon.hidden-form:hover {
    opacity: 0.6;
    filter: grayscale(50%);
}

/* ==========================================================================
   LOG CARD STYLING
   ========================================================================== */
.log-card {
    margin-top: 5px;
}

.log-entries {
    background: #0c0717;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    height: 120px;
    overflow-y: auto;
    padding: 12px;
    font-family: monospace;
    font-size: 0.78rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--neon-green);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

.log-entry {
    line-height: 1.4;
    word-break: break-all;
}

/* ==========================================================================
   RESPONSIVENESS (MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
    .playground-layout {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .pet-device-column {
        width: 100%;
        max-width: 400px;
    }
    .pet-dashboard-column {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .dashboard-tabs {
        flex-wrap: wrap;
    }
    .tab-btn {
        flex-grow: 1;
        text-align: center;
        justify-content: center;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    .action-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .games-grid {
        grid-template-columns: 1fr;
    }
    .shop-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .shop-item {
        padding: 8px;
    }
    .evolution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .catch-mobile-controls {
        display: flex;
    }
    .header-right-actions {
        gap: 10px;
    }
    #pageUserProfile {
        padding: 4px 10px;
    }
    #pageUserProfile .user-info {
        padding-right: 8px;
    }
    #pageUserProfile .profile-actions {
        gap: 8px;
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .evolution-grid {
        grid-template-columns: 1fr;
    }
    .action-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tamagotchi-egg-shell {
        width: 290px;
        height: 380px;
        padding: 20px;
    }
    .lcd-border {
        width: 210px;
        height: 190px;
    }
    .egg-button {
        width: 28px;
        height: 28px;
    }
}

/* ==========================================================================
   Mahalle Görevleri (Neighborhood RPG Jobs) Styles
   ========================================================================== */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.job-item-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.job-item-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

.job-header {
    display: flex;
    align-items: center;
}

.job-title {
    font-size: 1.05rem;
    font-weight: bold;
    color: #fff;
    margin: 0;
}

.job-req {
    font-size: 0.75rem;
    color: var(--neon-pink);
    margin: 2px 0 0 0;
}

.job-desc {
    font-size: 0.85rem;
    color: #9ca3af;
    line-height: 1.4;
    margin: 0;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.8rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 12px;
    border-radius: 4px;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.active-job-status-panel {
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid var(--neon-cyan);
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.08);
}

.active-job-status-panel h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #fff;
}

/* Job Animation Area Styles */
.job-animation-area {
    margin: 15px 0;
    height: 60px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(0, 243, 255, 0.3);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 1. Bakkal Çıraklığı Animation */
.bakkal-conveyor {
    display: flex;
    gap: 30px;
    position: absolute;
    white-space: nowrap;
    animation: conveyorMove 4s linear infinite;
    font-size: 1.5rem;
}
.bakkal-boy {
    font-size: 1.8rem;
    animation: bakkalBob 1s ease-in-out infinite alternate;
    z-index: 2;
    position: relative;
}
@keyframes conveyorMove {
    0% { transform: translateX(120px); }
    100% { transform: translateX(-180px); }
}
@keyframes bakkalBob {
    0% { transform: translateY(0) scaleY(1); }
    100% { transform: translateY(-5px) scaleY(0.9); }
}

/* 2. Mahalle Gazozuna Maç Animation */
.soccer-field {
    width: 100%;
    height: 100%;
    position: relative;
}
.soccer-player-1, .soccer-player-2 {
    font-size: 1.6rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.soccer-player-1 { left: 20px; animation: soccerKick1 1.6s ease-in-out infinite alternate; }
.soccer-player-2 { right: 20px; animation: soccerKick2 1.6s ease-in-out infinite alternate; }
.soccer-ball {
    font-size: 1.2rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    animation: ballBounce 1.6s ease-in-out infinite alternate;
}
@keyframes soccerKick1 {
    0% { transform: translateY(-50%) translateX(0); }
    30% { transform: translateY(-50%) translateX(10px); }
    100% { transform: translateY(-50%) translateX(0); }
}
@keyframes soccerKick2 {
    0% { transform: translateY(-50%) translateX(0); }
    70% { transform: translateY(-50%) translateX(-10px); }
    100% { transform: translateY(-50%) translateX(0); }
}
@keyframes ballBounce {
    0% { left: 45px; transform: translateY(-50%) rotate(0deg); }
    100% { left: calc(100% - 65px); transform: translateY(-50%) rotate(360deg); }
}

/* 3. Taso Turnuvası Animation */
.taso-arena-anim {
    display: flex;
    align-items: center;
    gap: 40px;
}
.taso-anim-item {
    font-size: 1.8rem;
}
.taso-anim-1 {
    animation: tasoSlide1 2s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}
.taso-anim-2 {
    animation: tasoSlide2 2s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}
@keyframes tasoSlide1 {
    0% { transform: translateX(-50px) scale(1) rotate(0); opacity: 1; }
    40% { transform: translateX(10px) scale(1.1) rotate(180deg); }
    45% { transform: translateX(8px) scale(1) rotate(190deg); filter: drop-shadow(0 0 10px #ff007f); }
    100% { transform: translateX(-50px) scale(1) rotate(360deg); opacity: 0; }
}
@keyframes tasoSlide2 {
    0% { transform: translateX(50px) scale(1) rotate(0); opacity: 0; }
    40% { transform: translateX(-10px) scale(1) rotate(0); opacity: 1; }
    45% { transform: translateX(5px) scale(1.1) rotate(20deg); filter: drop-shadow(0 0 10px #00f3ff); }
    100% { transform: translateX(50px) scale(1) rotate(0); opacity: 0; }
}

/* 4. Atari Salonu Gözcülüğü Animation */
.atari-anim-container {
    display: flex;
    align-items: center;
    gap: 20px;
}
.atari-cabinet {
    font-size: 2rem;
    animation: arcadePulse 1s linear infinite alternate;
}
.atari-coin {
    font-size: 1.2rem;
    animation: coinDrop 1.5s ease-in-out infinite;
}
@keyframes arcadePulse {
    0% { filter: drop-shadow(0 0 2px #00ff00); }
    100% { filter: drop-shadow(0 0 8px #00ff00); }
}
@keyframes coinDrop {
    0% { transform: translateY(-30px); opacity: 0; }
    20% { opacity: 1; }
    80% { transform: translateY(15px); opacity: 1; }
    100% { transform: translateY(20px) scale(0.8); opacity: 0; }
}

/* 5. Kaset Doldurma Yardımcılığı Animation */
.kaset-anim-container {
    display: flex;
    align-items: center;
    gap: 15px;
}
.kaset-tape {
    font-size: 2.2rem;
    animation: tapeSpin 2.5s linear infinite;
}
.kaset-notes {
    font-size: 1.2rem;
    position: absolute;
    animation: noteFly 2s linear infinite;
}
@keyframes tapeSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes noteFly {
    0% { transform: translate(10px, 10px) scale(0.6); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translate(60px, -20px) scale(1.2); opacity: 0; }
}

/* 6. Bisikletle Gazete Dağıtımı Animation */
.bicycle-anim-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.bicycle-rider {
    font-size: 1.8rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    animation: bikeRide 5s linear infinite;
}
.newspaper-thrown {
    font-size: 1.1rem;
    position: absolute;
    animation: paperThrow 2.5s ease-out infinite;
}
@keyframes bikeRide {
    0% { left: -50px; }
    100% { left: calc(100% + 50px); }
}
@keyframes paperThrow {
    0% { left: 40px; top: 15px; transform: scale(0.5) rotate(0deg); opacity: 0; }
    20% { opacity: 1; }
    80% { left: 90px; top: -15px; transform: scale(1.1) rotate(360deg); opacity: 1; }
    100% { left: 100px; top: -10px; transform: scale(1) rotate(420deg); opacity: 0; }
}

/* ==========================================================================
   Simon Says & Rock-Paper-Scissors Game Styles
   ========================================================================== */
.simon-game-arena, .rps-game-arena {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.simon-stats, .rps-status {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.65rem;
    color: var(--neon-yellow);
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Simon Says Board Layout */
.simon-board-wrapper {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.simon-board {
    position: relative;
    width: 220px;
    height: 220px;
    background: #0d091a;
    border-radius: 50%;
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 5px 15px rgba(0,0,0,0.5), 0 0 20px rgba(0, 243, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.simon-btn {
    border: none;
    cursor: pointer;
    opacity: 0.45;
    transition: opacity 0.15s ease, filter 0.15s ease;
    outline: none;
}

.simon-green {
    background-color: #10b981;
    border-top-left-radius: 100%;
    color: #10b981;
}

.simon-red {
    background-color: #ef4444;
    border-top-right-radius: 100%;
    color: #ef4444;
}

.simon-yellow {
    background-color: #f59e0b;
    border-bottom-left-radius: 100%;
    color: #f59e0b;
}

.simon-blue {
    background-color: #3b82f6;
    border-bottom-right-radius: 100%;
    color: #3b82f6;
}

.simon-btn.active {
    opacity: 1;
    filter: brightness(1.6) drop-shadow(0 0 8px currentColor);
}

.simon-btn:hover:not(:disabled) {
    opacity: 0.75;
}

.simon-btn:disabled {
    cursor: default;
}

.simon-center {
    position: absolute;
    width: 64px;
    height: 64px;
    background: #0b0717;
    border-radius: 50%;
    border: 5px solid #0d091a;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10;
}

/* Rock-Paper-Scissors Layout */
.rps-battlefield {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 380px;
    margin: 15px 0;
    background: rgba(0, 0, 0, 0.25);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rps-fighter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100px;
}

.fighter-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: bold;
    letter-spacing: 1px;
}

.fighter-hand {
    font-size: 3.5rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s;
}

.fighter-hand.shake {
    animation: handShake 0.4s infinite alternate ease-in-out;
}

.rps-vs {
    font-family: 'Press Start 2P', monospace;
    font-size: 1rem;
    color: var(--neon-pink);
    text-shadow: 0 0 8px rgba(255, 0, 127, 0.5);
}

.rps-choices {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    margin-top: 10px;
}

.btn-rps-choice {
    flex: 1;
    background: rgba(35, 22, 58, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.btn-rps-choice:hover:not(:disabled) {
    border-color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    transform: translateY(-2px);
}

.btn-rps-choice:active:not(:disabled) {
    transform: translateY(0);
}

.btn-rps-choice:disabled {
    opacity: 0.5;
    cursor: default;
}

/* Animations */
@keyframes handShake {
    0% { transform: translateY(-8px) rotate(-10deg); }
    100% { transform: translateY(8px) rotate(10deg); }
}

/* ==========================================================================
   Tamagotchi Shell Stickers Customize Styles
   ========================================================================== */
.shell-stickers-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99;
}

.shell-sticker {
    position: absolute;
    font-size: 1.7rem;
    filter: 
        drop-shadow(2px 0 0 #ffffff) 
        drop-shadow(-2px 0 0 #ffffff) 
        drop-shadow(0 2px 0 #ffffff) 
        drop-shadow(0 -2px 0 #ffffff) 
        drop-shadow(1.5px 1.5px 0 #ffffff) 
        drop-shadow(-1.5px -1.5px 0 #ffffff) 
        drop-shadow(1.5px -1.5px 0 #ffffff) 
        drop-shadow(-1.5px 1.5px 0 #ffffff)
        drop-shadow(1px 1.5px 1px rgba(0, 0, 0, 0.65));
    user-select: none;
    pointer-events: none;
    transition: transform 0.2s ease;
}

/* Specific Positions for each of the 6 stickers */
.sticker-kaset {
    top: 110px;
    left: 12px;
    transform: rotate(-12deg);
}

.sticker-hayalet {
    top: 110px;
    right: 12px;
    transform: rotate(12deg);
}

.sticker-gozluk {
    top: 195px;
    left: 12px;
    transform: rotate(8deg);
    font-size: 1.6rem;
}

.sticker-uzayli {
    top: 195px;
    right: 12px;
    transform: rotate(-8deg);
    font-size: 1.6rem;
}

.sticker-gameboy {
    top: 15px;
    left: 45px;
    transform: rotate(-15deg);
}

.sticker-ates {
    bottom: 12px;
    right: 45px;
    transform: rotate(15deg);
    font-size: 1.8rem;
}

/* Icon style in Shop Tab */
.sticker-shop-icon {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    width: 60px;
    height: 60px;
    border: 1.5px dashed rgba(0, 243, 255, 0.35);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 5px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.sticker-shop-icon:hover {
    border-color: rgba(0, 243, 255, 0.7);
    background: rgba(0, 243, 255, 0.05);
}

.sticker-preview-emoji {
    display: inline-block;
    filter: 
        drop-shadow(2px 0 0 #ffffff) 
        drop-shadow(-2px 0 0 #ffffff) 
        drop-shadow(0 2px 0 #ffffff) 
        drop-shadow(0 -2px 0 #ffffff) 
        drop-shadow(1.5px 1.5px 0 #ffffff) 
        drop-shadow(-1.5px -1.5px 0 #ffffff) 
        drop-shadow(1.5px -1.5px 0 #ffffff) 
        drop-shadow(-1.5px 1.5px 0 #ffffff)
        drop-shadow(1px 2.5px 1.5px rgba(0, 0, 0, 0.55));
    transition: transform 0.2s ease;
}

.shop-item:hover .sticker-preview-emoji {
    transform: scale(1.15) rotate(5deg);
}

/* ==========================================================================
   Bakkal Mustafa & Retro Oyuncak Çantası Güncellemeleri CSS
   ========================================================================== */

/* Bakkal Mustafa Kartı */
.mustafa-dialogue-card {
    border: 3px double #dfdfdf;
    background: #111;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    margin-bottom: 25px;
}
.mustafa-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}
.mustafa-avatar {
    font-size: 2.2rem;
    border: 2px solid #555;
    background: #222;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: inset 1px 1px 4px rgba(0,0,0,0.5);
}
.mustafa-header h4 {
    margin: 0;
    color: #fbbf24;
    font-family: monospace;
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(251, 191, 36, 0.3);
}
#mustafa-status {
    font-size: 0.85rem;
    color: #10b981;
    font-family: monospace;
    display: inline-block;
    margin-top: 2px;
}
.mustafa-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #090909;
    border: 1px solid #333;
    padding: 10px 15px;
    border-radius: 4px;
}
.mustafa-body span {
    font-family: monospace;
    font-size: 0.9rem;
}

/* Oyuncak Çantası */
.toys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 15px;
    margin-top: 15px;
}
.toy-card {
    background: #1e1e24;
    border: 2px solid #333;
    border-radius: 6px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.toy-card:hover {
    transform: translateY(-3px);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.25);
    background: rgba(0, 243, 255, 0.03);
}
.toy-card.active {
    border-color: #fbbf24;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
    background: rgba(251, 191, 36, 0.05);
}
.toy-card-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.toy-card-name {
    font-size: 0.75rem;
    font-family: monospace;
    color: #ccc;
    line-height: 1.2;
}

/* Retro Modal Windows */
.retro-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}
.retro-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}
.retro-modal.hidden {
    opacity: 0;
    pointer-events: none;
    display: none !important;
}

/* Win95 Theme Window */
.win95-window {
    position: relative;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    box-shadow: 1px 1px 10px rgba(0,0,0,0.6);
    padding: 2px;
    color: #000;
    font-family: 'Outfit', -apple-system, sans-serif;
    z-index: 10001;
}
.win95-title-bar {
    background: linear-gradient(90deg, #000080, #1080d0);
    color: #fff;
    padding: 3px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.win95-title-text {
    font-weight: bold;
    font-size: 0.85rem;
    font-family: monospace;
    letter-spacing: 0.5px;
}
.win95-close-btn {
    background: #c0c0c0;
    border: 1px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    font-size: 0.8rem;
    width: 16px;
    height: 16px;
    line-height: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    padding: 0;
    color: #000;
}
.win95-close-btn:active {
    border-color: #808080 #ffffff #ffffff #808080;
}
.win95-window-body {
    background: #c0c0c0;
    border: 1px solid #808080;
    padding: 10px;
    margin-top: 2px;
    color: #000;
}
.win95-window-body p {
    color: #000;
}

/* Toybox Animasyonu */
.toybox-anim-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}
.toybox-box-icon {
    font-size: 4rem;
    animation: box-shake 0.8s infinite ease-in-out;
}
@keyframes box-shake {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

/* Taso Paketi Görselleri */
.taso-pack-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}
.taso-open-card {
    width: 100px;
    height: 100px;
    perspective: 600px;
}
.taso-open-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}
.taso-open-card.flipped .taso-open-inner {
    transform: rotateY(180deg);
}
.taso-open-front, .taso-open-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.taso-open-front {
    background: radial-gradient(circle, #fbbf24 30%, #d97706 90%);
    border: 3px double #fff;
    color: #fff;
    font-size: 2.2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}
.taso-open-back {
    background: #222;
    border: 3px solid #fbbf24;
    color: #fbbf24;
    transform: rotateY(180deg);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}
.taso-open-emoji {
    font-size: 1.8rem;
    margin-bottom: 2px;
}
.taso-open-name {
    font-size: 0.6rem;
    font-family: monospace;
    font-weight: bold;
    color: #fff;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Solo Test Zeka Oyunu Tahtası */
.solotest-board {
    display: grid;
    grid-template-columns: repeat(7, 34px);
    grid-template-rows: repeat(7, 34px);
    gap: 4px;
    background: #222;
    padding: 8px;
    border-radius: 4px;
    border: 2px inset #555;
    user-select: none;
}
.solotest-cell {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.solotest-cell.invalid {
    background: transparent;
    pointer-events: none;
}
.solotest-cell.hole {
    background: #0b0b0d;
    border-radius: 50%;
    border: 2.5px solid #444;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
    cursor: pointer;
}
.solotest-peg {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ef4444 30%, #b91c1c 80%);
    border: 1px solid #7f1d1d;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
    cursor: pointer;
    transition: transform 0.1s ease;
}
.solotest-peg:hover {
    transform: scale(1.1);
}
.solotest-peg.selected {
    background: radial-gradient(circle at 35% 35%, #f59e0b 30%, #d97706 80%);
    border-color: #92400e;
    box-shadow: 0 0 8px #f59e0b, 0 2px 4px rgba(0,0,0,0.4);
    transform: scale(1.15);
    animation: peg-pulse 1s infinite alternate;
}
@keyframes peg-pulse {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2) drop-shadow(0 0 4px rgba(245, 158, 11, 0.7)); }
}

/* Beştaş Oyunu */
.bestas-board-container {
    user-select: none;
}
#bestasCanvas {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

