/* ==========================================================================
   PREMIUM UI - AESTHETICS FIRST CSS
   ========================================================================== */

:root {
    --bg-dark: #05050A;
    --card-bg: rgba(20, 20, 30, 0.4);
    --card-border: rgba(255, 255, 255, 0.08);
    
    /* Varsayılan Premium Gradients & Colors */
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #ec4899;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Temalar (Renk Seçimi) */
body.theme-blue { --primary: #4361ee; --primary-glow: rgba(67, 97, 238, 0.4); --bg-dark: #050510; }
body.theme-purple { --primary: #8e44ad; --primary-glow: rgba(142, 68, 173, 0.4); --bg-dark: #1a0b2e; }
body.theme-orange { --primary: #e67e22; --primary-glow: rgba(230, 126, 34, 0.4); --bg-dark: #1a1005; }
body.theme-green { --primary: #27ae60; --primary-glow: rgba(39, 174, 96, 0.4); --bg-dark: #051a0e; }

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.5s ease;
}

/* --- Animated Background Mesh --- */
.bg-mesh {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #11111a 0%, var(--bg-dark) 100%);
}
.mesh-blob { position: absolute; filter: blur(100px); opacity: 0.5; border-radius: 50%; animation: float 20s infinite ease-in-out alternate; }
.blob-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; left: -100px; transition: background 0.5s; }
.blob-2 { width: 500px; height: 500px; background: var(--secondary); bottom: -150px; right: -100px; animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; background: var(--accent); top: 40%; left: 60%; animation-delay: -10s; opacity: 0.3; }

@keyframes float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, 50px) scale(1.1); } }

.main-wrapper { width: 100%; max-width: 1400px; padding: 2rem; z-index: 1; display: flex; flex-direction: column; gap: 40px; }

.glass-panel {
    background: var(--card-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border); border-radius: 30px; padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); position: relative; overflow: hidden;
}
.glass-panel::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

/* --- New Header / Navbar --- */
.site-header { display: flex; justify-content: space-between; align-items: center; background: transparent; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 2rem; }
.header-logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); }
.header-logo i { font-size: 2rem; color: var(--primary); }
.header-logo h2 { font-size: 1.4rem; font-weight: 800; color: white; line-height: 1.1; }
.header-logo p { font-size: 0.75rem; color: var(--text-muted); }
.header-nav { display: flex; gap: 25px; }
.header-nav a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: var(--transition); position: relative; }
.header-nav a:hover, .header-nav a.active { color: white; }
.header-nav a.active::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 100%; height: 3px; background: var(--primary); border-radius: 5px; }
.header-actions { display: flex; align-items: center; gap: 15px; }
.btn-header-login { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid rgba(255,255,255,0.2); color: white; padding: 8px 20px; border-radius: 100px; font-weight: 600; font-family: var(--font-heading); cursor: pointer; transition: var(--transition); font-size: 0.9rem; }
.btn-header-login:hover { background: rgba(255,255,255,0.1); border-color: white; transform: translateY(-2px); }

/* --- New Hero Grid --- */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
@media(max-width: 1200px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-left { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }
.badge-pill { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); padding: 6px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 600; }
.hero-title { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; font-family: var(--font-heading); color: white; line-height: 1.1; margin-bottom: 10px; }
.hero-desc { font-size: 1.1rem; color: var(--text-muted); line-height: 1.6; max-width: 90%; }
.mode-tabs { display: flex; background: rgba(255,255,255,0.05); padding: 5px; border-radius: 100px; border: 1px solid var(--card-border); display: inline-flex; }
.mode-btn { background: transparent; border: none; color: var(--text-muted); font-weight: 600; padding: 10px 25px; border-radius: 100px; cursor: pointer; transition: var(--transition); font-size: 0.95rem; }
.mode-btn:hover { color: white; }
.mode-btn.active { background: var(--primary); color: white; box-shadow: 0 4px 15px var(--primary-glow); }

.target-date-box { background: rgba(20,20,30,0.6); border: 1px solid var(--card-border); border-radius: 16px; padding: 20px; width: 100%; display: flex; align-items: center; gap: 20px; margin-top: 10px; }
.target-date-box i { font-size: 2rem; color: var(--text-muted); }
.target-date-info span { display: block; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 5px; }
.target-date-info strong { display: block; color: white; font-size: 1.2rem; font-weight: 700; }

