/* 🎨 THEME COLORS - 6 MODES */
[data-theme="sea"] { --bg: #0f172a; --accent: #38bdf8; --c-bg: rgba(30,41,59,0.6); }
[data-theme="midnight"] { --bg: #020617; --accent: #a855f7; --c-bg: rgba(15,23,42,0.7); }
[data-theme="emerald"] { --bg: #022c22; --accent: #10b981; --c-bg: rgba(6,78,59,0.7); }
[data-theme="royal"] { --bg: #1e1b4b; --accent: #fbbf24; --c-bg: rgba(30,27,75,0.7); }
[data-theme="sunset"] { --bg: #450a0a; --accent: #f87171; --c-bg: rgba(127,29,29,0.7); }
[data-theme="nebula"] { --bg: #2d004d; --accent: #ff00ff; --c-bg: rgba(60,0,100,0.6); }

* { 
    margin: 0; padding: 0; box-sizing: border-box; 
    font-family: 'Poppins', sans-serif;
    text-decoration: none !important; /* Hata di sabhi underline */
}

body {
    background: var(--bg);
    color: white;
    transition: background 0.5s ease;
    overflow-x: hidden;
}

/* NAVBAR */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; background: rgba(0,0,0,0.3);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo { font-size: 20px; font-weight: bold; color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 20px; }

.mode-btn {
    background: var(--accent); color: black; border: none;
    padding: 6px 15px; border-radius: 20px; font-weight: bold; cursor: pointer;
    font-size: 12px; transition: 0.3s;
}

/* 🍔 PREMIUM BURGER ANIMATION */
.menu-toggle {
    display: none; flex-direction: column; justify-content: space-between;
    width: 28px; height: 18px; cursor: pointer; z-index: 1001;
}

.menu-toggle .bar {
    width: 100%; height: 3px; background-color: var(--accent);
    border-radius: 10px; transition: 0.3s ease-in-out;
}

.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-links { display: flex; gap: 20px; }
.nav-links a { 
    color: #cbd5e1; font-size: 14px; transition: 0.3s; 
    position: relative;
}
.nav-links a:hover { color: var(--accent); }

/* HERO */
.hero { padding: 80px 20px; text-align: center; }
.hero h1 { font-size: 36px; margin-bottom: 10px; }
.hero p { color: #94a3b8; margin-bottom: 25px; }

.main-btn {
    padding: 12px 30px; background: var(--accent); color: black;
    border-radius: 30px; font-weight: bold; display: inline-block;
    transition: 0.3s;
}
.main-btn:hover { transform: scale(1.05); box-shadow: 0 0 15px var(--accent); }

/* MAIN CARDS - ACCURATE MEDIUM SIZE */
.cards {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; padding: 40px 5%;
}

.card {
    background: var(--c-bg);
    padding: 30px 20px; border-radius: 20px; text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.4s; height: 100%; backdrop-filter: blur(5px);
}

.card:hover {
    transform: translateY(-8px);
    border: 1px solid var(--accent);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.card h3 { color: var(--accent); margin-bottom: 10px; font-size: 19px; }
.card p { color: #cbd5e1; font-size: 14px; line-height: 1.5; }

/* EXAM GRID - ACCURATE SIZE */
.competitive-section { padding: 60px 5%; text-align: center; }
.exam-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 20px; margin-top: 30px; 
}

.exam-card { 
    background: var(--c-bg); padding: 30px 15px; border-radius: 20px; 
    cursor: pointer; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s;
}
.exam-card h3 { font-size: 16px; margin-top: 10px; }
.exam-card:hover { background: var(--accent); color: #000; transform: translateY(-5px); }

/* FOOTER */
footer { text-align: center; padding: 30px; color: #94a3b8; font-size: 13px; }

/* 📱 MOBILE PREMIUM SLIDE-IN MENU */
@media (max-width: 850px) {
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 75%; height: 100vh; background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; align-items: center;
        gap: 30px; transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
    }

    .nav-links.active { right: 0; }
    .hero h1 { font-size: 28px; }
} 




@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;500;700;800&display=swap');

:root {
    --primary: #6366f1; --bg: #030712; --card: rgba(255, 255, 255, 0.03); 
    --text: #f8fafc; --border: rgba(255,255,255,0.08);
}

/* 10 Ultra-Premium Modes */
[data-theme="midnight"] { --bg: #030712; --primary: #6366f1; }
[data-theme="obsidian"] { --bg: #000000; --primary: #ffffff; }
[data-theme="emerald"] { --bg: #022c22; --primary: #10b981; }
[data-theme="deepsea"] { --bg: #082f49; --primary: #0ea5e9; }
[data-theme="violet"] { --bg: #1e1b4b; --primary: #818cf8; }
[data-theme="nordic"] { --bg: #242933; --primary: #88c0d0; }
[data-theme="crimson"] { --bg: #450a0a; --primary: #ef4444; }
[data-theme="slate"] { --bg: #0f172a; --primary: #94a3b8; }
[data-theme="gold"] { --bg: #0c0a09; --primary: #eab308; }
[data-theme="cyber"] { --bg: #000000; --primary: #00ff41; }

body {
    margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; background: var(--bg);
    color: var(--text); transition: all 0.5s ease;
}

nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%; backdrop-filter: blur(25px); border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 1000; background: rgba(0,0,0,0.2);
}

.logo { font-size: 22px; font-weight: 800; letter-spacing: -1px; }
.logo span { color: var(--primary); }

.mode-btn { 
    background: var(--card); color: var(--text); border: 1px solid var(--border); 
    padding: 10px 20px; border-radius: 12px; cursor: pointer; font-weight: 700;
}

.hero { text-align: center; padding: 60px 20px 30px; }
.hero h1 { font-size: clamp(35px, 6vw, 65px); font-weight: 800; margin: 0; }
.hero h1 span { color: var(--primary); }

.filter-box {
    max-width: 950px; margin: 0 auto; background: var(--card); padding: 25px;
    border-radius: 30px; border: 1px solid var(--border); display: flex;
    gap: 12px; flex-wrap: wrap; justify-content: center; backdrop-filter: blur(20px);
}

.custom-select {
    background: var(--bg); color: var(--text); border: 1px solid var(--border);
    padding: 14px 20px; border-radius: 15px; font-weight: 600; outline: none; min-width: 200px;
}

.search-btn {
    background: var(--primary); color: #000; padding: 0 35px; border-radius: 15px;
    border: none; font-weight: 800; cursor: pointer; transition: 0.3s;
}

.grid { 
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 25px; padding: 50px 8%;
}

.res-card {
    background: var(--card); padding: 30px; border-radius: 35px; border: 1px solid var(--border);
    transition: 0.4s; position: relative;
}
.res-card:hover { transform: translateY(-10px); border-color: var(--primary); background: rgba(255,255,255,0.05); }

.card-title { font-size: 20px; font-weight: 800; margin: 10px 0; line-height: 1.2; }

.action-group { display: flex; gap: 10px; margin-top: 25px; }

.btn-file {
    flex: 1; padding: 12px; border-radius: 14px; text-decoration: none;
    font-size: 13px; font-weight: 800; text-align: center; transition: 0.3s;
}
.btn-file.notes { background: var(--primary); color: #000; }
.btn-file.pyq { border: 1.5px solid var(--primary); color: var(--text); }

.creator-badge {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: rgba(0,0,0,0.6); backdrop-filter: blur(10px);
    padding: 8px 22px; border-radius: 50px; border: 1px solid var(--border);
    font-size: 11px; font-weight: 700; z-index: 100; pointer-events: none;
}
.creator-badge span { color: var(--primary); }


/* PDF Viewer Specific Styles */
.viewer-container {
    height: 100vh; display: flex; flex-direction: column;
}

.viewer-nav {
    padding: 15px 5%; background: rgba(0,0,0,0.3); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center;
}

.pdf-frame-wrapper {
    flex: 1; padding: 20px; display: flex; justify-content: center; background: var(--bg);
}

.pdf-frame {
    width: 100%; max-width: 1000px; height: 100%; border-radius: 20px;
    border: 1px solid var(--border); box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: white;
}

.back-btn {
    text-decoration: none; color: var(--text); font-weight: 700; font-size: 14px;
    display: flex; align-items: center; gap: 8px;
}

.status-badge {
    background: var(--primary); color: #000; padding: 5px 15px; 
    border-radius: 50px; font-size: 12px; font-weight: 800;
}
