/* YENİ 30 TEMA (BG: Arkaplan, FG: Çizgi/Yazı, SH: Gölge) - YÜKSEK KONTRAST */
:root { 
    --bg: #120E1F; 
    --fg: #F3E600; 
    --sh: #FF007F; 
    --base-font-size: 16px;
}

html {
    font-size: var(--base-font-size);
}

/* Erişilebilirlik - animasyon azalt */
html[data-reduce-motion="1"] *, 
html[data-reduce-motion="1"] *::before, 
html[data-reduce-motion="1"] *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
}

/* Erişilebilirlik - ekstra kontrast */
body.hc-mode {
    filter: contrast(1.25) saturate(1.1);
}

/* 5 KOYU TEMA */
[data-theme="gece_mavisi"] { --bg: #0B0C10; --fg: #66FCF1; --sh: #45A29E; }
[data-theme="siber_uzay"] { --bg: #120E1F; --fg: #F3E600; --sh: #FF007F; }
[data-theme="kanli_ay"] { --bg: #1A0000; --fg: #FF3333; --sh: #FF8800; }
[data-theme="zehirli_sarmasik"] { --bg: #051A0F; --fg: #39FF14; --sh: #0080FF; }
[data-theme="karanlik_madde"] { --bg: #101010; --fg: #FFFFFF; --sh: #8A2BE2; }

/* 5 AÇIK TEMA */
[data-theme="porselen"] { --bg: #F8F9FA; --fg: #212529; --sh: #FF4500; }
[data-theme="kagit_ucak"] { --bg: #FDF5E6; --fg: #003366; --sh: #E63946; }
[data-theme="gun_isigi"] { --bg: #FFFFE0; --fg: #8B4513; --sh: #32CD32; }
[data-theme="nane_sekeri"] { --bg: #E0FFFF; --fg: #006400; --sh: #FF1493; }
[data-theme="pamuk_seker"] { --bg: #FFF0F5; --fg: #4B0082; --sh: #00CED1; }

/* 20 GÖZ ALICI TEMA */
[data-theme="retro_arcade"] { --bg: #2B00FF; --fg: #FFFF00; --sh: #FF0000; }
[data-theme="gunbatimi_vibes"] { --bg: #FF7E67; --fg: #09203F; --sh: #FFE194; }
[data-theme="matrix_hata"] { --bg: #000000; --fg: #00FF41; --sh: #FF003C; }
[data-theme="tokyo_neon"] { --bg: #1A1A2E; --fg: #E94560; --sh: #00E5FF; }
[data-theme="coke_classic"] { --bg: #F40009; --fg: #FFFFFF; --sh: #000000; }
[data-theme="lav_kuyusu"] { --bg: #FF4500; --fg: #FFFF00; --sh: #8B0000; }
[data-theme="buzul_cagi"] { --bg: #AEECEF; --fg: #000080; --sh: #FFFFFF; }
[data-theme="sakura_yaprak"] { --bg: #FFB7B2; --fg: #6A0572; --sh: #E2F0CB; }
[data-theme="hardal_lekesi"] { --bg: #E1AD01; --fg: #2F4F4F; --sh: #8B0000; }
[data-theme="kaset_bandi"] { --bg: #C0C0C0; --fg: #000000; --sh: #FF00FF; }
[data-theme="zehirli_mantar"] { --bg: #8A2BE2; --fg: #00FF00; --sh: #FF4500; }
[data-theme="soluk_fotograf"] { --bg: #D2B48C; --fg: #5C4033; --sh: #F5F5DC; }
[data-theme="asit_yagmuru"] { --bg: #CCFF00; --fg: #000000; --sh: #FF00FF; }
[data-theme="kizil_kum"] { --bg: #E27D60; --fg: #85DCBA; --sh: #41B3A3; }
[data-theme="galaksi_tozu"] { --bg: #240046; --fg: #FF9E00; --sh: #00FFFF; }
[data-theme="deniz_alti"] { --bg: #006994; --fg: #FFD700; --sh: #FF7F50; }
[data-theme="orman_meyvesi"] { --bg: #4A0E4E; --fg: #F3E5AB; --sh: #81B622; }
[data-theme="iyot_kokusu"] { --bg: #48D1CC; --fg: #00008B; --sh: #FFA500; }
[data-theme="sararmis_kagit"] { --bg: #F4A460; --fg: #8B0000; --sh: #FFE4B5; }
[data-theme="vampir_disi"] { --bg: #800000; --fg: #FFFFFF; --sh: #000000; }

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Courier New', Courier, monospace; }

body { 
    background: var(--bg); color: var(--fg); display: flex; justify-content: center; 
    padding: 20px; transition: background 0.2s, color 0.2s;
}

/* Fade animasyonları */
.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

.wrapper { width: 100%; max-width: 450px; }

.box {
    border: 6px solid var(--fg); background: var(--bg); box-shadow: 12px 12px 0 var(--sh);
    padding: 25px 20px; margin-bottom: 35px; transition: all 0.2s;
}

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

h1 { 
    font-size: 2.2rem; text-transform: uppercase; background: var(--fg); color: var(--bg); 
    padding: 10px 15px; border: 4px solid var(--fg); box-shadow: 6px 6px 0 var(--sh); transform: rotate(-2deg); display: inline-block;
    transition: all 0.2s;
}

.hamburger { background: transparent; border: none; color: var(--fg); font-size: 2.5rem; cursor: pointer; font-weight: bold; }

.slide-menu { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.slide-menu.open { max-height: 520px; overflow-y: auto; overflow-x: hidden; }
.menu-content { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.menu-link { text-decoration: none; color: var(--fg); font-weight: 900; font-size: 1.3rem; text-transform: uppercase; padding: 5px 0; transition: all 0.2s; }
.menu-link:hover { background: var(--fg); color: var(--bg); padding-left: 10px; }
.divider { border-top: 4px dashed var(--fg); margin: 10px 0; }
.theme-controls { display: flex; gap: 10px; }

.select-wrapper { position: relative; flex: 1; height: 48px; }

.theme-select-trigger {
    width: 100%; height: 100%; border: 4px solid var(--fg); background: var(--bg); color: var(--fg); box-shadow: 6px 6px 0 var(--sh);
    padding-left: 75px; font-weight: 900; font-size: 1rem; cursor: pointer; text-transform: uppercase;
    display: flex; align-items: center; position: relative; transition: all 0.2s;
}

.theme-dropdown {
    position: fixed; 
    background: var(--bg); border: 4px solid var(--fg); box-shadow: 12px 12px 0 var(--sh);
    z-index: 10000; display: none; flex-direction: column;
}

.theme-dropdown.show { display: flex; }

.scroll-arrow {
    width: 100%; height: 24px; background: var(--fg); color: var(--bg);
    display: flex; justify-content: center; align-items: center; font-size: 0.9rem;
    cursor: pointer; user-select: none; z-index: 10; flex-shrink: 0; transition: opacity 0.2s;
}
.scroll-arrow.disabled { opacity: 0.15; pointer-events: none; }

.dropdown-list {
    overflow-y: auto; display: flex; flex-direction: column; scrollbar-width: none;
}
.dropdown-list::-webkit-scrollbar { display: none; }

.dropdown-item {
    position: relative; width: 100%; min-height: 48px; padding-left: 75px; background: var(--bg);
    color: var(--fg); font-weight: 900; font-size: 1rem; cursor: pointer; display: flex; align-items: center; border-bottom: 4px solid var(--fg); flex-shrink: 0; text-transform: uppercase;
}

.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover, .dropdown-item.active { background: var(--fg); color: var(--bg); }

.theme-preview { position: absolute; left: 12px; display: flex; gap: 2px; pointer-events: none; }
.color-box { width: 16px; height: 16px; border: 2px solid var(--fg); }

.btn-random {
    padding: 10px 15px; height: 48px; border: 4px solid var(--fg); background: var(--fg); box-shadow: 6px 6px 0 var(--sh);
    color: var(--bg); font-weight: 900; cursor: pointer; transition: all 0.2s;
}
.btn-random:active { box-shadow: 0px 0px 0px var(--sh); transform: translate(6px, 6px); }

h2 { font-size: 1.3rem; margin-bottom: 15px; text-transform: uppercase; }
p { font-weight: bold; line-height: 1.4; margin-bottom: 10px; }
label { font-weight: 900; display: block; margin-bottom: 8px; font-size: 1.1rem; }
input, textarea { width: 100%; padding: 12px; border: 4px solid var(--fg); background: var(--bg); color: var(--fg); font-weight: bold; margin-bottom: 20px; outline: none; }

.btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 15px; font-weight: 900; font-size: 1.2rem; text-decoration: none; border: 4px solid var(--fg); cursor: pointer; transition: all 0.2s; background: var(--bg); color: var(--fg); box-shadow: 6px 6px 0px var(--sh); }
.btn:hover { background: var(--fg); color: var(--bg); }
.btn:active { box-shadow: 0px 0px 0px var(--sh); transform: translate(6px, 6px); }
.btn-submit { background: var(--fg); color: var(--bg); margin-top: 10px; text-transform: uppercase; }
.socials { display: flex; flex-direction: column; gap: 15px; }

.marquee-container { 
    width: 100%; overflow: hidden; background: var(--fg); color: var(--bg); 
    border: 6px solid var(--fg); box-shadow: 12px 12px 0 var(--sh); 
    margin-bottom: 35px; padding: 10px 0; display: flex; transition: all 0.2s;
}
.marquee-inner { display: flex; width: max-content; animation: scrollText 15s linear infinite; }
.marquee-text { font-weight: 900; white-space: nowrap; padding-right: 100px; font-size: inherit; }
@keyframes scrollText { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.list { list-style-type: square; margin-left: 20px; font-weight: bold; }
.list li { margin-bottom: 8px; }
.counter { background: var(--fg); color: var(--bg); font-size: 2.5rem; text-align: center; padding: 10px; letter-spacing: 5px; font-weight: 900; border: 4px solid var(--fg); margin-top: 10px; box-shadow: 6px 6px 0 var(--sh); transition: all 0.2s;}

.cassette { border: 4px solid var(--fg); padding: 15px 10px 25px 10px; position: relative; margin-top: 15px; background: var(--bg); box-shadow: 6px 6px 0 var(--sh); transition: all 0.2s; }
.c-label { background: var(--fg); color: var(--bg); text-align: center; font-weight: 900; padding: 5px; margin: 0 10px 15px 10px; border: 2px solid var(--fg); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; }
.c-wheels { display: flex; justify-content: space-between; align-items: center; padding: 0 15px; }
.wheel { width: 40px; height: 40px; border: 4px solid var(--fg); border-radius: 50%; display: flex; justify-content: center; align-items: center; position: relative; animation: spinTape 3s linear infinite; }
.wheel-spoke { width: 100%; height: 4px; background: var(--fg); position: absolute; }
.wheel-spoke:nth-child(2) { transform: rotate(60deg); }
.wheel-spoke:nth-child(3) { transform: rotate(120deg); }
.wheel-center { width: 14px; height: 14px; background: var(--bg); border-radius: 50%; border: 3px solid var(--fg); z-index: 2; }
.c-window { width: 70px; height: 25px; border: 3px solid var(--fg); overflow: hidden; position: relative; background: var(--bg); }
.tape-line { width: 100%; height: 8px; background: var(--fg); position: absolute; top: 50%; transform: translateY(-50%); }
.c-bottom { position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 60%; height: 10px; border: 4px solid var(--fg); border-bottom: none; background: var(--bg); }
@keyframes spinTape { 100% { transform: rotate(360deg); } }

.tracklist-box { background: var(--fg); color: var(--bg); padding: 15px; border: 4px solid var(--fg); border-top: none; font-weight: 900; box-shadow: 6px 6px 0 var(--sh); transition: all 0.2s;}
.tracklist-box ul { list-style-type: square; margin-left: 20px; }
.tracklist-box li { margin-bottom: 8px; }

.terminal-box { background: #000 !important; color: #39ff14 !important; border-color: var(--fg); box-shadow: 12px 12px 0 var(--sh); }
.terminal-header { border-bottom: 4px dashed #39ff14; padding-bottom: 5px; margin-bottom: 10px; font-weight: bold; text-transform: uppercase; }
.terminal-body { height: 160px; overflow-y: auto; font-size: 0.85rem; line-height: 1.4; font-weight: bold; scrollbar-width: none; }
.terminal-body::-webkit-scrollbar { display: none; }
.terminal-line { margin-bottom: 4px; word-break: break-all; }

.terminal-input-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    border-top: 2px dashed #39ff14;
    padding-top: 8px;
}
.terminal-prompt { font-weight: bold; color: #39ff14; }
#terminalInput {
    background: transparent;
    border: none;
    color: #39ff14;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    font-weight: bold;
    flex: 1;
    outline: none;
    padding: 0;
    margin: 0;
}

.blink-cursor { animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.pet-container { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100px; position: relative; cursor: pointer; margin-top: 30px; }
.speech-bubble {
    background: var(--bg); border: 4px solid var(--fg); color: var(--fg);
    padding: 8px 12px; font-weight: 900; font-size: 0.8rem; border-radius: 0; 
    position: absolute; top: -10px; opacity: 0; transition: opacity 0.2s;
    text-transform: uppercase; z-index: 5; box-shadow: 6px 6px 0 var(--sh);
}
.speech-bubble::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); border-width: 6px 6px 0; border-style: solid; border-color: var(--fg) transparent transparent transparent; }
.speech-bubble.show { opacity: 1; }

.pet-body { width: 45px; height: 35px; background: var(--fg); border-radius: 0; position: relative; animation: pet-bounce 0.8s infinite alternate ease-in-out; transition: all 0.2s; box-shadow: 6px 6px 0 var(--sh); }
.pet-eye { width: 8px; height: 8px; background: var(--bg); position: absolute; top: 10px; border-radius: 0; }
.pet-eye.left { left: 8px; }
.pet-eye.right { right: 8px; }
.pet-mouth { width: 10px; height: 4px; background: var(--bg); position: absolute; top: 22px; left: 17px; border-radius: 0; transition: all 0.2s; }
@keyframes pet-bounce { 0% { transform: translateY(0) scaleY(1); } 100% { transform: translateY(-8px) scaleY(0.9); } }

/* index.html içindeki inline style'ları kaldırmak için yardımcı sınıflar */
.center-align { text-align: center; }
.center-sub { text-align: center; margin-top: 10px; font-size: 0.9rem; }

/* 12. fikir: rastgele mesaj butonu */
.footer-random {
    margin-top: 15px;
    text-align: center;
}

/* 16. fikir: değişim günlüğü */
.changelog { margin-top: 22px; }
.changelog-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* 17. fikir: erişilebilirlik paneli */
.accessibility-panel {
    margin-top: 15px;
    padding: 12px;
    border: 4px solid var(--fg);
    box-shadow: 6px 6px 0 var(--sh);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accessibility-title {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 10px;
}

.access-row {
    display: flex;
    gap: 10px;
}

.access-btn {
    height: 44px;
    width: 100%;
    border: 4px solid var(--fg);
    background: var(--bg);
    color: var(--fg);
    box-shadow: 6px 6px 0 var(--sh);
    cursor: pointer;
    font-weight: 900;
    transition: all 0.2s;
    text-transform: uppercase;
    padding: 0 10px;
}

.access-row .access-btn {
    flex: 1;
    width: auto;
}

.access-btn:hover {
    background: var(--fg);
    color: var(--bg);
}

.access-btn:active {
    box-shadow: 0px 0px 0px var(--sh);
    transform: translate(6px, 6px);
}

.access-toggle-btn {
    width: 100%;
    flex: none;
}

/* 20. fikir: küçük easter egg efekti */
.easter-flash {
    animation: easterFlash 650ms ease-in-out 8;
}

@keyframes easterFlash {
    0% { transform: scale(1); filter: none; }
    20% { transform: scale(1.02); filter: drop-shadow(0 0 18px var(--sh)); }
    40% { transform: scale(0.99); filter: drop-shadow(0 0 26px var(--fg)); }
    60% { transform: scale(1.01); filter: drop-shadow(0 0 18px var(--sh)); }
    100% { transform: scale(1); filter: none; }
}
