/* ===========================
   BASE & RESET
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --orange:       #ff6a00;
  --orange-dim:   #c44e00;
  --orange-glow:  rgba(255, 106, 0, 0.25);
  --orange-soft:  rgba(255, 106, 0, 0.08);
  --bg:           #0a0a0a;
  --bg-card:      #0f0f0f;
  --bg-card2:     #141414;
  --border:       rgba(255, 106, 0, 0.25);
  --border-dim:   rgba(255, 106, 0, 0.1);
  --green:        #39ff14;
  --text:         #e8e0d4;
  --text-dim:     #7a7060;
  --text-muted:   #4a4438;
  --font-mono:    'JetBrains Mono', 'Share Tech Mono', 'Courier New', monospace;
}

html {
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ===========================
   SCANLINES EFFECT
=========================== */
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.07) 2px,
    rgba(0,0,0,0.07) 4px
  );
}

/* ===========================
   LAYOUT
=========================== */
.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 0 40px;
}

/* ===========================
   HERO / TERMINAL HEADER
=========================== */
.hero {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #161616;
  border-bottom: 1px solid var(--border-dim);
  position: sticky;
  top: 0;
  z-index: 50;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.terminal-title {
  font-size: 11px;
  color: var(--text-dim);
  margin-left: 6px;
  letter-spacing: 0.04em;
}

.hero-body {
  padding: 28px 20px 32px;
}

.prompt {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.caret {
  color: var(--orange);
  font-size: 16px;
}

.cmd {
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
}

/* Typewriter animation */
.typing {
  border-right: 2px solid var(--orange);
  animation: blink-cursor 0.9s step-end infinite;
  white-space: nowrap;
  width: 28ch;
  animation: typewriter 1.4s steps(28) 0.3s both,
             blink-cursor 0.9s step-end 1.7s infinite;
}

@keyframes typewriter {
  from { width: 0; }
  to   { width: 28ch; }
}

@keyframes blink-cursor {
  0%, 100% { border-color: var(--orange); }
  50%       { border-color: transparent; }
}

/* BADGE */
.blink-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #0a0a0a;
  background: var(--orange);
  padding: 3px 10px;
  margin-bottom: 14px;
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

/* MAIN TITLE */
.main-title {
  font-size: clamp(36px, 12vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 8px;
}

.main-title .accent {
  color: var(--orange);
  text-shadow: 0 0 24px rgba(255, 106, 0, 0.5);
}

.subtitle {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.start-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: var(--orange-soft);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 2px;
}

.start-block .label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.start-date {
  font-size: 20px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.02em;
  text-shadow: 0 0 16px var(--orange-glow);
}

/* ===========================
   SECTIONS
=========================== */
.section {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border-dim);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.prompt-icon {
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
}

.section-label {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ===========================
   ABOUT SECTION
=========================== */
.about-section {
  background: var(--bg-card2);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-line {
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  line-height: 1.5;
}

.ok {
  color: var(--green);
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===========================
   PROGRAM SECTION
=========================== */
.program-section {
  background: var(--bg);
}

.days-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.day-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-left: 3px solid var(--orange-dim);
  padding: 14px 16px;
  border-radius: 0 2px 2px 0;
  transition: border-color 0.2s, background 0.2s;
}

.day-card:hover,
.day-card:active {
  border-left-color: var(--orange);
  background: var(--bg-card2);
}

.day-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.day-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.day-status {
  font-size: 10px;
  letter-spacing: 0.06em;
}

.status-ready {
  color: var(--green);
}

.day-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
}

.day-desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ===========================
   CTA SECTION
=========================== */
.cta-section {
  background: var(--bg-card2);
}

.cta-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-line {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.accent-arrow {
  color: var(--orange);
  font-size: 12px;
}

/* REGISTER BUTTON */
.btn-register {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--orange);
  color: #000;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 18px 20px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 0 32px rgba(255, 106, 0, 0.35);
  -webkit-tap-highlight-color: transparent;
}

.btn-register::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-register:hover::before,
.btn-register:active::before {
  transform: translateX(100%);
}

.btn-register:active {
  transform: scale(0.98);
  background: #e05a00;
}

.btn-prefix {
  font-size: 16px;
  opacity: 0.7;
}

.btn-cursor {
  animation: blink-cursor 0.9s step-end infinite;
  font-size: 18px;
  margin-left: 2px;
}

.cta-note {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.03em;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  padding: 20px 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-line {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}

.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-dim);
  padding-top: 12px;
}

/* ===========================
   RESPONSIVE (desktop tweak)
=========================== */
@media (min-width: 481px) {
  body {
    padding: 20px 0;
  }

  .container {
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
  }

  .terminal-bar {
    position: static;
  }
}
