:root {
  --ink: #ffffff;
  --muted: #c7c7c7;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ff2b2b;
  --accent-soft: rgba(255, 43, 43, 0.16);
  --accent-deep: #ff8a8a;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 43, 43, 0.14), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 43, 43, 0.09), transparent 24%),
    linear-gradient(180deg, #000000 0%, #000000 100%);
}

.app-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.hero,
.schedule-app {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 43, 43, 0.15), transparent 24%),
    linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(18, 18, 18, 0.96));
}

.hero-logo {
  position: absolute;
  top: 50%;
  left: 23%;
  width: min(400px, 42vw);
  opacity: 0.19;
  transform: translate(-50%, -50%);
  filter: blur(14px) saturate(1.1);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.hero h1 {
  margin: 0;
  font-family: "Teko", sans-serif;
  font-size: clamp(4rem, 9vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-shadow: 0 0 24px rgba(255, 43, 43, 0.14);
}

.theme {
  margin: 8px 0 0;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--muted);
}

.hero-subtitle,
.day-heading p {
  margin: 10px 0 0;
  color: var(--muted);
}

.event-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-app {
  margin-top: 22px;
  padding: 26px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(9, 9, 9, 0.96), rgba(14, 14, 14, 0.94));
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.schedule-header h2,
.day-heading h3 {
  margin: 0;
}

.schedule-header h2 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
}

.tab-list {
  display: inline-flex;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.day-tab {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.day-tab:hover,
.day-tab:focus-visible {
  color: var(--ink);
  outline: none;
}

.day-tab.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 12px 28px rgba(255, 43, 43, 0.28);
}

.day-panel {
  animation: fadeUp 300ms ease;
}

.day-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

.day-heading h3 {
  font-size: 1.45rem;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.event-card {
  min-height: 220px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(25, 25, 25, 0.98), rgba(11, 11, 11, 0.95));
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 43, 43, 0.08), transparent 40%);
  pointer-events: none;
}

.hindi-name {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
}

.english-name {
  margin: 0;
  color: var(--muted);
}

.time {
  margin: auto 0 0;
  font-weight: 700;
  color: var(--accent-deep);
}

.venue {
  margin: 0;
  color: var(--muted);
}

.registration-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(62, 47, 31, 0.08);
}

.registration-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.register-link,
.register-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.register-link {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 10px 20px rgba(255, 43, 43, 0.22);
}

.register-status {
  color: var(--accent-deep);
  background: var(--accent-soft);
}

.event-card-break {
  background: linear-gradient(180deg, rgba(43, 43, 43, 0.96), rgba(26, 26, 26, 0.92));
}

.event-card-tba {
  background: linear-gradient(180deg, rgba(44, 10, 10, 0.96), rgba(22, 8, 8, 0.94));
}

.event-card-feature {
  background: linear-gradient(135deg, rgba(103, 0, 0, 0.96), rgba(255, 43, 43, 0.78));
  color: #ffffff;
}

.event-card-feature .english-name,
.event-card-feature .venue,
.event-card-feature .registration-label {
  color: rgba(255, 248, 240, 0.82);
}

.event-card-feature .time {
  color: #fff5ea;
}

.feature-status {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.rulebook-section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rulebook-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 10px 22px rgba(255, 43, 43, 0.2);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .app-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 16px;
  }

  .hero,
  .schedule-app {
    padding: 18px;
    border-radius: 24px;
  }

  .hero-logo {
    top: 42%;
    left: 50%;
    width: min(360px, 82vw);
    opacity: 0.2;
  }

  .hero-copy,
  .schedule-header,
  .day-heading {
    flex-direction: column;
    align-items: start;
  }

  .event-meta {
    width: 100%;
    justify-items: start;
  }

  .tab-list {
    width: 100%;
  }

  .day-tab {
    flex: 1;
  }

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