:root{
  --navy-950:#0a1334;--navy-900:#101c4c;--navy-800:#14245f;--navy-700:#1d3278;
  --blue:#377cf6;--blue-soft:#edf3ff;--red:#f04452;--red-soft:#fff0f2;--cream:#f7f8fc;--white:#fff;
  --ink:#17203d;--muted:#68718b;--line:#e5e8f1;--green:#16a36a;--green-soft:#eaf9f2;--violet:#7558d9;--violet-soft:#f1edff;
  --shadow:0 20px 60px rgba(20,36,95,.11);--shadow-soft:0 12px 34px rgba(20,36,95,.08);--container:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--cream);font-family:"Inter",sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit}
button,input{font:inherit}
.container{width:min(var(--container),calc(100% - 40px));margin-inline:auto}
.skip-link{position:fixed;left:20px;top:-60px;z-index:120;padding:12px 18px;color:#fff;background:var(--red);border-radius:10px;text-decoration:none}
.skip-link:focus{top:20px}

.site-header{height:78px;color:#fff;background:var(--navy-950);border-bottom:1px solid rgba(255,255,255,.09)}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:30px}
.brand{display:inline-flex;align-items:center;gap:9px;color:#fff;text-decoration:none}
.brand-mark{display:grid;place-items:center;width:43px;height:41px;flex:0 0 auto}
.brand-mark svg{display:block;width:100%;height:100%;overflow:visible}
.brand-mark path{fill:none;stroke-linecap:round}
.brand-mark .logo-ring{stroke:var(--red);stroke-width:7}
.brand-mark .logo-ear-outer{stroke:#fff;stroke-width:4}
.brand-mark .logo-ear-inner{stroke:#fff;stroke-width:3.6}
.brand-mark .logo-wave-one{stroke:#73aaff;stroke-width:3.6}
.brand-mark .logo-wave-two{stroke:var(--blue);stroke-width:3.6}
.brand-mark .logo-dot{fill:#73aaff}
.brand-word{display:inline-flex;font:800 20px/1 "Manrope";letter-spacing:2px}
.brand-o{color:var(--red)}
.brand-x{color:#73aaff}
.header-nav{display:flex;align-items:center;gap:8px}
.header-nav a{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;color:#aeb9dc;border-radius:10px;font-size:12px;font-weight:700;text-decoration:none;transition:.2s}
.header-nav a:hover{color:#fff;background:rgba(255,255,255,.08)}
.header-nav .nav-moodle{color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08)}

.timer-main{min-height:calc(100vh - 78px - 78px);display:grid;align-items:center;padding:42px 0;background:radial-gradient(circle at 85% 10%,rgba(55,124,246,.12),transparent 34%),radial-gradient(circle at 12% 80%,rgba(240,68,82,.08),transparent 34%),var(--cream)}
.timer-section{width:100%;padding:0}
.timer-layout{display:grid;grid-template-columns:minmax(0,760px);justify-content:center}
.timer-card{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow-soft)}
.timer-card{padding:24px}
.timer-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.section-kicker{color:var(--red);font-size:10px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase}
.timer-top h2,.panel-head h2{margin:4px 0 0;font:800 25px/1.15 "Manrope";letter-spacing:-.8px}
.status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 11px;color:var(--navy-700);background:var(--blue-soft);border-radius:999px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.8px}
.status-pill.running{color:var(--green);background:var(--green-soft)}
.status-pill.paused{color:#b46a00;background:#fff4df}
.status-pill.finished{color:var(--red);background:var(--red-soft)}
.quick-times{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.quick-times button{height:38px;padding:0 13px;color:var(--muted);background:#f4f5f8;border:0;border-radius:10px;font-size:10px;font-weight:900;cursor:pointer;transition:.2s}
.quick-times button:hover{color:#fff;background:var(--navy-800)}
.input-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.input-grid label{display:grid;gap:7px;color:var(--muted);font-size:10px;font-weight:900;letter-spacing:.8px;text-transform:uppercase}
.input-grid input{width:100%;height:54px;padding:0 12px;color:var(--ink);background:#f5f6fa;border:1px solid transparent;border-radius:14px;outline:none;text-align:center;font:800 22px "Manrope"}
.input-grid input:focus{background:#fff;border-color:var(--blue);box-shadow:0 0 0 4px rgba(55,124,246,.1)}
.input-grid input:disabled{opacity:.65;cursor:not-allowed}
.timer-display-wrap{margin:26px 0 20px;text-align:center}
.finish-alert{display:none;align-items:center;justify-content:center;gap:9px;margin:0 auto 12px;color:var(--red);font:900 18px "Manrope";animation:pulse 1s infinite}
.finish-alert.visible{display:flex}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.45}}
.timer-display{display:block;width:100%;padding:26px 18px;color:var(--navy-950);background:linear-gradient(180deg,#fff,#f4f7ff);border:1px solid var(--line);border-radius:22px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55);font:800 clamp(52px,8vw,96px)/1 "Manrope";letter-spacing:-4px}
.progress-track,.fullscreen-progress{height:10px;overflow:hidden;margin-top:12px;background:#e9edf6;border-radius:999px}
.progress-track span,.fullscreen-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--red),var(--blue));border-radius:inherit;transition:width .2s linear}
.controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.control{min-height:46px;padding:0 12px;color:var(--muted);background:#f4f5f8;border:0;border-radius:12px;font-size:11px;font-weight:900;cursor:pointer;transition:.2s}
.control i{margin-right:6px}
.control:hover{color:#fff;background:var(--navy-800)}
.control.primary{color:#fff;background:var(--red);box-shadow:0 14px 28px rgba(240,68,82,.2)}
.control.fullscreen{color:var(--navy-700);background:var(--blue-soft)}
.control.fullscreen:hover{color:#fff;background:var(--blue)}
.panel-head{margin-bottom:18px}

.fullscreen-timer{position:fixed;inset:0;z-index:200;display:grid;place-items:center;color:#fff;background:var(--navy-950)}
.fullscreen-timer[hidden]{display:none}
.fullscreen-bg{position:absolute;inset:0;background:radial-gradient(circle at 80% 10%,rgba(55,124,246,.32),transparent 40%),radial-gradient(circle at 15% 85%,rgba(240,68,82,.26),transparent 38%),linear-gradient(135deg,var(--navy-950),var(--navy-800));overflow:hidden}
.fullscreen-bg::after{content:"";position:absolute;inset:0;opacity:.08;background:repeating-linear-gradient(-6deg,transparent 0 42px,rgba(255,255,255,.75) 43px,transparent 44px)}
.fullscreen-inner{position:relative;width:min(1100px,calc(100% - 32px));text-align:center}
.fullscreen-close{position:absolute;top:-54px;right:0;display:grid;place-items:center;width:42px;height:42px;color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:14px;cursor:pointer}
.fullscreen-label{display:inline-flex;margin-bottom:20px;padding:9px 13px;color:#cbd7ff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:999px;font-size:11px;font-weight:900;letter-spacing:1.2px;text-transform:uppercase}
.fullscreen-display{display:block;font:800 clamp(72px,18vw,220px)/.9 "Manrope";letter-spacing:-8px;text-shadow:0 24px 70px rgba(0,0,0,.34)}
.fullscreen-progress{height:14px;width:min(760px,100%);margin:28px auto 22px;background:rgba(255,255,255,.14)}
.fullscreen-controls{display:flex;justify-content:center;gap:10px}
.fullscreen-controls button{min-height:46px;padding:0 16px;color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:13px;font-size:12px;font-weight:900;cursor:pointer}
.fullscreen-controls button:hover{background:rgba(255,255,255,.18)}
.site-footer{padding:30px 0;color:#8390b7;background:var(--navy-950)}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}
.footer-inner>div:first-child{display:flex;flex-direction:column;gap:4px}
.footer-inner strong{color:#fff;font:800 15px "Manrope";letter-spacing:1.4px}
.footer-inner span{font-size:10px}
.footer-inner a{display:inline-flex;align-items:center;gap:8px;color:#aeb9dc;font-size:11px;font-weight:900;text-decoration:none}
.footer-inner a:hover{color:#fff}
body.fullscreen-open{overflow:hidden}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #79aaff;outline-offset:3px}

@media(max-width:1050px){
  .controls{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .container{width:min(100% - 28px,var(--container))}
  .site-header{height:70px}
  .brand-word{font-size:17px}
  .brand-mark{width:39px;height:37px}
  .header-nav a span{display:none}
  .header-nav a{width:38px;height:38px;justify-content:center;padding:0}
  .timer-main{min-height:calc(100vh - 70px - 104px);padding:24px 0}
  .timer-card{padding:18px;border-radius:20px}
  .timer-top{display:block}
  .status-pill{margin-top:12px}
  .input-grid{grid-template-columns:1fr 1fr 1fr;gap:8px}
  .input-grid input{height:50px;font-size:19px}
  .timer-display{font-size:clamp(45px,15vw,66px);letter-spacing:-2.6px;padding:24px 12px}
  .controls{grid-template-columns:1fr}
  .fullscreen-close{top:-60px}
  .fullscreen-display{letter-spacing:-4px}
  .fullscreen-controls{flex-direction:column}
  .footer-inner{align-items:flex-start;flex-direction:column}
}
@media(max-width:430px){
  .input-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* === Odyoflix v4 design sync === */
:root {
  --navy-950: #0a1334;
  --navy-900: #101c4c;
  --navy-800: #14245f;
  --navy-700: #1d3278;
  --blue: #377cf6;
  --red: #f04452;
  --red-dark: #d93646;
  --cream: #f7f8fc;
  --white: #ffffff;
  --ink: #17203d;
  --muted: #68718b;
  --line: #e5e8f1;
  --shadow: 0 22px 70px rgba(20, 36, 95, .12);
  --radius: 24px;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -10%, rgba(55, 124, 246, .12), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(240, 68, 82, .10), transparent 28%),
    linear-gradient(180deg, #fff 0%, var(--cream) 38%, #eef2fa 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header,
.topbar {
  color: #fff;
  background: rgba(10, 19, 52, .96) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .09) !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 34px rgba(4, 9, 27, .18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand,
.nav .brand {
  color: #fff;
}

.brand-badge {
  color: #fff !important;
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .16) !important;
}

.header-nav a,
.header-nav summary,
.nav-links a,
.chip {
  color: #aeb9dc !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
}

.header-nav a:hover,
.header-nav summary:hover,
.header-nav .is-active,
.header-nav .nav-moodle,
.header-nav .nav-help,
.header-nav .nav-login,
.nav-links a:hover,
.chip:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, .09) !important;
  border-color: rgba(255, 255, 255, .12) !important;
}

.header-nav .header-cta,
.nav-links a:last-child {
  color: #fff !important;
  background: var(--red) !important;
  border-color: rgba(255, 255, 255, .14) !important;
  box-shadow: 0 12px 28px rgba(240, 68, 82, .22);
}

.page-hero,
.hero-card,
.login-card,
.topbar.card,
.topbar.large-card {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800) 58%, #1a377c) !important;
}

.page-hero::before,
.hero-card::after,
.login-card::after,
.topbar.card::after,
.topbar.large-card::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 124, 246, .38), transparent 68%);
  pointer-events: none;
}

.page-hero > *,
.hero-card > *,
.login-card > *,
.topbar.card > *,
.topbar.large-card > * {
  position: relative;
  z-index: 1;
}

.hero-card h1,
.page-hero h1,
.login-card h1,
.topbar h1,
.hero-copy h1 {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.hero-card p,
.page-hero p,
.login-card .muted,
.topbar .muted,
.hero-copy > p {
  color: #bcc7e8 !important;
}

.hero-card em,
.page-hero em,
.hero-copy h1 em {
  color: #7eb0ff !important;
  font-style: normal;
}

.eyebrow,
.section-kicker,
.breadcrumb,
.section-heading small {
  font-weight: 900;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  color: #aec5ff;
}

.eyebrow i,
.section-kicker i,
.breadcrumb i {
  color: #ff7a86;
}

.hero-card,
.hero-visual,
.panel,
.metric,
.video-card,
.cta-box,
.quote-card,
.question-card,
.reference-card,
.today-card,
.hero-stat-card,
.hero-action-card,
.overview-card,
.priority-card,
.tool-card,
.campus-link,
.accreditation-card,
.booking-card,
.timer-card,
.od-container,
.od-degree,
.staff-card,
.lab-card,
.feature-card,
.intro-panel,
.card,
.inner-card,
.appointment-item,
.list-item,
.user-card,
.mobile-day-card {
  border-color: var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
}

.panel,
.metric,
.video-card,
.cta-box,
.quote-card,
.question-card,
.reference-card,
.today-card,
.hero-visual,
.hero-stat-card,
.hero-action-card,
.overview-card,
.booking-card,
.timer-card,
.od-container,
.od-degree,
.staff-card,
.lab-card,
.feature-card,
.intro-panel,
.card,
.inner-card,
.appointment-item,
.list-item,
.user-card,
.mobile-day-card {
  background: rgba(255, 255, 255, .97) !important;
}

.btn,
.button,
.hero-btn,
.primary-btn,
.ghost-btn,
.control,
.filter,
.filter-button,
.class-filter,
.week-pill,
.small-btn,
.degree-year-btn,
.od-buttons button,
.nav-pills a,
.panel-actions a,
.panel-actions button {
  border-radius: 12px !important;
  font-weight: 800 !important;
}

.btn-primary,
.button-primary,
.hero-btn.primary,
.primary-btn,
.control.primary,
.update-notice-button,
.hero-action-card > a,
.hero-stat-card a,
.fallback-card a {
  color: #fff !important;
  background: var(--red) !important;
  border-color: var(--red) !important;
  box-shadow: 0 14px 34px rgba(240, 68, 82, .26) !important;
}

.btn-primary:hover,
.button-primary:hover,
.hero-btn.primary:hover,
.primary-btn:hover,
.control.primary:hover,
.update-notice-button:hover,
.hero-action-card > a:hover,
.hero-stat-card a:hover,
.fallback-card a:hover {
  background: var(--red-dark) !important;
}

.btn-secondary,
.button-ghost,
.hero-btn.ghost,
.ghost-btn,
.week-pill,
.control.fullscreen {
  color: var(--navy-800) !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
}

input,
select,
textarea,
.search-box input,
.tool-search input {
  color: var(--ink) !important;
  background: #f8faff !important;
  border: 1px solid var(--line) !important;
  border-radius: 13px !important;
}

input:focus,
select:focus,
textarea:focus,
.search-box input:focus,
.tool-search input:focus {
  background: #fff !important;
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 4px rgba(55, 124, 246, .10) !important;
}

.section-heading h2,
.section-head h2,
.card-head h2,
.panel h3,
.metric h3,
.question-card h3,
.quote-card h3,
.reference-card h3,
.video-copy h3,
.cta-box h3 {
  font-family: "Manrope", "Inter", sans-serif;
  letter-spacing: -0.03em;
}

.site-footer,
.footer {
  color: #8390b7 !important;
  background: var(--navy-950) !important;
}

.site-footer strong,
.footer strong,
.footer-line div,
.footer-inner strong {
  color: #fff !important;
}

@media (max-width: 760px) {
  .site-header,
  .topbar {
    min-height: 70px;
  }

  .header-nav a,
  .header-nav summary,
  .nav-links a,
  .chip {
    min-height: 38px;
  }

  .page-hero,
  .hero {
    padding-top: 52px;
    padding-bottom: 58px;
  }
}

/* === Odyoflix v4 decoration positioning fix === */
.page-hero > .hero-glow,
.page-hero > .sound-lines,
.page-hero > .schedule-lines,
.page-hero > .data-lines,
.hero > .hero-glow,
.hero > .wave-lines {
  position: absolute !important;
  z-index: 0 !important;
  pointer-events: none;
}

.page-hero > .container,
.hero > .container {
  position: relative;
  z-index: 1;
}

/* === Odyoflix shared footer === */
.site-footer {
  padding: 76px 0 25px !important;
  color: #fff !important;
  background: var(--navy-950) !important;
}

.footer-main {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr .7fr !important;
  gap: 80px !important;
  padding-bottom: 54px !important;
}

.brand-footer {
  margin-bottom: 20px !important;
}

.footer-brand p {
  max-width: 320px !important;
  margin: 0 !important;
  color: #828eb5 !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

.footer-links {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 38px !important;
}

.footer-links div {
  display: flex !important;
  flex-direction: column !important;
  gap: 13px !important;
}

.footer-links strong,
.footer-social > strong {
  margin-bottom: 5px !important;
  color: #fff !important;
  font: 800 12px "Manrope", sans-serif !important;
}

.footer-links a {
  color: #858fb2 !important;
  font-size: 12px !important;
  text-decoration: none !important;
}

.footer-links a:hover {
  color: #fff !important;
}

.footer-social > div {
  display: flex !important;
  gap: 8px !important;
  margin-top: 15px !important;
}

.footer-social a {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .07) !important;
  border-radius: 11px !important;
  text-decoration: none !important;
  transition: .2s ease !important;
}

.footer-social a:hover {
  background: var(--red) !important;
  transform: translateY(-3px) !important;
}

.footer-bottom {
  display: flex !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding-top: 24px !important;
  color: #667199 !important;
  border-top: 1px solid rgba(255, 255, 255, .07) !important;
  font-size: 10px !important;
}

.footer-bottom p {
  margin: 0 !important;
}

.footer-bottom .footer-dot {
  display: inline-block !important;
  width: 3px !important;
  height: 3px !important;
  margin: 0 6px !important;
  background: var(--red) !important;
  border-radius: 50% !important;
  vertical-align: middle !important;
}

@media (max-width: 760px) {
  .footer-main {
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
  }

  .footer-brand {
    grid-column: 1 / -1 !important;
  }

  .site-footer {
    padding-bottom: 42px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 9px !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 520px) {
  .footer-main {
    grid-template-columns: 1fr !important;
  }

  .footer-brand {
    grid-column: auto !important;
  }

  .footer-social {
    margin-top: 8px !important;
  }
}
