/* =========================================================
   UNITOPPER — 3D LOOK THEME LAYER (CSS-only, no external images)
   Additive file: loaded after style.css. Only adds new classes /
   light overrides for icon, header & nav presentation — does not
   change layout-bearing rules other pages depend on.
   ========================================================= */

/* ---------- Generic 3D icon badge ---------- */
.icon3d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 22px;
    line-height: 1;
    background: var(--ic-bg, linear-gradient(150deg, #9b8afb, #6C5CE7));
    box-shadow:
        0 6px 14px rgba(20, 22, 58, 0.18),
        inset 0 -5px 9px rgba(0, 0, 0, 0.14),
        inset 0 3px 6px rgba(255, 255, 255, 0.35);
}
.icon3d-sm { width: 34px; height: 34px; font-size: 16px; }
.icon3d-md { width: 48px; height: 48px; font-size: 22px; }
.icon3d-lg { width: 64px; height: 64px; font-size: 30px; }
.icon3d-xl { width: 80px; height: 80px; font-size: 38px; }

.icon3d-purple { --ic-bg: linear-gradient(150deg, #a596fb, var(--color-primary)); }
.icon3d-green  { --ic-bg: linear-gradient(150deg, #4ade80, var(--color-neet-green)); }
.icon3d-orange { --ic-bg: linear-gradient(150deg, #fdba74, var(--color-ssc-orange)); }
.icon3d-blue   { --ic-bg: linear-gradient(150deg, #60a5fa, #2563eb); }
.icon3d-teal   { --ic-bg: linear-gradient(150deg, #2dd4bf, #0d9488); }
.icon3d-pink   { --ic-bg: linear-gradient(150deg, #f472b6, #db2777); }
.icon3d-amber  { --ic-bg: linear-gradient(150deg, #fcd34d, #d97706); }
.icon3d-red    { --ic-bg: linear-gradient(150deg, #fb7185, #dc2626); }
.icon3d-white  { --ic-bg: rgba(255,255,255,0.22); box-shadow: inset 0 -6px 10px rgba(0,0,0,.12), inset 0 4px 8px rgba(255,255,255,.28); }

/* Align any heading that now carries a leading icon3d badge */
.panel-head h4, .graph-card h4 { display: flex; align-items: center; gap: 9px; }
.feature-strip .feature-item { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; }
.feature-strip .feature-icon { display: flex; justify-content: center; margin-bottom: 8px; }

/* ---------- Soft "claymorphism" card lift ---------- */
.panel, .stat-card, .graph-card, .plan-card, .auth-card {
    box-shadow: 0 4px 16px rgba(20, 22, 58, 0.06), 0 1px 3px rgba(20, 22, 58, 0.04);
}
.plan-card { position: relative; overflow: visible; }
.plan-icon-3d { position: absolute; top: -14px; right: 20px; z-index: 2; }

/* ---------- Category banners (full-width, icon-left layout) ---------- */
.category-banner-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.category-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-radius: 20px;
    padding: 22px 26px;
    color: #fff;
    box-shadow: 0 10px 26px rgba(20, 22, 58, 0.16);
    transition: transform 0.15s, box-shadow 0.15s;
}
.category-banner:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(20, 22, 58, 0.2); }
.category-banner.jee, .category-banner.cat-jee { background: linear-gradient(135deg, #8b7cf6, var(--color-primary)); }
.category-banner.neet, .category-banner.cat-neet { background: linear-gradient(135deg, #34d399, var(--color-neet-green)); }
.category-banner.ssc, .category-banner.cat-ssc { background: linear-gradient(135deg, #fb923c, var(--color-ssc-orange)); }
.category-banner.cat-class11th-neet { background: linear-gradient(135deg, #2dd4bf, #0F766E); }
.category-banner:not(.jee):not(.cat-jee):not(.neet):not(.cat-neet):not(.ssc):not(.cat-ssc):not(.cat-class11th-neet) {
    background: linear-gradient(135deg, #7C3AED, #4F46E5);
}
.cb-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.cb-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: inset 0 -6px 10px rgba(0, 0, 0, 0.12), inset 0 4px 8px rgba(255, 255, 255, 0.28);
}
.category-banner h3 { margin: 0; font-size: 21px; font-weight: 800; }
.category-banner p { margin: 4px 0 0; font-size: 13px; opacity: 0.92; font-weight: 600; }
.cb-btn {
    background: #fff;
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}
.cb-btn.t-jee  { color: var(--color-primary); }
.cb-btn.t-neet { color: var(--color-neet-green); }
.cb-btn.t-ssc  { color: var(--color-ssc-orange); }
.cb-btn.t-default { color: #7C3AED; }

/* ---------- Hero 3D illustration (pure CSS, no images) ---------- */
.hero-3d {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 30px auto 10px;
}
.hero-laptop {
    background: #fff;
    border-radius: 22px;
    padding: 20px;
    transform: rotate(-3deg);
    box-shadow: 0 24px 50px rgba(108, 92, 231, 0.22), 0 6px 16px rgba(20, 22, 58, 0.08);
}
.hero-laptop-screen {
    background: linear-gradient(165deg, #f5f3ff, #ede9fe);
    border-radius: 14px;
    padding: 18px 16px;
}
.hero-grade-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border-radius: 9px;
    padding: 7px 14px;
    font-weight: 800;
    font-size: 15px;
    color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
}
.hero-bars { display: flex; align-items: flex-end; gap: 9px; height: 92px; padding: 0 4px; }
.hero-bar { flex: 1; border-radius: 7px 7px 2px 2px; box-shadow: inset 0 -6px 8px rgba(0,0,0,0.08); }
.hero-laptop-base {
    height: 12px;
    background: #ede9fe;
    border-radius: 0 0 18px 18px;
    margin: 0 -20px -20px;
}

.hero-books {
    position: absolute;
    left: -18px;
    bottom: -10px;
    width: 64px;
    z-index: 3;
}
.hero-book { height: 16px; border-radius: 4px; margin-bottom: 3px; box-shadow: 0 4px 8px rgba(0,0,0,0.12); }

.hero-pie {
    position: absolute;
    right: -14px;
    bottom: -18px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: conic-gradient(#f59e0b 0% 28%, #ec4899 28% 52%, #7c3aed 52% 100%);
    box-shadow: 0 10px 22px rgba(20, 22, 58, 0.22), inset 0 0 0 6px #fff;
    z-index: 3;
}

.hero-float {
    position: absolute;
    box-shadow: 0 8px 16px rgba(20, 22, 58, 0.18);
}
.hero-float-diamond {
    width: 30px; height: 30px;
    background: linear-gradient(145deg, #60a5fa, #2563eb);
    transform: rotate(45deg);
    border-radius: 6px;
    top: -8px; left: 6px;
}
.hero-float-pentagon {
    width: 32px; height: 32px;
    background: linear-gradient(145deg, #f472b6, #db2777);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    top: 2px; right: -10px;
}
.hero-float-triangle {
    width: 0; height: 0;
    border-left: 17px solid transparent;
    border-right: 17px solid transparent;
    border-bottom: 28px solid #fb923c;
    left: -28px; top: 46%;
    box-shadow: none;
    filter: drop-shadow(0 8px 10px rgba(20,22,58,0.18));
}
.hero-float-dot {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, #5eead4, #0d9488);
    right: -22px; top: 58%;
}
.hero-float-diamond-sm {
    width: 18px; height: 18px;
    background: linear-gradient(145deg, #c4b5fd, var(--color-primary));
    transform: rotate(45deg);
    border-radius: 4px;
    left: 36%; bottom: -26px;
}

@media (max-width: 700px) {
    .hero-3d { max-width: 280px; margin: 10px auto 40px; }
}

/* ---------- Bottom mobile tab bar ---------- */
.bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #fff;
    border-top: 1px solid var(--color-border);
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 18px rgba(20, 22, 58, 0.08);
    z-index: 150;
}
.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--color-text-muted);
    flex: 1;
    padding: 4px 0;
    background: none;
    border: none;
}
.bottom-nav a.active { color: var(--color-primary); }
.bottom-nav .bn-icon {
    font-size: 19px;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    transition: background 0.15s;
}
.bottom-nav a.active .bn-icon { background: var(--color-primary-light); }

@media (max-width: 900px) {
    .bottom-nav { display: flex; }
    body.has-bottom-nav { padding-bottom: 60px; }
}

/* ---------- Avatar chevron (header) ---------- */
.nav-avatar-wrap { display: flex; align-items: center; gap: 3px; cursor: pointer; }
.nav-chevron { font-size: 10px; color: var(--color-text-muted); }

/* premium-crown now just wraps an icon3d badge */
.premium-crown { background: none; box-shadow: none; width: auto; height: auto; }
.premium-banner h4 { display: flex; align-items: center; gap: 8px; }
