:root {
    --bg: #f7f5f0;
    --text: #1d2433;
    --muted: #677083;
    --primary: #c77714;
    --primary-dark: #96550d;
    --card: #ffffff;
    --border: #e7ded1;
    --soft: #fff4df;
    --danger: #c62828;
    --success: #147a3d;
    --shadow: 0 18px 45px rgba(48, 35, 18, 0.10);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header, .admin-header { background: rgba(255,255,255,.95); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.admin-header { background: #101827; color: #fff; }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: inherit; font-size: 1.15rem; }
.brand.centered { justify-content: center; width: 100%; color: var(--text); }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; background: var(--primary); color: #fff; border-radius: 14px; }
.site-nav { display: flex; align-items: center; gap: 16px; }
.site-nav a { color: inherit; font-weight: 700; }
.nav-toggle { display: none; border: 0; background: var(--primary); color: #fff; border-radius: 8px; padding: 8px 11px; font-size: 1.1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; background: var(--primary); color: #fff !important; padding: 12px 18px; border-radius: 12px; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--primary) !important; border: 1px solid var(--border); }
.btn.small { padding: 8px 12px; border-radius: 10px; font-size: .9rem; }
.btn.block { width: 100%; }
.btn.danger, .danger { background: var(--danger); }
.danger-link { color: var(--danger); }
.hero { padding: 82px 0; background: radial-gradient(circle at top right, rgba(199,119,20,.18), transparent 34%), linear-gradient(180deg,#fff 0%,#f7f5f0 100%); }
.hero-grid, .detail-grid, .form-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: center; }
.hero h1, .page-banner h1 { font-size: clamp(2.2rem,4vw,4.4rem); line-height: 1.05; margin: 8px 0 18px; }
.hero-text { font-size: 1.12rem; color: var(--muted); max-width: 720px; }
.eyebrow { color: var(--primary); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; font-weight: 900; margin: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-card, .content-card, .form-card, .login-card, .message-card, .info-card { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.hero-card { overflow: hidden; }
.hero-card img { border-radius: 18px; width: 100%; max-height: 260px; object-fit: cover; margin-bottom: 18px; }
.section { padding: 64px 0; }
.section.soft { background: var(--soft); }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.8rem,3vw,2.6rem); margin: 6px 0 8px; }
.section-head.compact { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.content-grid, .option-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.info-card { display: flex; flex-direction: column; gap: 12px; }
.info-card h3 { margin: 0; }
.info-card p { color: var(--muted); margin: 0 0 8px; }
.info-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.info-card-top small, .muted-text { color: var(--muted); }
.card-image { width: 100%; height: 185px; object-fit: cover; border-radius: 18px; background: var(--soft); }
.badge { display: inline-flex; background: var(--soft); color: var(--primary); border-radius: 999px; padding: 5px 10px; font-size: .78rem; font-weight: 900; }
.deadline { color: var(--danger) !important; }
.page-banner { padding: 64px 0; background: #fff; border-bottom: 1px solid var(--border); }
.article-content { font-size: 1.05rem; }
.article-content img.detail-image { border-radius: 22px; max-height: 420px; width: 100%; object-fit: contain; background: var(--soft); margin: 0 0 24px; }
.check-list { list-style: none; padding: 0; }
.check-list li { margin: 10px 0; padding-left: 28px; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 900; }
.news-ticker { background: #101827; color: #fff; padding: 10px 0; overflow: hidden; }
.news-ticker span { display: inline-block; white-space: nowrap; animation: ticker 48s linear infinite; }
@keyframes ticker { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }
.search-form { display: flex; gap: 10px; margin-bottom: 28px; }
.search-form input, form input, form textarea, form select { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; font: inherit; background: #fff; color: var(--text); }
form label { display: grid; gap: 7px; font-weight: 700; margin-bottom: 16px; }
.form-card.wide { max-width: 920px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.alert { padding: 14px 16px; border-radius: 12px; margin: 18px 0; font-weight: 700; }
.alert.success { background: #e7f8ee; color: var(--success); border: 1px solid #bfe8ce; }
.alert.error { background: #fff0f0; color: var(--danger); border: 1px solid #f2bbbb; }
.empty-state { grid-column: 1 / -1; background: var(--card); border: 1px dashed var(--border); border-radius: 22px; padding: 32px; text-align: center; }
.site-footer { background: #101827; color: #dbe4f3; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 24px; }
.footer-grid a { color: #dbe4f3; display: block; margin: 8px 0; }
.copyright { margin-top: 36px; padding: 18px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; color: #9ca9ba; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 20% 20%, rgba(199,119,20,.16), transparent 32%), var(--bg); }
.login-card { width: min(440px, 100%); }
.login-card h1 { text-align: center; }
.small-text { color: var(--muted); font-size: .9rem; text-align: center; }
.install-card { width: min(620px, 100%); }
.admin-main { min-height: calc(100vh - 76px); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin: 28px 0; }
.stats-grid > div { background: var(--card); border-radius: 22px; padding: 28px; border: 1px solid var(--border); text-align: center; }
.stats-grid strong { display: block; font-size: 2rem; color: var(--primary); }
.stats-grid span { color: var(--muted); }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid var(--border); padding: 14px 12px; text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: .9rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.message-list { display: grid; gap: 18px; }
.message-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.message-head h3 { margin: 0 0 4px; }
.message-head p, .message-head small { color: var(--muted); margin: 0; }
.tab-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.tab-nav a { padding: 10px 14px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--text); font-weight: 700; }
.tab-nav a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.video-frame { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 18px; box-shadow: var(--shadow); }
@media (max-width: 900px) {
    .nav-toggle { display: inline-block; }
    .site-nav { display: none; position: absolute; top: 76px; left: 16px; right: 16px; background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
    .site-nav.open { display: flex; max-height: calc(100vh - 100px); overflow-y: auto; }
    .hero-grid, .detail-grid, .form-grid, .footer-grid, .dashboard-grid { grid-template-columns: 1fr; }
    .content-grid, .option-grid, .stats-grid { grid-template-columns: 1fr; }
    .form-row, .form-row.two { grid-template-columns: 1fr; }
    .search-form { flex-direction: column; }
    .section-head.compact, .message-head { flex-direction: column; align-items: flex-start; }
}
.brand-logo img {
    height: 72px;
    width: auto;
    max-width: 340px;
}
.brand-logo {
    display: inline-flex;
    align-items: center;
}

.news-ticker a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.news-ticker a:hover {
    text-decoration: underline;
}

/* Premium glass effect for hero card */
.hero .hero-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.78),
        rgba(255, 255, 255, 0.48)
    );
    backdrop-filter: blur(26px) saturate(165%);
    -webkit-backdrop-filter: blur(26px) saturate(165%);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    border-radius: 34px;
    padding: 38px;
}

.hero .hero-card h2 {
    margin-bottom: 24px;
    color: #101827;
}

.hero .check-list li {
    font-size: 1.03rem;
    margin-bottom: 18px;
    color: #1d2433;
}

.hero .check-list li::before {
    color: #0f8a43;
    font-weight: 900;
}

/* Clean premium Media Tech Spotlight */
.media-tech-spotlight {
    padding: 54px 0;
    background: #f7f5f0;
}

.spotlight-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: stretch;
    padding: 36px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(199, 119, 20, 0.22), transparent 34%),
        linear-gradient(135deg, #101827 0%, #172238 100%);
    box-shadow: 0 28px 75px rgba(16, 24, 39, 0.22);
}

.spotlight-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-intro .eyebrow {
    color: #f2a13a;
}

.spotlight-intro h2 {
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.08;
    margin: 10px 0 16px;
}

.spotlight-intro .hero-text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    max-width: 540px;
}

.spotlight-intro .btn {
    width: fit-content;
    margin-top: 22px;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 0;
}

.spotlight-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 24px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.spotlight-card::before {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(199, 119, 20, 0.24);
}

.spotlight-card span {
    display: inline-flex;
    background: rgba(199, 119, 20, 0.20);
    color: #ffbf68;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.spotlight-card h3 {
    position: relative;
    margin: 22px 0 10px;
    color: #ffffff;
    font-size: 1.15rem;
}

.spotlight-card p {
    position: relative;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.spotlight-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 191, 104, 0.45);
}
/* Reduce large empty spacing */
.section {
    padding: 54px 0;
}

.section-head h2 {
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
}

@media (max-width: 900px) {
    .spotlight-panel {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .spotlight-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Premium About Section - Cleaner Version ===== */

.about-highlight {
    background: #f7f5f0;
}

.about-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: center;
    padding: 46px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(199, 119, 20, 0.24), transparent 34%),
        linear-gradient(135deg, #101827 0%, #172238 100%);
    box-shadow: 0 28px 75px rgba(16, 24, 39, 0.22);
}

.about-panel::before {
    content: "";
    position: absolute;
    right: -100px;
    top: -100px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(199, 119, 20, 0.16);
}

.about-copy,
.about-side-card {
    position: relative;
    z-index: 1;
}

.about-copy .eyebrow,
.about-side-card .eyebrow {
    color: #f2a13a;
}

.about-copy h2 {
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    margin: 10px 0 18px;
    max-width: 760px;
}

.about-copy .hero-text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    max-width: 760px;
}

.about-side-card {
    padding: 34px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(199, 119, 20, 0.18), rgba(255, 255, 255, 0.08)),
        rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.about-side-card h3 {
    color: #ffffff;
    font-size: 1.7rem;
    line-height: 1.15;
    margin: 10px 0 14px;
}

.about-side-card p {
    color: rgba(255, 255, 255, 0.74);
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .about-panel {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .about-copy h2 {
        font-size: 2rem;
    }

    .about-side-card {
        padding: 26px;
    }
}    
  /* =========================
   Hero background slider
   No ticker change
========================= */

.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 95px 0 90px;
    background: none !important;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.04);
    animation: heroFade 18s infinite;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 6s;
}

.hero-slide:nth-child(3) {
    animation-delay: 12s;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(7, 18, 37, 0.88) 0%,
        rgba(7, 18, 37, 0.68) 42%,
        rgba(7, 18, 37, 0.32) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-slider h1,
.hero-slider .eyebrow {
    color: #ffffff;
}

.hero-slider .hero-text {
    color: rgba(255, 255, 255, 0.90);
}

@keyframes heroFade {
    0% {
        opacity: 0;
        transform: scale(1.04);
    }

    8% {
        opacity: 1;
        transform: scale(1.025);
    }

    30% {
        opacity: 1;
        transform: scale(1);
    }

    38% {
        opacity: 0;
        transform: scale(1.03);
    }

    100% {
        opacity: 0;
    }
}

@media (max-width: 900px) {
    .hero-slider {
        min-height: auto;
        padding: 70px 0;
    }
}
/* Keep hero eyebrow orange */
.hero-slider .eyebrow {
    color: #f2a13a !important;
}/* Pause scrolling news on mouse hover */
.news-ticker:hover span {
    animation-play-state: paused;
}/* Media Hole NET MCJ Notes - clean learner-friendly style */
.note-page {
  max-width: 980px;
  margin: 28px auto;
  padding: 20px;
  line-height: 1.7;
  font-size: 17px;
  color: #111827;
  font-family: Arial, Helvetica, sans-serif;
}

.note-page h1 {
  color: #073b6b;
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.note-page h2 {
  color: #0f766e;
  margin-top: 32px;
  border-left: 5px solid #0f766e;
  padding-left: 12px;
  font-size: 24px;
}

.note-page h3 {
  color: #073b6b;
  margin-top: 24px;
  font-size: 20px;
}

.note-meta {
  color: #4b5563;
  font-size: 15px;
  margin-bottom: 18px;
}

.note-box {
  background: #f0f7ff;
  border-left: 5px solid #073b6b;
  padding: 15px 16px;
  margin: 20px 0;
  border-radius: 8px;
}

.pyq-box {
  background: #fff8e6;
  border-left: 5px solid #f59e0b;
  padding: 15px 16px;
  margin: 20px 0;
  border-radius: 8px;
}

.revision-box {
  background: #ecfdf5;
  border-left: 5px solid #0f766e;
  padding: 15px 16px;
  margin: 20px 0;
  border-radius: 8px;
}

.note-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 16px;
}

.note-table th {
  background: #073b6b;
  color: #ffffff;
  padding: 11px;
  text-align: left;
}

.note-table td {
  border: 1px solid #d0d7de;
  padding: 10px 11px;
  vertical-align: top;
}

.note-table tr:nth-child(even) {
  background: #f7fbff;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}

.info-card {
  border: 1px solid #d0d7de;
  border-radius: 10px;
  padding: 15px;
  background: #ffffff;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 16px 0;
}

.flow span {
  background: #e8f3ff;
  border: 1px solid #9fc3e6;
  color: #073b6b;
  border-radius: 8px;
  padding: 9px 12px;
  font-weight: 700;
}

.flow b {
  color: #0f766e;
}

.mcq {
  background: #ffffff;
  border: 1px solid #d0d7de;
  padding: 15px;
  border-radius: 8px;
  margin: 16px 0;
}

.mcq p {
  margin: 6px 0;
}

.answer {
  font-weight: 700;
  color: #0f766e;
}

.year-tag {
  font-size: 14px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  padding: 5px 8px;
  display: inline-block;
  border-radius: 6px;
  margin-top: 6px;
}

@media (max-width: 700px) {
  .note-page {
    padding: 14px;
    font-size: 16px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .note-page h1 {
    font-size: 25px;
  }
  .note-page h2 {
    font-size: 21px;
  }
  .note-table {
    font-size: 15px;
    display: block;
    overflow-x: auto;
  }
}