    :root {        
        --radius-xl: 1.5rem;
        --radius-lg: 1rem;
        --sidebar-width: 260px;
       
        --bg-body: #f8fafc;
        --bg-glass: rgba(255, 255, 255, 0.7); /* Kristal Cam */
        
        --primary: #020617;      
        --text-main: #1e293b;    
        --text-muted: #64748b;          
        --neon-indigo: #4f46e5;
        --neon-cyan: #06b6d4;
        --neon-pink: #ec4899;
        --neon-violet: #7c3aed;
       
        --glass-border: 1px solid rgba(255, 255, 255, 0.6);
        --glass-shine: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 60%);
                
        --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
        --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
        
        --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
        --shadow-float: 0 10px 40px -10px rgba(0,0,0,0.1), 0 0 0 1px rgba(255,255,255,0.6) inset;
        --shadow-neon: 0 0 20px rgba(79, 70, 229, 0.25);
        
        --music-panel-bg: rgba(255, 255, 255, 0.9);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; }

    body {
        font-family: 'Plus Jakarta Sans', sans-serif;
        background-color: var(--bg-body);
        color: var(--text-main);
        min-height: 100vh;
        overflow-x: hidden;
        display: flex;        
        background-image: 
            radial-gradient(circle at 15% 50%, rgba(79, 70, 229, 0.08), transparent 25%),
            radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.08), transparent 25%);
        background-attachment: fixed;
    }

    body::before {
        content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
        pointer-events: none; z-index: -1;
    }

 
    .sidebar {
        width: var(--sidebar-width);
        background: rgba(255, 255, 255, 0.75);
        height: 100vh;
        position: fixed;
        left: 0; top: 0;
        padding: 2rem 1.25rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        z-index: 1000;
        /* Blur efekti */
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-right: 1px solid rgba(255,255,255,0.5);
        box-shadow: 20px 0 50px rgba(0,0,0,0.03);
    }

    .brand {
        display: flex; align-items: center; gap: 14px;
        text-decoration: none;
        margin-bottom: 2.5rem; padding-left: 0.5rem;
    }
    .brand img { 
        height: 42px; width: auto; 
        filter: drop-shadow(0 0 15px rgba(79, 70, 229, 0.4)); /* Logo Neon Parlama */
        transition: transform 0.5s var(--ease-elastic);
    }
    .brand:hover img { transform: rotate(10deg) scale(1.1); }
    .brand span {
        font-weight: 800; font-size: 1.35rem; letter-spacing: -0.5px; line-height: 1.1;
        background: linear-gradient(135deg, #020617 0%, #4f46e5 100%);
        -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    }

    .nav-links {
        display: flex; flex-direction: column; gap: 8px; /* Daha ferah */
        overflow-y: auto; flex-grow: 1; scrollbar-gutter: stable;
        scrollbar-width: none; -ms-overflow-style: none;
    }
    .nav-links::-webkit-scrollbar { display: none; }

    .nav-link {
        display: flex; align-items: center; gap: 14px;
        padding: 12px 16px;
        color: var(--text-muted); text-decoration: none;
        border-radius: 14px; font-weight: 500; font-size: 0.95rem;
        transition: all 0.3s var(--ease-out-expo);
        border: 1px solid transparent;
        background: transparent;
    }
    .nav-link:hover { 
        background: rgba(255, 255, 255, 0.5); 
        color: var(--primary); 
        border-color: rgba(255,255,255,0.8);
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        transform: translateX(5px);
    }
    .nav-link i { width: 20px; text-align: center; font-size: 1.1rem; transition: transform 0.3s var(--ease-elastic); color: #94a3b8; }
    .nav-link:hover i { color: var(--neon-indigo); transform: scale(1.2); }

   
    .nav-link.active {
        background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
        color: #fff; font-weight: 600;
        box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
    }
    .nav-link.active:hover { transform: scale(1.02); }
    .nav-link.active i { transform: scale(1.1); filter: none; color: #fff; }
   
    .pro-card {
        background: #0f172a;
        padding: 1.5rem; border-radius: 1.25rem;
        text-align: center; position: relative; overflow: hidden;
        border: 1px solid rgba(255,255,255,0.1); margin-top: 1rem;
        box-shadow: 0 20px 50px -10px rgba(0,0,0,0.4);
    }
    
    .pro-card::before {
        content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
        background: conic-gradient(from 0deg, transparent 0deg, #6366f1 120deg, transparent 240deg);
        animation: spinSlow 6s linear infinite; opacity: 0.4; filter: blur(40px);
    }
    @keyframes spinSlow { 100% { transform: rotate(360deg); } }

    .pro-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: #fff; position: relative; z-index: 2; }
    .pro-card p { color: rgba(255,255,255,0.8); font-size: 0.85rem; line-height: 1.4; margin-bottom: 1rem; position: relative; z-index: 2; }

    .pro-btn {
        background: #fff; color: #0f172a; border: none; padding: 12px; border-radius: 10px;
        font-weight: 700; width: 100%; cursor: pointer; font-size: 0.9rem;
        transition: all 0.3s var(--ease-elastic); position: relative; z-index: 2;
        box-shadow: 0 0 20px rgba(255,255,255,0.2);
    }
    .pro-btn:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(255,255,255,0.5); }

    .main-wrapper {
        margin-left: var(--sidebar-width);
        flex-grow: 1; padding: 2rem 3rem;
        min-height: 100vh; transition: margin-left 0.3s ease;
    }

    .dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
   
    .card-hero {
        grid-column: span 4;
        background-color: #020617;        
        background-image: 
            radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.3) 0px, transparent 50%),
            radial-gradient(at 100% 100%, rgba(236, 72, 153, 0.25) 0px, transparent 50%),
            url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
        background-size: 100% 100%, 100% 100%, cover;
        
        display: flex; flex-direction: row; align-items: center; justify-content: space-between;
        padding: 3rem; border-radius: var(--radius-xl);
        border: 1px solid rgba(255, 255, 255, 0.1);
       
        box-shadow: 0 30px 60px -15px rgba(2, 6, 23, 0.7), inset 0 0 0 1px rgba(255,255,255,0.05);
        position: relative; isolation: isolate; overflow: hidden;
        transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
    }
    .card-hero:hover { transform: scale(1.01) translateY(-2px); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8); }

    .hero-3d-icon {
        font-size: 0; position: absolute; right: -50px; bottom: -80px; z-index: 0; pointer-events: none;
        width: 300px; height: 300px;
        background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
        border-radius: 50%; border: 1px solid rgba(255,255,255,0.1);
        backdrop-filter: blur(8px);
        animation: floatShape 12s infinite ease-in-out alternate;
        display: block; box-shadow: 0 0 60px rgba(79, 70, 229, 0.2);
    }
    .hero-3d-icon::after {
        content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
        width: 60%; height: 60%; border-radius: 50%;
        background: radial-gradient(circle at 30% 30%, #4f46e5, transparent 80%);
        opacity: 0.5;
    }
    .card-hero::before {
        content: '∫ ∑ π'; font-family: 'Times New Roman', serif;
        font-style: italic; font-size: 6rem; font-weight: bold;
        background: linear-gradient(to bottom, rgba(255,255,255,0.15), transparent);
        -webkit-background-clip: text; -webkit-text-fill-color: transparent;
        position: absolute; top: 20px; right: 40px; z-index: 0; 
        letter-spacing: 20px; transform: rotate(-10deg);
    }
    @keyframes floatShape {
        0% { transform: translate(0, 0) rotate(0deg); }
        100% { transform: translate(-30px, -20px) rotate(15deg); }
    }

    .hero-content { max-width: 100%; z-index: 2; position: relative; }
    .hero-title {
        font-size: 2.2rem; font-weight: 800; color: #ffffff;
        line-height: 1.15; margin-bottom: 1rem; letter-spacing: -0.5px;
        text-shadow: 0 0 30px rgba(79, 70, 229, 0.4); /* Parlayan Yazı */
    }
    .hero-desc {
        color: #e2e8f0; margin-bottom: 2rem; line-height: 1.6;
        font-size: 1.05rem; max-width: 100%; font-weight: 400; opacity: 0.95;
    }
    .hero-actions { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin-top: 1rem; }

    .hero-btn {
        background: rgba(255, 255, 255, 0.1); 
        color: #fff !important; height: 46px; padding: 0 24px;
        border-radius: 50px; font-weight: 700; font-size: 0.95rem;
        display: inline-flex; align-items: center; justify-content: center;
        gap: 8px; text-decoration: none; white-space: nowrap;
        border: 1px solid rgba(255,255,255,0.25);
        backdrop-filter: blur(8px);
        transition: all 0.3s var(--ease-elastic);
    }
    .hero-btn:hover { 
        background: #fff; color: #4f46e5 !important; 
        box-shadow: 0 0 25px rgba(255,255,255,0.4); 
        transform: translateY(-3px);
    }
    .hero-btn i { transition: transform 0.2s; }
    .hero-btn:hover i { transform: translateX(3px) rotate(-10deg); }

    .student-badge {
        height: 46px; padding: 0 18px; border-radius: 50px;
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #f1f5f9; font-weight: 600; font-size: 0.85rem;
        display: flex; align-items: center; gap: 8px; white-space: nowrap;
        backdrop-filter: blur(10px);
    }

    .pulse-icon {
        display: flex; align-items: center; justify-content: center;
        color: #f43f5e; font-size: 0.55rem; width: 24px; height: 24px;
        background: rgba(244, 63, 94, 0.2); border-radius: 50%;
        position: relative; margin-right: 4px;
        box-shadow: 0 0 10px rgba(244, 63, 94, 0.5);
    }
    .pulse-icon::before {
        content: ''; position: absolute; width: 100%; height: 100%;
        border-radius: 50%; background: #f43f5e;
        animation: pulse-red 2s infinite cubic-bezier(0, 0, 0.2, 1); z-index: -1;
    }
    @keyframes pulse-red {
        0% { transform: scale(1); opacity: 0.8; }
        100% { transform: scale(2.2); opacity: 0; }
    }

    /* --- TABS (Yüzen Cam Panel) --- */
    .tabs-container {
        grid-column: span 4;
        background: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: var(--radius-xl);
        padding: 1.5rem; 
        box-shadow: var(--shadow-float);
        min-height: auto; padding-bottom: 2rem;
        backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    }
    .tabs-header {
        border-bottom: none; background: rgba(255, 255, 255, 0.5);
        padding: 6px; border-radius: 16px;
        gap: 0; display: flex; justify-content: space-between;
        margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.5);
    }
    .tab-btn {
        flex: 1; padding: 10px 0; border: none;
        border-radius: 12px; background: transparent;
        color: var(--text-muted); font-weight: 600; font-size: 0.95rem;
        cursor: pointer; position: relative; transition: all 0.3s var(--ease-out-expo);
        z-index: 1; text-align: center;
    }
    .tab-btn.active {
        background: #ffffff; color: var(--neon-indigo);
        box-shadow: 0 4px 15px rgba(0,0,0,0.05); transform: scale(1);
    }
    .tab-btn.active::after { display: none; }

    @media (min-width: 769px) {
        .tab-btn[onclick*="kesfet"] { display: none; }
    }
    
    .grid-mini {
        display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 1rem; animation: fadeIn 0.3s ease-out;
    }
    .mini-card {
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(255,255,255,0.8);
        border-radius: 1rem; padding: 1.25rem 1rem;
        text-align: center; text-decoration: none; color: var(--text-main);
        transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1); 
        display: flex; flex-direction: column; align-items: center; gap: 12px;
        box-shadow: var(--shadow-sm); cursor: pointer;
        backdrop-filter: blur(10px);
    }
    /* İkon kutusu parlayan yüzey */
    .mini-card .icon-box {
        width: 48px; height: 48px;
        background: linear-gradient(135deg, #f8fafc, #eff6ff); 
        border-radius: 14px;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.25rem; 
        transition: all 0.3s var(--ease-elastic);
        border: 1px solid #fff;
        box-shadow: inset 0 2px 5px rgba(0,0,0,0.03);
    }
    .mini-title { font-weight: 700; font-size: 0.95rem; color: var(--text-main); }

    #sinavlar-list .icon-box, #lise-list .icon-box, #ortaokul-list .icon-box { 
        color: var(--primary) !important; 
    }
    
    .mini-card:active {
        transform: scale(0.96);
        background: rgba(255, 255, 255, 0.9);
        border-color: var(--neon-indigo);
    }

    @media (hover: hover) {
        .mini-card:hover {
            border-color: rgba(99, 102, 241, 0.4);
            box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.15);
            transform: translateY(-5px);
            background: #fff;
        }
        .mini-card:hover .icon-box {
            transform: scale(1.15) rotate(-5deg);
            background: linear-gradient(135deg, #4f46e5, #7c3aed);
            color: #fff !important;
            box-shadow: 0 5px 20px rgba(79, 70, 229, 0.4);
            border-color: transparent;
        }       
        #sinavlar-list .mini-card:hover .icon-box,
        #lise-list .mini-card:hover .icon-box,
        #ortaokul-list .mini-card:hover .icon-box {
            background: #000;
            color: #ffffff !important;
        }
    }
   
    .gradient-grid {
        display: grid; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
        gap: 1rem; animation: slideUp 0.4s ease-out;
    }
    .grad-card {
        position: relative; display: flex; flex-direction: column;
        align-items: center; justify-content: center; text-align: center;
        padding: 1.25rem 0.75rem; border-radius: 1rem;
        text-decoration: none; color: white;
        transition: all 0.4s var(--ease-elastic);
        overflow: hidden; 
        box-shadow: var(--shadow-sm);
        height: 100%; min-height: 120px;
        /* Hafif noise dokusu */
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
        border: 1px solid rgba(255,255,255,0.2);
    }
    .grad-card:active { transform: scale(0.98); }
    .grad-card:hover { 
        transform: translateY(-8px) scale(1.03); 
        box-shadow: 0 20px 50px -10px rgba(0,0,0,0.3); 
        z-index: 10; 
        border-color: rgba(255,255,255,0.6);
    }
        
    .grad-card::after {
        content: ''; position: absolute; width: 200%; height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        top: 0; left: -120%;
        transform: skewX(-25deg);
        pointer-events: none; transition: left 0.6s ease;
    }
    .grad-card:hover::after { left: 120%; }

    .grad-icon-box {
        width: 40px; height: 40px; background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(8px); border-radius: 12px;
        display: flex; align-items: center; justify-content: center;
        font-size: 1.25rem; margin-bottom: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15); border: 1px solid rgba(255,255,255,0.4); z-index: 2;
    }
    .grad-title { font-size: 0.9rem; font-weight: 800; line-height: 1.2; margin-bottom: 4px; z-index: 2; text-shadow: 0 2px 5px rgba(0,0,0,0.15); }
    .grad-subtitle { font-size: 0.75rem; opacity: 1; font-weight: 600; z-index: 2; color: rgba(255,255,255,0.95); letter-spacing: 0.5px; }
    
    .g-blue { background-color: #2563eb; background-image: linear-gradient(160deg, #3b82f6 0%, #2563eb 60%, #1e3a8a 100%); }
    .g-cyan { background-color: #0891b2; background-image: linear-gradient(160deg, #22d3ee 0%, #0891b2 60%, #0e7490 100%); }
    .g-lime { 
        background-color: #65a30d; background-image: linear-gradient(160deg, #a3e635 0%, #65a30d 60%, #3f6212 100%);
        color: #fff !important; 
    }
    .g-green { background-color: #059669; background-image: linear-gradient(160deg, #34d399 0%, #059669 60%, #064e3b 100%); }
    .g-pink { background-color: #be185d; background-image: linear-gradient(160deg, #f472b6 0%, #db2777 60%, #831843 100%); }
    .g-dark { background-color: #1e293b; background-image: linear-gradient(160deg, #475569 0%, #1e293b 60%, #020617 100%); }
    .g-purple { background-color: #7c3aed; background-image: linear-gradient(160deg, #a78bfa 0%, #7c3aed 60%, #4c1d95 100%); }

    .content-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 1.5rem; animation: fadeIn 0.3s ease; }
    .back-btn {
        background: #fff; border: 1px solid var(--border-color); color: var(--text-muted);
        width: 40px; height: 40px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        cursor: pointer; transition: all 0.3s var(--ease-elastic);
        box-shadow: var(--shadow-sm);
    }
    .back-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateX(-3px) scale(1.1); box-shadow: var(--shadow-neon); }
    .content-title { font-size: 1.2rem; font-weight: 700; color: var(--text-main); letter-spacing: -0.5px; }
    
    .music-panel {
        position: fixed; top: 0; right: 0; width: 500px; height: 100vh;
        background: var(--music-panel-bg); z-index: 2000;
        border-left: 1px solid rgba(0,0,0,0.05);
        display: flex; flex-direction: column;
        box-shadow: -10px 0 60px rgba(0,0,0,0.15);
        backdrop-filter: blur(20px) saturate(180%);
        transform: translateX(100%); transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform;
    }
    .music-panel.active { transform: translateX(0); }
    .music-header { padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1e293b; background: #0f172a; }
    .music-header h3 { font-size: 1.1rem; color: #fff; font-weight: 600; }
    .close-btn {
        background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1);
        color: #94a3b8; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
        font-size: 1.1rem; transition: all 0.2s; display: flex; align-items: center; justify-content: center;
    }
    .close-btn:hover { background: #ef4444; border-color: #ef4444; color: white; transform: rotate(90deg); }
    .iframe-container { flex: 1; width: 100%; position: relative; }
    #musicFrame { width: 100%; height: 100%; position: absolute; border: none; }

    @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

    @media (max-width: 1024px) {
        .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
        .card-hero { grid-column: span 2; }
        .tabs-container { grid-column: span 2; }
    }
   
    @media (max-width: 768px) {
        body { background-color: #ffffff; background-image: none; color: var(--primary); }
        .sidebar { display: none; }
        .main-wrapper { margin-left: 0; padding: 1.25rem; padding-top: 1.5rem; }
        .dashboard-grid { gap: 1.25rem; }

        .tabs-container {
            grid-column: span 2; padding: 1rem;
            background: rgba(255, 255, 255, 0.85);
            border: 1px solid rgba(255,255,255,0.8);
            backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
            box-shadow: 0 10px 50px -10px rgba(0,0,0,0.1); border-radius: 1.25rem;
        }
        .tabs-header {
            background: transparent; border-bottom: none;
            overflow-x: auto; padding: 4px; justify-content: flex-start; gap: 4px;
            scrollbar-width: none; -ms-overflow-style: none;
        }
        .tabs-header::-webkit-scrollbar { display: none; }
        .tab-btn { flex: none; width: auto; padding: 8px 16px; color: #64748b; font-weight: 500; font-size: 0.9rem; }
        .tab-btn.active { background: var(--primary); color: #fff; font-weight: 600; box-shadow: none; }

        .grid-mini { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0.5rem; }
        .mini-card {
            background: #ffffff;
            border: 1px solid #f1f5f9; color: var(--primary); border-radius: 1rem; padding: 0.8rem 0.5rem;
            box-shadow: 0 4px 10px rgba(0,0,0,0.03);
        }
        /* Mobilde dokunma efekti */
        .mini-card:active { 
            background: #f8fafc; 
            transform: scale(0.95); 
            border-color: var(--neon-indigo); 
        }
        .mini-card .mini-title { color: var(--text-main); font-weight: 600; font-size: 0.75rem; }
        
        .icon-box { background: #f8fafc; box-shadow: none; width: 38px; height: 38px; border-radius: 10px; color: inherit; }
        
        #sinavlar-list .icon-box, #lise-list .icon-box, #ortaokul-list .icon-box { color: var(--primary) !important; }

        .gradient-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
        .grad-card { padding: 1rem 0.5rem; min-height: 100px; }
        .grad-icon-box { width: 36px; height: 36px; font-size: 1.1rem; margin-bottom: 8px; }
        .grad-title { font-size: 0.85rem; }

        .card-hero {
            flex-direction: column; text-align: center;
            background-color: #020617 !important;
            /* Mobilde daha temiz bir uzay görünümü */
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                radial-gradient(circle at 100% 0%, #1e293b 0%, transparent 60%),
                radial-gradient(circle at 100% 100%, rgba(99, 102, 241, 0.3) 0%, transparent 50%) !important;
            background-size: 30px 30px, 30px 30px, 100% 100%, 100% 100% !important;
            padding: 2rem 1.5rem !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.4);
            border-radius: 1.5rem; overflow: hidden;
        }
        .card-hero::before { display: none; }
        .hero-title {
            color: #ffffff; background: none; -webkit-text-fill-color: initial !important;
            font-size: 1.75rem; margin-bottom: 0.75rem; letter-spacing: -0.03em;
            text-shadow: none;
        }
        .hero-desc { margin-bottom: 1rem !important; max-width: 100%; color: #94a3b8; font-weight: 400; font-size: 0.95rem; }
        .hero-3d-icon {
            display: block !important; width: 120px !important; height: 120px !important;
            right: -20px !important; bottom: -20px !important; opacity: 0.6 !important; font-size: 0;
            pointer-events: none;
        }

        .music-panel { width: 100%; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
        .music-panel.active { right: 0 !important; transform: translateX(0) !important; }

        .hero-actions { margin-top: 0 !important; justify-content: center; flex-wrap: nowrap; width: 100%; gap: 8px; }
        .hero-btn {
            background: #fff; width: auto !important; flex-shrink: 0; height: 42px;
            padding: 0 16px; font-size: 0.9rem; color: #0f172a !important;
        }
        .hero-btn:active { transform: scale(0.95); } /* Mobilde basma efekti */
        .student-badge {
            background: rgba(255, 255, 255, 0.1); color: #e2e8f0;
            border-color: rgba(255,255,255,0.2); height: 42px;
            flex-shrink: 0; padding: 0 14px; font-size: 0.8rem;
            white-space: nowrap;
        }
    }

    .sidebar > div:first-child { display: flex; flex-direction: column; flex-grow: 1; min-height: 0; }

    @media (min-width: 363px) and (max-width: 405px) { .hero-title { font-size: 1.50rem !important; } }
    @media (min-width: 769px) and (max-width: 802px) { .hero-title { font-size: 1.70rem !important; } }
    @media (min-width: 802px) and (max-width: 852px) { .hero-title { font-size: 1.90rem !important; } }

    @media (min-width: 769px) {
        .tabs-container {
            background: #ffffff !important;
            border: 1px solid rgba(226, 232, 240, 0.6) !important;
            box-shadow: var(--shadow-float) !important;
            border-radius: var(--radius-xl) !important;
            padding: 1.5rem 2rem !important;
            min-height: auto !important;
            margin-top: 1.5rem;
        }
        .tabs-header {
            background: transparent !important; padding: 0 !important;
            border-radius: 0 !important; justify-content: flex-start;
            gap: 35px; border-bottom: 2px solid rgba(226, 232, 240, 0.6);
            margin-bottom: 2rem;
        }
        .tab-btn {
            flex: initial; width: auto; padding: 12px 0 !important;
            background: transparent !important; color: var(--text-muted);
            font-weight: 600; font-size: 1.05rem; border-radius: 0 !important;
            position: relative; transition: color 0.3s ease;
        }
        .tab-btn:hover { color: var(--text-main); background: transparent !important; box-shadow: none !important; transform: none !important; }
        .tab-btn.active { color: var(--neon-indigo) !important; background: transparent !important; box-shadow: none !important; transform: none !important; }
        .tab-btn.active::after { display: none !important; }
        /* Aktif tab altı: Neon Işığı */
        .tabs-header .tab-btn.active::before {
            content: ''; position: absolute; bottom: -2px; left: 0; width: 100%;
            height: 3px; background-color: var(--neon-indigo); border-radius: 3px 3px 0 0; 
            box-shadow: 0 -2px 10px rgba(79, 70, 229, 0.6);
            animation: fadeIn 0.3s ease;
        }
    }
   
    #page-loader {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background-color: #020617;
        background-image: radial-gradient(circle at center, #1e1b4b 0%, #020617 100%);
        z-index: 9999; display: flex; flex-direction: column;
        justify-content: center; align-items: center;
        transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
    }
    #page-loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }

    .loader-logo-box {
        position: relative; width: 100px; height: 100px;
        display: flex; justify-content: center; align-items: center; margin-bottom: 20px;
    }
    .loader-logo-box img { width: 60px; height: auto; z-index: 2; animation: pulseLogo 2s infinite ease-in-out; filter: drop-shadow(0 0 15px rgba(79, 70, 229, 0.6)); }

    .loader-ring {
        position: absolute; border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #4f46e5; border-right-color: #818cf8;
        box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
    }
    .ring-1 { width: 100%; height: 100%; animation: spin 1.5s linear infinite; border-width: 3px; }
    .ring-2 {
        width: 70%; height: 70%; border-top-color: #db2777; border-right-color: transparent;
        animation: spinReverse 2s linear infinite; border-width: 2px;
    }

    .loader-text {
        color: #ffffff; font-family: 'Plus Jakarta Sans', sans-serif;
        font-weight: 600; letter-spacing: 1px; font-size: 1.1rem;
        opacity: 0; transform: translateY(10px); animation: fadeTextUp 0.8s ease-out forwards 0.3s;
        text-shadow: 0 0 15px rgba(0,0,0,0.5);
    }
    .loader-text span { color: #818cf8; }

    @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
    @keyframes spinReverse { 0% { transform: rotate(0deg); } 100% { transform: rotate(-360deg); } }
    @keyframes pulseLogo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
    @keyframes fadeTextUp { to { opacity: 1; transform: translateY(0); } }

    body.page-loaded .sidebar { animation: slideInLeft 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
    body.page-loaded .main-wrapper { animation: slideInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }

    @keyframes slideInLeft { from { transform: translateX(-50px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
    @keyframes slideInUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

    .altmetin { color: var(--text-muted) !important; }

    @media (max-width: 768px) {
        .altmetin { color: var(--text-main) !important; }
    }