/* ==========================================
   GÖZ YORMAYAN KOYU ROMANTİK GÜL & KADİFE FRUTIGER AERO 🌙🌹💖
   Zehra'nın Aşk Sarayı - Koyu Pamuk Şeker Gecesi, Zarif Mobil Metin Kutuları & Karar İnfaz Motoru!
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Outfit:wght@600;700;800&display=swap');

:root {
    --bg-dark-velvet: rgba(28, 10, 21, 0.82);
    --bg-card: rgba(30, 11, 23, 0.84);
    
    --border-glass: rgba(255, 102, 163, 0.55);
    --border-pink: #ff4d94;
    
    --primary-pink: #ff4d94;
    --primary-rose: #d81159;
    --primary-mint: #10b981;
    --accent-purple: #c453ff;
    
    --text-main: #fff0f7;
    --text-muted: #f3adc8;
    --text-title: #ff66a3;
    
    --font-main: 'Fredoka', 'Outfit', sans-serif;
    
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 32px;
    
    --shadow-aero: 0 16px 45px rgba(0, 0, 0, 0.78), 0 0 25px rgba(255, 77, 148, 0.18), inset 0 1px 3px rgba(255, 255, 255, 0.18);
    --shadow-pink: 0 8px 24px rgba(255, 77, 148, 0.38), inset 0 2px 3px rgba(255,255,255,0.4);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    touch-action: manipulation;
}

/* Göz Yormayan Koyu Gül ve Kadife Aşk Gecesi Arka Planı 🌙🌹 */
body {
    background: linear-gradient(145deg, #10030a 0%, #200816 38%, #2e0d22 68%, #15040e 100%);
    background-size: 200% 200%;
    animation: aeroDreamFloat 18s ease infinite;
    color: var(--text-main);
    font-family: var(--font-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 4rem;
}

@keyframes aeroDreamFloat {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Arka Plan Yüzen Kalpler ve Koyu Gül Sakura Baloncukları Canvasi */
#hearts-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

/* ==========================================
   GİRİŞ ŞİFRE EKRANI (DARK VELVET ROSE)
   ========================================== */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(14, 3, 9, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.login-overlay.active { opacity: 1; pointer-events: auto; }

.login-card {
    text-align: center;
    max-width: 420px;
    width: 100%;
    border: 2.5px solid rgba(255, 102, 163, 0.65) !important;
    background: var(--bg-card) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 77, 148, 0.25), inset 0 2px 5px rgba(255,255,255,0.2) !important;
    border-radius: var(--radius-lg) !important;
    padding: 2.5rem 2rem !important;
    animation: aeroSpringUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.login-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: #ff66a3;
    margin-bottom: 0.5rem;
    letter-spacing: -0.4px;
    text-shadow: 0 0 16px rgba(255, 102, 163, 0.5);
}

/* ZARİF VE İNCE METİN KUTUSU TASARIMI (MOBİLDE KABA OLMAYAN ESTETİK) */
.custom-input {
    width: 100%;
    padding: 0.95rem 1.4rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 102, 163, 0.6);
    background: rgba(18, 5, 13, 0.95);
    color: #fff0f7;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), inset 0 1px 4px rgba(0,0,0,0.4);
}

.custom-input:focus {
    border-color: #ff4d94;
    box-shadow: 0 0 20px rgba(255, 77, 148, 0.6), inset 0 1px 4px rgba(0,0,0,0.2);
    transform: scale(1.01);
}

.custom-input::placeholder { color: #9c6882; font-weight: 600; font-size: 0.98rem; }

/* ==========================================
   ÜST KONSOL BARI (DARK VELVET RIBBON) 👑
   ========================================== */
.aero-header-console {
    position: sticky;
    top: 0;
    z-index: 500;
    max-width: 960px;
    width: calc(100% - 2rem);
    margin: 0.8rem auto 0.5rem auto;
    padding: 1rem 2rem;
    background: rgba(26, 9, 19, 0.86);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 2.5px solid rgba(255, 102, 163, 0.55);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 20px rgba(255, 77, 148, 0.15), inset 0 1px 2px rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-top-row { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo-container { display: flex; align-items: center; gap: 0.6rem; }
.logo-icon { font-size: 2.4rem; color: #ff4d94; filter: drop-shadow(0 3px 10px rgba(255, 77, 148, 0.6)); animation: bounceSlow 2.2s infinite ease-in-out; }

@keyframes bounceSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

h1 {
    font-size: 2.3rem !important;
    font-weight: 800 !important;
    color: #ff66a3 !important;
    text-shadow: 0 0 15px rgba(255, 102, 163, 0.45) !important;
    letter-spacing: -0.5px !important;
    margin: 0 !important;
    display: inline-block !important;
}

.header-controls { display: flex; gap: 0.75rem; align-items: center; }

.aero-btn-mini {
    background: linear-gradient(180deg, #2d1022 0%, #170511 100%);
    border: 2px solid rgba(255, 102, 163, 0.6);
    color: #ff85b8;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255,255,255,0.15);
}

.aero-btn-mini:hover {
    background: linear-gradient(180deg, #ff4d94 0%, #b8145b 100%);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 24px rgba(255, 77, 148, 0.5);
}

.aero-btn-mini:active { transform: translateY(2px) scale(0.95) !important; }

/* ==========================================
   ANA UYGULAMA SAHNESİ
   ========================================== */
main {
    position: relative;
    z-index: 10;
    flex: 1;
    max-width: 960px;
    width: calc(100% - 2rem);
    margin: 1.2rem auto 3rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab-content {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    animation: aeroSpringUp 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

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

@keyframes aeroSpringUp {
    0% { opacity: 0; transform: translateY(30px) scale(0.96); }
    70% { opacity: 1; transform: translateY(-5px) scale(1.01); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================
   0. ANA EKRAN PORTAL DASHBOARD'U 👑💖
   ========================================== */
.home-hero-banner {
    background: linear-gradient(135deg, rgba(35, 12, 26, 0.88) 0%, rgba(22, 7, 16, 0.85) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 2.5px solid rgba(255, 102, 163, 0.6);
    border-radius: 32px;
    padding: 1.8rem 2.5rem;
    margin-bottom: 1.8rem;
    width: 100%;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.75), 0 0 25px rgba(255, 77, 148, 0.15), inset 0 1px 3px rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.8rem;
}

.hero-title {
    font-size: 2.25rem !important;
    font-weight: 800;
    color: #ff66a3 !important;
    margin: 0 !important;
    letter-spacing: -0.4px;
    text-shadow: 0 0 18px rgba(255, 102, 163, 0.55);
}

/* 5 Büyük Koyu Kadife Gül Portal Kartı Izgarası */
.aero-portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.6rem;
    width: 100%;
}

.aero-portal-card {
    background: rgba(28, 10, 21, 0.84);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    border: 2.5px solid rgba(255, 102, 163, 0.55);
    border-radius: 32px;
    padding: 2.2rem 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.78), 0 0 18px rgba(255, 77, 148, 0.12), inset 0 1px 3px rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}

.aero-portal-card:hover {
    transform: translateY(-10px) scale(1.03);
    background: rgba(40, 14, 30, 0.94);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.92), 0 0 32px rgba(255, 77, 148, 0.45), inset 0 1px 4px rgba(255,255,255,0.3);
    border-color: #ffffff;
}

.aero-portal-card:active { transform: translateY(2px) scale(0.97) !important; }

.portal-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4d94 0%, #b8145b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(255, 77, 148, 0.5), inset 0 2px 5px rgba(255,255,255,0.6);
    margin-bottom: 1.4rem;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aero-portal-card:hover .portal-icon-circle { transform: scale(1.16) rotate(10deg); }

.portal-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.55rem;
    font-family: var(--font-main);
    text-shadow: 0 0 12px rgba(255,255,255,0.3);
}

.portal-desc {
    font-size: 1.02rem;
    color: #f3adc8;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 1.6rem;
    flex: 1;
}

.portal-action-badge {
    background: #ff3385;
    color: #ffffff;
    padding: 0.68rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.98rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 51, 133, 0.45), inset 0 1px 2px rgba(255,255,255,0.5);
    transition: all 0.2s;
}

.aero-portal-card:hover .portal-action-badge { transform: scale(1.06); filter: brightness(1.15); }

/* ==========================================
   OYUN ARENASI GERİ DÖNÜŞ BARI 🏠⬅️
   ========================================== */
.arena-top-bar { width: 100%; display: flex; justify-content: flex-start; margin-bottom: 1.2rem; }

.back-home-btn {
    background: rgba(28, 10, 21, 0.9);
    color: #ff85b8;
    border: 2px solid rgba(255, 102, 163, 0.6);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 1.02rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 12px rgba(255, 102, 163, 0.2), inset 0 1px 2px rgba(255,255,255,0.15);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.back-home-btn:hover {
    background: #ff4d94;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateX(-5px) scale(1.03);
    box-shadow: 0 10px 28px rgba(255, 77, 148, 0.5);
}

.back-home-btn:active { transform: translateY(2px) scale(0.96) !important; }

/* ==========================================
   OYUN VE KART SAHNELERİ (INCE VE ZARİF BOYUTLAR)
   ========================================== */
.game-card {
    background: var(--bg-card);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 2.5px solid rgba(255, 102, 163, 0.6);
    border-radius: var(--radius-lg);
    padding: 2.2rem 2rem;
    width: 100%;
    box-shadow: var(--shadow-aero);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.game-header { text-align: center; margin-bottom: 1.5rem; }
.game-title { font-size: 2rem; font-weight: 800; color: #ff66a3; display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-bottom: 0.4rem; text-shadow: 0 0 16px rgba(255, 102, 163, 0.5); }
.game-desc { font-size: 1.05rem; color: #f3adc8; font-weight: 700; max-width: 540px; margin: 0 auto; line-height: 1.45; }

/* ==========================================
   WORDLE OYUN STİLLERİ
   ========================================== */
.wordle-info { display: flex; justify-content: space-between; width: 100%; max-width: 460px; margin-bottom: 1rem; font-size: 0.98rem; padding: 0 0.4rem; font-weight: 800; color: #e8a2c5; }

.wordle-hint-box {
    background: rgba(42, 14, 32, 0.9);
    border: 2px dashed #ff4d94;
    color: #fff0f7;
    padding: 0.95rem 1.5rem;
    border-radius: 22px;
    font-size: 1.05rem;
    font-weight: 800;
    text-align: center;
    width: 100%;
    max-width: 500px;
    margin-bottom: 1.6rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.wordle-grid { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.6rem; align-items: center; }
.wordle-row { display: flex; gap: 0.6rem; }

.wordle-tile {
    width: 52px;
    height: 52px;
    border: 3px solid rgba(255, 102, 163, 0.5);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    background: rgba(22, 8, 17, 0.94);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6), inset 0 1px 3px rgba(255,255,255,0.15);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wordle-tile.focus { border-color: #ff3385; box-shadow: 0 0 0 3px rgba(255, 51, 133, 0.3), 0 0 16px rgba(255,51,133,0.5); transform: scale(1.06); }
.wordle-tile.correct { background: linear-gradient(180deg, #10b981 0%, #059669 100%); border-color: #ffffff; color: #ffffff; box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5); transform: scale(1.05) rotate(4deg); }
.wordle-tile.wrong { background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%); border-color: #ffffff; color: #ffffff; box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5); animation: shake 0.4s ease; }

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px) rotate(-3deg); }
    75% { transform: translateX(8px) rotate(3deg); }
}

.keyboard { display: flex; flex-direction: column; gap: 0.45rem; width: 100%; max-width: 530px; margin: 0 auto; }
.key-row { display: flex; justify-content: center; gap: 0.38rem; width: 100%; }
.key-btn {
    flex: 1;
    max-width: 46px;
    height: 46px;
    background: linear-gradient(180deg, #2d1022 0%, #170511 100%);
    border: 2px solid rgba(255, 102, 163, 0.5);
    border-radius: 12px;
    color: #ffb8d9;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.key-btn:hover { background: #ff4d94; color: #ffffff; border-color: #ffffff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255, 77, 148, 0.5); }
.key-btn:active { transform: translateY(2px) !important; }
.key-btn.correct { background: #059669; color: #ffffff; border-color: #ffffff; }
.key-btn.wrong { background: #331426; color: #7a3a5a; border-color: #4f213b; opacity: 0.6; }

/* ==========================================
   SUDOKU STİLLERİ
   ========================================== */
.sudoku-container { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; width: 100%; max-width: 440px; }

.sudoku-board {
    display: grid !important;
    grid-template-columns: repeat(9, 1fr) !important;
    gap: 3.5px;
    background: linear-gradient(135deg, #ff4d94 0%, #a81c5a 100%);
    padding: 6px;
    border-radius: 20px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 77, 148, 0.35), inset 0 1px 4px rgba(255,255,255,0.3);
    border: 3px solid #ff4d94;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
}

.sudoku-cell {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: rgba(22, 8, 17, 0.95);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff0f7;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sudoku-cell.fixed { background: rgba(36, 14, 28, 0.96); color: #ff66a3; cursor: default; }
.sudoku-cell.selected { background: #ff3385 !important; color: #ffffff !important; transform: scale(1.08); box-shadow: 0 0 20px rgba(255, 51, 133, 0.9); z-index: 5; }
.sudoku-cell.highlighted { background: rgba(255, 102, 163, 0.22) !important; color: #ffffff; }
.sudoku-cell.same-num { background: rgba(255, 51, 133, 0.45) !important; color: #ffffff; box-shadow: inset 0 0 10px #ffffff; border: 1.5px solid #ffffff; }
.sudoku-cell.correct-anim { background: #10b981 !important; color: #ffffff !important; animation: bounceSlow 0.4s ease; }
.sudoku-cell.error { background: #dc2626 !important; color: #ffffff !important; animation: shake 0.4s ease; }

.numpad { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.55rem; width: 100%; max-width: 420px; }

.numpad-btn {
    height: 48px;
    background: linear-gradient(180deg, #2d1022 0%, #170511 100%);
    border: 2px solid rgba(255, 102, 163, 0.6);
    border-radius: 14px;
    color: #ff85b8;
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.numpad-btn:hover { background: #ff4d94; color: #ffffff; border-color: #ffffff; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(255, 77, 148, 0.5); }
.numpad-btn:active { transform: translateY(2px) !important; }
.numpad-btn.clear-btn { border-color: #ff3385; color: #ff3385; background: rgba(35, 12, 26, 0.9); font-size: 1.25rem; }

/* ==========================================
   MALBOR ARENASI 🔥🚬
   ========================================== */
.cig-simulator-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 530px;
    height: 250px;
    background: linear-gradient(180deg, #16040d 0%, #0d0208 100%) !important;
    border: 3px solid #ff4d94 !important;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 30px rgba(255, 77, 148, 0.3), inset 0 0 40px rgba(0, 0, 0, 0.95) !important;
}

.cig-status-badge {
    position: absolute;
    top: 1.2rem;
    background: rgba(255, 77, 148, 0.22);
    border: 2px solid #ff4d94;
    color: #ffffff;
    padding: 0.45rem 1.4rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.02rem;
    text-shadow: 0 0 12px rgba(255, 77, 148, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.3px;
}

.cig-container { display: flex; align-items: center; width: 310px; height: 50px; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.9)); position: relative; margin-top: 2rem; }
.cig-filter { width: 80px; height: 100%; background: linear-gradient(180deg, #d48b38 0%, #b86b1a 50%, #90500e 100%); border-radius: 12px 0 0 12px; border-right: 3px solid rgba(0, 0, 0, 0.45); flex-shrink: 0; }
.cig-body { height: 100%; background: linear-gradient(180deg, #ffffff 0%, #e8ecf1 50%, #ccd4df 100%); width: 218px; transition: width 0.1s linear; }
.cig-ash { height: 100%; background: linear-gradient(180deg, #8c979a 0%, #4a5459 100%); width: 0px; transition: width 0.1s linear; opacity: 0; border-radius: 0 6px 6px 0; }
.cig-tip { width: 12px; height: 100%; background: #ff2a00; box-shadow: 0 0 25px #ff1a00, 0 0 45px #ff4d00; border-radius: 0 12px 12px 0; transition: all 0.2s ease; position: relative; }
.cig-tip.puffing { background: #ffff00 !important; box-shadow: 0 0 40px #ffff00, 0 0 75px #ff3300 !important; transform: scaleX(1.4) scaleY(1.1); }
.cig-smoke { position: absolute; bottom: 42px; left: -20px; width: 50px; height: 82px; pointer-events: none; }
.cig-smoke span { position: absolute; bottom: 0; width: 22px; height: 22px; background: rgba(255, 235, 246, 0.7); border-radius: 50%; filter: blur(7px); animation: smokeRise 2.2s infinite ease-out; }
.cig-smoke span:nth-child(2) { animation-delay: 0.7s; left: 14px; }
.cig-smoke span:nth-child(3) { animation-delay: 1.4s; left: -14px; }
.cig-smoke.dense-smoke span { background: rgba(255, 200, 230, 0.95); filter: blur(8px); animation-duration: 1.4s; }

@keyframes smokeRise {
    0% { transform: translateY(0) scale(0.8); opacity: 0.7; }
    100% { transform: translateY(-84px) scale(3.3); opacity: 0; }
}

/* ==========================================
   BUTON GRUBLARI 🫧🍬
   ========================================== */
.btn-group { display: flex; gap: 0.9rem; margin-top: 1.5rem; width: 100%; justify-content: center; flex-wrap: wrap; }

.primary-btn, .secondary-btn {
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 1.04rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: 2.5px solid #ffffff;
    letter-spacing: 0.3px;
    transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.primary-btn {
    background: linear-gradient(180deg, #ff4d94 0%, #d81159 100%);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(255, 77, 148, 0.45), inset 0 1px 3px rgba(255,255,255,0.6);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.primary-btn:hover {
    background: linear-gradient(180deg, #ff66a3 0%, #ff2e80 100%);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(255, 77, 148, 0.6), inset 0 2px 4px #ffffff;
}

.primary-btn:active { transform: translateY(2px) scale(0.97) !important; }

.secondary-btn {
    background: linear-gradient(180deg, #2d1022 0%, #170511 100%);
    color: #ff85b8;
    border-color: rgba(255, 102, 163, 0.65);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255,255,255,0.15);
}

.secondary-btn:hover {
    background: #ff4d94;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 26px rgba(255, 77, 148, 0.5);
}

.secondary-btn:active { transform: translateY(2px) scale(0.97) !important; }

/* ==========================================
   FORM, MODAL VE ZARİF DUYARLI TASARIM
   ========================================== */
.custom-textarea {
    width: 100%;
    min-height: 125px;
    padding: 0.95rem 1.3rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 102, 163, 0.6);
    background: rgba(18, 5, 13, 0.95);
    color: #fff0f7;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    outline: none;
    transition: all 0.25s ease;
    resize: vertical;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), inset 0 1px 4px rgba(0,0,0,0.4);
}

.custom-textarea:focus {
    border-color: #ff4d94;
    box-shadow: 0 0 22px rgba(255, 77, 148, 0.6), inset 0 1px 4px rgba(0,0,0,0.2);
    transform: scale(1.01);
}

.custom-textarea::placeholder { color: #9c6882; font-size: 0.95rem; }

.custom-select {
    width: 100%;
    padding: 0.85rem 1.4rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 102, 163, 0.6);
    background: rgba(26, 9, 19, 0.96);
    color: #ff85b8;
    font-family: var(--font-main);
    font-size: 0.98rem;
    font-weight: 800;
    outline: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

.custom-select:focus, .custom-select:hover {
    border-color: #ffffff;
    box-shadow: 0 0 22px rgba(255, 77, 148, 0.6);
    transform: translateY(-2px);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 3, 8, 0.88);
    backdrop-filter: blur(22px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-card {
    background: var(--bg-card);
    border: 3px solid rgba(255, 102, 163, 0.7);
    border-radius: var(--radius-lg);
    padding: 2.3rem 1.9rem;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 35px rgba(255, 77, 148, 0.35);
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-close-icon { position: absolute; top: 1.1rem; right: 1.1rem; background: transparent; border: none; color: #ff4d94; font-size: 1.8rem; cursor: pointer; }
.love-letter-title { font-family: var(--font-main); font-size: 2rem; font-weight: 800; color: #ff66a3; margin-bottom: 0.9rem; text-align: center; }
.love-letter-body { font-size: 1.15rem; line-height: 1.6; color: #fff0f7; white-space: pre-line; margin-bottom: 1.5rem; background: rgba(16, 5, 12, 0.95); padding: 1.4rem; border-radius: 22px; border-left: 5px solid #ff4d94; text-align: center; font-weight: 700; box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6); }

/* ==========================================
   MOBİL EKRAN DUYARLI TASARIM (KABA DİRİMİ SİLEN ZARİF ERGONOMİ) 📱💖
   ========================================== */
@media (max-width: 600px) {
    .aero-header-console { width: calc(100% - 0.9rem); padding: 0.85rem 1.2rem; margin: 0.5rem auto; border-radius: 30px; }
    h1 { font-size: 1.95rem !important; }
    .logo-icon { font-size: 2rem; }
    .aero-btn-mini { width: 42px; height: 42px; font-size: 1.1rem; }
    
    .home-hero-banner { padding: 1.4rem 1.2rem; border-radius: 24px; flex-direction: column; text-align: center; gap: 0.8rem; }
    .hero-title { font-size: 1.75rem !important; }
    .aero-portal-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .aero-portal-card { padding: 1.8rem 1.3rem; border-radius: 28px; }
    .portal-icon-circle { width: 72px; height: 72px; font-size: 2.1rem; margin-bottom: 1.1rem; }
    
    main { width: calc(100% - 0.9rem); margin: 0.5rem auto 2rem auto; }
    
    /* MOBİLDE KART VE FORMLAR ÇOK DAHA KİBAR VE ERGONOMİK! */
    .game-card { padding: 1.5rem 1.1rem !important; border-radius: 26px !important; }
    .game-title { font-size: 1.65rem; }
    .game-desc { font-size: 0.98rem; }
    
    .custom-input, .custom-textarea, .custom-select { font-size: 0.95rem; padding: 0.85rem 1.1rem; border-radius: 16px; }
    .custom-textarea { min-height: 100px; }
    
    /* MOBİL SUDOKU BUG KÖKTEN KAZINDI! */
    .sudoku-board { max-width: 330px !important; padding: 5px; gap: 3px; border-radius: 18px; }
    .sudoku-cell { font-size: 1.15rem; border-radius: 6px; }
    .numpad { grid-template-columns: repeat(5, 1fr); max-width: 330px; gap: 0.45rem; }
    .numpad-btn { height: 44px; font-size: 1.2rem; border-radius: 12px; padding: 0; }
    
    .key-btn { height: 44px; font-size: 0.98rem; }
    .btn-group { flex-direction: column; width: 100%; gap: 0.75rem; margin-top: 1.2rem; }
    .primary-btn, .secondary-btn, .back-home-btn { width: 100%; justify-content: center; padding: 0.8rem 1.4rem; font-size: 0.98rem; }
    .wordle-tile { width: 43px; height: 43px; font-size: 1.4rem; border-radius: 12px; }
    .cig-container { width: 280px; }
}