.hero-progress-wrapper { width: 100%; margin-top: 10px; }
.hero-progress-stats { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.progress-container { width: 100%; height: 8px; background: rgba(255,255,255,0.1); border-radius: 100px; overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 100px; transition: width 1.5s ease-out; }

.hero-buttons { display: flex; gap: 15px; margin-top: 10px; flex-wrap: wrap; }
.btn-hero-outline { background: transparent; border: 1px solid var(--card-border); color: var(--text-muted); padding: 12px 20px; border-radius: 12px; font-weight: 600; transition: var(--transition); display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.btn-hero-outline:hover { background: rgba(255,255,255,0.05); color: white; border-color: rgba(255,255,255,0.2); }

/* --- Big Timer Card --- */
.timer-card { background: rgba(15, 20, 35, 0.7); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 30px; padding: 40px; display: flex; flex-direction: column; justify-content: center; height: 100%; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.timer-card h3 { text-align: center; color: white; font-weight: 600; margin-bottom: 30px; font-family: var(--font-heading); }
.timer-grid-new { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.timer-box-new { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 25px 15px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 15px; transition: transform 0.3s; }
.timer-box-new:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); }
.timer-box-new i { font-size: 1.8rem; color: var(--primary); opacity: 0.8; }
.timer-box-new .time-val { font-size: 3.5rem; font-weight: 800; color: white; line-height: 1; font-family: var(--font-heading); text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.timer-box-new .time-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }
.timer-quote { text-align: center; margin-top: 40px; font-style: italic; color: var(--text-muted); font-size: 1.05rem; }

/* --- New Tools Grid --- */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.section-header h2 { font-size: 1.4rem; color: white; font-family: var(--font-heading); display: flex; align-items: center; gap: 10px; }
.section-header a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color 0.3s; }
.section-header a:hover { color: white; }

.tools-grid-new { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
@media(max-width: 1024px) { .tools-grid-new { grid-template-columns: repeat(4, 1fr); } }
@media(max-width: 768px) { .tools-grid-new { grid-template-columns: repeat(3, 1fr); } }
@media(max-width: 480px) { .tools-grid-new { grid-template-columns: repeat(2, 1fr); } }

.tool-card-new { background: rgba(20,20,30,0.4); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 25px 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; cursor: pointer; transition: all 0.3s; text-decoration: none; }
.tool-card-new:hover { background: rgba(255,255,255,0.05); border-color: var(--primary); transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
.tool-card-new .icon-wrapper { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary); background: transparent; }
.tool-card-new span { color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
.tool-card-new:hover span { color: white; }

/* --- 3 Column Info Section --- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 20px; }
@media(max-width: 1024px) { .info-grid { grid-template-columns: 1fr; } }

.info-card { background: rgba(20,20,30,0.4); border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; padding: 30px; }
.info-card-header { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); color: white; font-size: 1.2rem; font-weight: 700; margin-bottom: 25px; }

/* Timeline List */
.timeline-list { display: flex; flex-direction: column; gap: 20px; position: relative; }
.timeline-list::before { content: ''; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: rgba(255,255,255,0.1); }
.timeline-item { position: relative; padding-left: 30px; }
.timeline-item::before { content: ''; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--dot-color, var(--primary)); box-shadow: 0 0 10px var(--dot-color, var(--primary)); }
.timeline-item strong { display: block; color: white; font-size: 1rem; margin-bottom: 4px; }
.timeline-item span { color: var(--text-muted); font-size: 0.85rem; }

/* Exam List */
.exam-list-new { display: flex; flex-direction: column; gap: 15px; }
.exam-item-new { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.exam-item-new:last-child { border-bottom: none; }
.exam-left { display: flex; align-items: center; gap: 15px; }
.exam-tag { padding: 4px 10px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; color: white; min-width: 50px; text-align: center; }
.exam-date { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.exam-right { color: var(--text-muted); font-size: 0.85rem; }

/* Accordion FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; background: rgba(0,0,0,0.2); overflow: hidden; }
.faq-header { width: 100%; text-align: left; padding: 15px 20px; background: transparent; border: none; color: var(--text-muted); font-weight: 500; font-size: 0.95rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s; }
.faq-header:hover { color: white; background: rgba(255,255,255,0.05); }
.faq-content { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }
.faq-item.active .faq-content { padding: 15px 20px; max-height: 200px; border-top: 1px solid rgba(255,255,255,0.05); }
.faq-item.active .faq-header { color: white; }

.view-all-link { display: block; margin-top: 25px; text-align: center; color: var(--primary); text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.view-all-link:hover { text-decoration: underline; }

/* --- CTA Banner --- */
.cta-banner { background: linear-gradient(90deg, #1e3a8a, #3b0764); border-radius: 24px; padding: 40px; display: flex; justify-content: space-between; align-items: center; margin-top: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
@media(max-width: 768px) { .cta-banner { flex-direction: column; text-align: center; gap: 20px; padding: 30px 20px; } }
.cta-left { display: flex; align-items: center; gap: 20px; }
@media(max-width: 768px) { .cta-left { flex-direction: column; } }
.cta-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #38bdf8; }
.cta-text h3 { color: white; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; margin-bottom: 5px; }
.cta-text p { color: rgba(255,255,255,0.7); font-size: 0.95rem; max-width: 500px; }
.btn-cta { background: linear-gradient(90deg, #06b6d4, #3b82f6); color: white; padding: 15px 30px; border-radius: 12px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: transform 0.3s, box-shadow 0.3s; border: none; font-size: 1rem; cursor: pointer; }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(6, 182, 212, 0.4); }

/* --- Overlay Basics Fixes --- */
.overlay-screen { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(5, 5, 10, 0.85); backdrop-filter: blur(15px); z-index: 1000; display: flex; justify-content: center; align-items: center; padding: 2rem; opacity: 0; visibility: hidden; transition: var(--transition); }
.overlay-screen.active { opacity: 1; visibility: visible; }

.modal-box { background: linear-gradient(145deg, rgba(30, 30, 45, 0.8), rgba(15, 15, 25, 0.9)); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid rgba(255,255,255,0.08); border-top: 1px solid rgba(255,255,255,0.15); border-radius: 28px; padding: 40px; width: 100%; max-width: 550px; transform: scale(0.9) translateY(30px); opacity: 0; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 40px 80px rgba(0,0,0,0.8), inset 0 2px 20px rgba(255,255,255,0.02); max-height: 90vh; overflow-y: auto; position: relative; }
.modal-box::-webkit-scrollbar { width: 6px; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }
.overlay-screen.active .modal-box { transform: scale(1) translateY(0); opacity: 1; }

.overlay-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 1.5rem; }
.overlay-header h2 { font-family: var(--font-heading); font-weight: 800; color: white; display: flex; align-items: center; gap: 12px; font-size: 1.6rem; letter-spacing: -0.5px; }
.overlay-header h2 i { color: var(--primary); background: rgba(255,255,255,0.05); padding: 12px; border-radius: 14px; font-size: 1.4rem; }
.btn-close { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.05); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; transition: all 0.3s; }
.btn-close:hover { color: white; background: var(--danger); border-color: var(--danger); transform: rotate(90deg); box-shadow: 0 0 15px rgba(239, 68, 68, 0.5); }


.form-input { width: 100%; padding: 1rem 1.2rem; background: rgba(0,0,0,0.3); border: 1px solid var(--card-border); border-radius: 12px; color: var(--text-main); font-family: var(--font-body); font-size: 1rem; outline: none; transition: var(--transition); margin-bottom: 10px; }
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 10px var(--primary-glow); }
select.form-input { background-color: #1e1e2f !important; color: #ffffff !important; }
select.form-input option { background-color: #1e1e2f !important; color: #ffffff !important; }
.input-group { position: relative; margin-bottom: 1rem; }
.input-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.input-group .form-input { padding-left: 3rem; margin-bottom: 0; }
.auth-buttons { display: flex; gap: 10px; }

.flex-1 { flex: 1; min-width: 100px; }
.flex-2 { flex: 2; min-width: 150px; }
.w-100 { width: 100%; }
.text-center { text-align: center; }
.text-gradient { background: linear-gradient(to right, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.quote-box { text-align: center; font-style: italic; color: var(--accent); opacity: 0.8; }
.eye-protection-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(255, 150, 0, 0.15); pointer-events: none; z-index: 9999; mix-blend-mode: multiply; opacity: 0; transition: opacity 0.5s; }
.eye-protection-overlay.active { opacity: 1; }

/* Modül Spesifik Stiller */
.book-input-group { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.book-item { background: rgba(255,255,255,0.03); padding: 15px; border-radius: 12px; border-left: 4px solid var(--success); margin-bottom: 10px; }
.book-title { font-weight: bold; font-size: 1.1rem; display: flex; justify-content: space-between; }
.book-bar-bg { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 10px; margin-top: 10px; overflow: hidden; }
.book-bar-fill { height: 100%; background: var(--success); transition: width 0.5s; }

.exam-item { background: rgba(255,255,255,0.03); padding: 15px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; border-left: 4px solid var(--primary); margin-bottom: 10px; }
.exam-item.urgent { border-left-color: var(--danger); background: rgba(231, 76, 60, 0.1); }

.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; max-width: 400px; margin: 0 auto; }
.game-card { aspect-ratio: 1; perspective: 1000px; cursor: pointer; }
.game-card-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.6s; transform-style: preserve-3d; }
.game-card.flipped .game-card-inner { transform: rotateY(180deg); }
.game-card-front, .game-card-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.game-card-front { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }
.game-card-back { background: var(--primary); color: white; transform: rotateY(180deg); }

.q-item { padding: 15px; background: rgba(255,255,255,0.03); border-radius: 12px; margin-bottom: 10px; display: flex; justify-content: space-between; border-left: 4px solid var(--accent); }

.schedule-table { width: 100%; border-collapse: collapse; min-width: 500px; }
.schedule-table th { padding: 10px; background: rgba(0,0,0,0.3); color: var(--primary); }
.schedule-table td { padding: 5px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.schedule-input { width: 100%; background: transparent; border: none; color: white; padding: 10px; text-align: center; font-family: var(--font-body); }
.schedule-input:focus { background: rgba(255,255,255,0.05); border-radius: 8px; outline: none; }

.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; width: 100%; max-width: 400px; margin: 0 auto; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); border-radius: 50%; color: #aaa; font-weight: bold; transition: var(--transition); }
.cal-day.active { background: var(--success); color: #000; box-shadow: 0 0 15px var(--success); transform: scale(1.1); }

.todo-item { background: rgba(255,255,255,0.05); padding: 15px; margin-bottom: 10px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: var(--transition); }
.todo-item:hover { background: rgba(255,255,255,0.08); }
.todo-item.completed { opacity: 0.5; }
.todo-item.completed span { text-decoration: line-through; }

@keyframes breathe { 0% { transform: scale(1); } 33% { transform: scale(1.5); } 66% { transform: scale(1.5); } 100% { transform: scale(1); } }
.breath-anim { animation: breathe 8s infinite ease-in-out; }
.decision-result { font-size: 2.5rem; font-weight: 800; color: var(--accent); min-height: 60px; display: flex; align-items: center; justify-content: center; text-align: center; margin-top: 20px; animation: popIn 0.3s ease; }
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

/* Sidebar & Hamburger Styles */
.mobile-only { display: none; }
.desktop-only { display: flex; }
.hamburger-btn { background: transparent; border: none; color: var(--text-main); font-size: 1.8rem; cursor: pointer; transition: var(--transition); }
.hamburger-btn:hover { color: var(--primary); }
.mobile-sidebar { position: fixed; top: 0; right: -300px; width: 300px; height: 100vh; background: rgba(10, 10, 15, 0.98); backdrop-filter: blur(25px); border-left: 1px solid var(--card-border); z-index: 1000; padding: 2rem; display: flex; flex-direction: column; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); overflow-y: auto; box-shadow: -10px 0 30px rgba(0,0,0,0.5); }
.mobile-sidebar.active { transform: translateX(-300px); }
.sidebar-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.6); z-index: 999; opacity: 0; visibility: hidden; transition: var(--transition); backdrop-filter: blur(5px); }
.sidebar-overlay.active { opacity: 1; visibility: visible; }

@media (max-width: 768px) {
    .mobile-only { display: block; }
    .desktop-only { display: none !important; }
    .glass-panel { padding: 1.5rem; border-radius: 20px; }
    .timer-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .timer-card { padding: 25px; border-radius: 24px; }
    .timer-grid-new { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .timer-box-new { padding: 15px 10px; gap: 10px; border-radius: 16px; }
    .timer-box-new i { font-size: 1.4rem; }
    .timer-box-new .time-val { font-size: 2.2rem; }
    .timer-box-new .time-label { font-size: 0.75rem; letter-spacing: 1px; }
    .timer-quote { font-size: 0.95rem; margin-top: 25px; }
    .glitch-text { font-size: 2.5rem; }
    .time-val { font-size: 3rem; }
    .tools-grid { grid-template-columns: repeat(3, 1fr); }
    .form-grid { grid-template-columns: 1fr; }

    /* Header & Navbar */
    .site-header { padding: 8px 0; gap: 10px; flex-wrap: nowrap; }
    .header-logo h2 { font-size: 1.1rem; }
    .header-logo p { display: none; }
    .header-logo i { font-size: 1.5rem; }
    .btn-header-login { padding: 6px 12px; font-size: 0.8rem; }
    .btn-header-login i { margin-right: 2px; }
    .btn-header-login span { display: none; }

    /* Main Wrapper */
    .main-wrapper { padding: 1rem; gap: 25px; }

    /* Hero */
    .hero-title { font-size: 2rem; }
    .hero-desc { font-size: 0.95rem; max-width: 100%; }
    .hero-grid { gap: 20px; }
    .target-date-box { padding: 15px; gap: 12px; }
    .target-date-info strong { font-size: 1.1rem; }

    /* Modals */
    .modal-box { padding: 20px; border-radius: 20px; max-height: 85vh; }
    .overlay-screen { padding: 1rem; }
    .overlay-header { margin-bottom: 1.5rem; padding-bottom: 1rem; }
    .overlay-header h2 { font-size: 1.2rem; }

    /* Profile */
    .profile-greeting { font-size: 1.3rem !important; }
    .profile-avatar { width: 80px !important; height: 80px !important; font-size: 2.5rem !important; }

    /* Tables */
    .table-container { padding: 10px; border-radius: 12px; }
    .table-container table { font-size: 0.85rem; }
    .table-container th, .table-container td { padding: 10px 8px; }

    /* Tools Grid (Araclar) */
    .tools-grid-new { grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; }
    .tool-card-new h3 { font-size: 0.9rem; }
    .tool-card-new p { font-size: 0.8rem; }

    /* Info Grid */
    .info-grid { gap: 20px; }
    .info-card { padding: 20px; border-radius: 16px; }

    /* CTA */
    .cta-banner { padding: 20px 15px; border-radius: 16px; }
    .cta-text h3 { font-size: 1.2rem; }
    .btn-cta { padding: 12px 20px; font-size: 0.9rem; }

    /* Footer */
    .footer-grid-new { gap: 20px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.6rem; }
    .timer-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .target-date-box { padding: 12px; gap: 10px; }
    .target-date-box i { font-size: 1.5rem; }
    .target-date-info strong { font-size: 0.95rem; }
    .timer-card { padding: 20px 15px; }
    .timer-card h3 { margin-bottom: 20px; font-size: 1.1rem; }
    .timer-grid-new { gap: 10px; }
    .timer-box-new { padding: 12px 8px; gap: 8px; }
    .timer-box-new i { font-size: 1.2rem; }
    .timer-box-new .time-val { font-size: 1.8rem; }
    .timer-box-new .time-label { font-size: 0.7rem; letter-spacing: 0.5px; }
    .timer-quote { font-size: 0.85rem; margin-top: 20px; }
    .mode-btn { padding: 8px 15px; font-size: 0.85rem; }
    .hero-buttons { gap: 10px; }
    .btn-hero-outline { padding: 10px 15px; font-size: 0.85rem; width: 100%; justify-content: center; }
    .time-val { font-size: 2.2rem; }
    .glitch-text { font-size: 1.8rem; }
    .tools-grid-new { grid-template-columns: 1fr 1fr !important; }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .btn-header-login span { display: none; }
    .modal-box { padding: 15px; }
    .overlay-header h2 { font-size: 1.1rem; gap: 8px; }
    .exam-item-new { flex-direction: column; align-items: flex-start; gap: 5px; }
    .table-container table { font-size: 0.8rem; }
}

/* New Footer Styling */
.site-footer-new { padding: 50px 0 20px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 40px; }
.footer-grid-new { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 1.5fr; gap: 20px; margin-bottom: 40px; }
@media(max-width: 1024px) { .footer-grid-new { grid-template-columns: 1fr 1fr 1fr; } }
@media(max-width: 768px) { .footer-grid-new { grid-template-columns: 1fr; } }
.footer-col h4 { color: white; font-family: var(--font-heading); margin-bottom: 20px; font-size: 1.1rem; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; font-size: 0.9rem; }
.footer-links a:hover { color: white; }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin: 15px 0; max-width: 300px; }
.footer-socials { display: flex; gap: 15px; }
.footer-socials a { color: var(--text-muted); font-size: 1.2rem; transition: color 0.3s; }
.footer-socials a:hover { color: white; }
.footer-contact { color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.footer-bottom-new { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; color: rgba(255,255,255,0.4); font-size: 0.85rem; }

/* YENİ MODÜLLER (Lofi, Flashcard, Water) */

/* Lofi Player */
.vinyl-record {
    width: 150px; height: 150px; margin: 0 auto;
    border-radius: 50%;
    background: repeating-radial-gradient(#111 0px, #111 4px, #222 5px, #222 6px);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}
.vinyl-record.spinning {
    animation: spin 4s linear infinite;
}
.vinyl-center {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #111;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Flashcards */
.fc-card {
    width: 200px; height: 150px;
    perspective: 1000px; cursor: pointer;
    margin-bottom: 10px;
}
.fc-card-inner {
    position: relative; width: 100%; height: 100%;
    text-align: center; transition: transform 0.6s;
    transform-style: preserve-3d;
}
.fc-card.flipped .fc-card-inner {
    transform: rotateX(180deg);
}
.fc-card-front, .fc-card-back {
    position: absolute; width: 100%; height: 100%;
    backface-visibility: hidden; border-radius: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 15px; font-weight: bold; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.fc-card-front {
    background: rgba(255,255,255,0.05); border: 1px solid var(--card-border);
    color: var(--text-main); font-size: 1.2rem;
}
.fc-card-back {
    background: var(--primary); color: white;
    transform: rotateX(180deg); font-size: 1rem;
}

/* Water Tracker */
.water-glass {
    width: 120px; height: 180px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top: none;
    border-radius: 0 0 20px 20px;
    position: relative; overflow: hidden;
    margin: 0 auto;
    cursor: pointer;
    background: rgba(255,255,255,0.02);
}
.water-liquid {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 0%;
    background: linear-gradient(180deg, #4facfe 0%, #00f2fe 100%);
    transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}
.water-liquid::before {
    content: ''; position: absolute; top: -10px; left: -50%;
    width: 200%; height: 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    animation: wave 2s infinite linear;
}
@keyframes wave { 0% { transform: translateX(0); } 100% { transform: translateX(50%); } }
.water-text {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem; font-weight: 800; color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); z-index: 2;
}

/* Premium Temalar */
body.theme-space .bg-mesh {
    background: radial-gradient(circle at bottom, #1B2735 0%, #090A0F 100%);
    background-image: radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 4px), radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 3px), radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 4px), radial-gradient(rgba(255,255,255,.4), rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
    animation: spaceStars 100s linear infinite;
}
@keyframes spaceStars { from { background-position: 0 0, 40px 60px, 130px 270px, 70px 100px; } to { background-position: 550px 550px, 390px 410px, 380px 520px, 220px 250px; } }
body.theme-space { --primary: #00d2ff; --primary-glow: rgba(0, 210, 255, 0.4); --bg-dark: #090A0F; }

body.theme-rain .bg-mesh { background: linear-gradient(to bottom, #20202c, #515175); }
body.theme-rain { --primary: #4facfe; --primary-glow: rgba(79, 172, 254, 0.4); --bg-dark: #20202c; }

body.theme-cafe .bg-mesh { background: radial-gradient(circle at center, #6f4e37, #3e2723); }
body.theme-cafe { --primary: #d4a373; --primary-glow: rgba(212, 163, 115, 0.4); --bg-dark: #3e2723; }

.dot-space { background: #00d2ff; border: 2px dashed white; }
.dot-rain { background: #4facfe; border-left: 2px solid white; }
.dot-cafe { background: #d4a373; border-radius: 5px; }
.dot-orange { background: #e67e22; }
.dot-green { background: #27ae60; }


/* Theme Selector */
.theme-selector { display: flex; gap: 10px; align-items: center; background: rgba(0,0,0,0.3); padding: 8px 12px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.1); }
.theme-dot { width: 22px; height: 22px; border-radius: 50%; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; border: 2px solid rgba(255,255,255,0.2); }
.theme-dot:hover { transform: scale(1.3); box-shadow: 0 0 10px rgba(255,255,255,0.3); }
.dot-blue { background: #4361ee; }
.dot-purple { background: #8e44ad; }

/* XP Toast */
.xp-toast {
    position: fixed; top: 20px; right: 20px;
    background: linear-gradient(135deg, var(--success), #34d399);
    color: white; font-weight: bold; font-size: 1.2rem;
    padding: 10px 20px; border-radius: 12px;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.5);
    z-index: 10000;
    opacity: 0; transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.xp-toast.show { opacity: 1; transform: translateY(0); }

/* Leaderboard */
.lb-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px; background: rgba(255,255,255,0.05);
    margin-bottom: 10px; border-radius: 12px;
    transition: transform 0.2s;
}
.lb-item:hover { transform: translateX(5px); background: rgba(255,255,255,0.08); }
.lb-rank {
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 1.1rem;
    background: rgba(0,0,0,0.5); margin-right: 15px;
}
.lb-gold .lb-rank { background: gold; color: black; box-shadow: 0 0 10px gold; }
.lb-silver .lb-rank { background: silver; color: black; }
.lb-bronze .lb-rank { background: #cd7f32; color: white; }
.lb-user { flex: 1; font-weight: bold; font-size: 1.1rem; }
.lb-xp { font-weight: 800; color: var(--success); }
.lb-level { font-size: 0.8rem; color: var(--accent); margin-left: 10px; }

/* --- Button Styles --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 12px; font-family: var(--font-heading);
    font-weight: 700; font-size: 1rem; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none; text-decoration: none; position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.96); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    color: white; box-shadow: 0 4px 15px var(--primary-glow); border: 1px solid rgba(255,255,255,0.1);
}
.btn-primary:hover {
    box-shadow: 0 8px 25px var(--primary-glow); transform: translateY(-2px);
    background: linear-gradient(135deg, #7c3aed, var(--primary));
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #34d399);
    color: white; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3); border: 1px solid rgba(255,255,255,0.1);
}
.btn-success:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5); transform: translateY(-2px);
    background: linear-gradient(135deg, #059669, var(--success));
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #f87171);
    color: white; box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3); border: 1px solid rgba(255,255,255,0.1);
}
.btn-danger:hover {
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.5); transform: translateY(-2px);
    background: linear-gradient(135deg, #dc2626, var(--danger));
}

.btn-outline {
    background: transparent; color: var(--text-main);
    border: 1px solid var(--card-border);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.05); color: white; border-color: rgba(255,255,255,0.2);
}

/* ====== DENEME NET TAKİPÇİSİ ====== */
.deneme-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.3);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}
.deneme-history-item:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.4);
}
.deneme-history-item .deneme-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    color: white;
}
.deneme-history-item .deneme-nets {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--success);
}
.deneme-history-item .deneme-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.deneme-delete {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.5;
    transition: 0.3s;
}
.deneme-delete:hover { opacity: 1; }

/* ====== ROZETLER / BAŞARIMLAR ====== */
.badge-card {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.badge-card.earned {
    border-color: rgba(245,158,11,0.4);
    background: rgba(245,158,11,0.08);
}
.badge-card.earned::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 10px;
    color: var(--success);
    font-weight: 900;
    font-size: 0.9rem;
}
.badge-card:not(.earned) {
    opacity: 0.4;
    filter: grayscale(1);
}
.badge-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.badge-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}
.badge-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
    margin-bottom: 5px;
}
.badge-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* ====== YAPIŞKAN NOTLAR ====== */
.sticky-note {
    border-radius: 12px;
    padding: 15px;
    min-height: 120px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sticky-note:hover {
    transform: translateY(-3px) rotate(-1deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.sticky-note .sticky-content {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a2e;
    word-break: break-word;
}
.sticky-note .sticky-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
}
.sticky-note .sticky-actions button {
    background: rgba(0,0,0,0.15);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    color: rgba(0,0,0,0.5);
    font-size: 0.8rem;
    transition: 0.2s;
}
.sticky-note .sticky-actions button:hover {
    background: rgba(0,0,0,0.3);
    color: rgba(0,0,0,0.8);
}

/* ====== STREAK GELİŞMİŞ ====== */
.streak-flame {
    animation: flame-pulse 1.5s ease-in-out infinite alternate;
}
@keyframes flame-pulse {
    0% { text-shadow: 0 0 20px rgba(245,158,11,0.4); transform: scale(1); }
    100% { text-shadow: 0 0 40px rgba(245,158,11,0.8); transform: scale(1.05); }
}

/* ====== MÜZİK ÇALAR (Mini Player) ====== */
.mini-player {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(15,23,42,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: all 0.3s;
    cursor: pointer;
}
.mini-player:hover {
    border-color: rgba(139,92,246,0.4);
    box-shadow: 0 10px 40px rgba(139,92,246,0.2);
}
.mini-player .mp-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}
.mini-player .mp-icon.playing {
    animation: spin-vinyl 3s linear infinite;
}
@keyframes spin-vinyl {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.mini-player .mp-text {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}
.mini-player .mp-text small {
    display: block;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 400;
}
.mini-player .mp-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 4px;
    transition: 0.2s;
}
.mini-player .mp-close:hover { color: var(--danger); }

/* Store Themes */
body.theme-neon { --primary: #ff007f; --primary-glow: rgba(255, 0, 127, 0.4); --bg-dark: #0a000a; }
body.theme-forest { --primary: #2e7d32; --primary-glow: rgba(46, 125, 50, 0.4); --bg-dark: #0b1a0e; }
body.theme-cyberpunk { --primary: #f39c12; --primary-glow: rgba(243, 156, 18, 0.4); --bg-dark: #0e0d13; }
body.theme-sunset { --primary: #ff5e62; --primary-glow: rgba(255, 94, 98, 0.4); --bg-dark: #1f0b12; }
body.theme-dracula { --primary: #bd93f9; --primary-glow: rgba(189, 147, 249, 0.4); --bg-dark: #282a36; }
body.theme-ocean { --primary: #00bcd4; --primary-glow: rgba(0, 188, 212, 0.4); --bg-dark: #030f14; }
body.theme-nordic { --primary: #a8dadc; --primary-glow: rgba(168, 218, 220, 0.4); --bg-dark: #1d3557; }
body.theme-sakura { --primary: #ffb7c5; --primary-glow: rgba(255, 183, 197, 0.4); --bg-dark: #1c0d10; }
body.theme-retro { --primary: #ff79c6; --primary-glow: rgba(255, 121, 198, 0.4); --bg-dark: #2b213a; }
body.theme-polar { --primary: #e0f7fa; --primary-glow: rgba(224, 247, 250, 0.4); --bg-dark: #0d1b2a; }
body.theme-terminal { --primary: #39ff14; --primary-glow: rgba(57, 255, 20, 0.4); --bg-dark: #050805; }
body.theme-classic-books { --primary: #8b5a2b; --primary-glow: rgba(139, 90, 43, 0.4); --bg-dark: #2a1b0e; }
body.theme-lavender { --primary: #9b5de5; --primary-glow: rgba(155, 93, 229, 0.4); --bg-dark: #1a1a2e; }
body.theme-volcano { --primary: #ff4500; --primary-glow: rgba(255, 69, 0, 0.4); --bg-dark: #140500; }
body.theme-gold-premium { --primary: #ffd700; --primary-glow: rgba(255, 215, 0, 0.4); --bg-dark: #1a1805; }
body.theme-charcoal { --primary: #7f8c8d; --primary-glow: rgba(127, 140, 141, 0.4); --bg-dark: #1c1c1c; }
body.theme-emerald { --primary: #2ecc71; --primary-glow: rgba(46, 204, 113, 0.4); --bg-dark: #061a10; }

