:root {
  --font-sans: Inter, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: #0a0c10;
  color: #e8eaf0;
  min-height: 100vh;
}

nav {
  background: rgba(10, 12, 16, 0.95);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.nav-logo-box {
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #0a0c10;
}

.nav-brand {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  border: none;
  background: none;
  transition: all 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

/* FORSIDE */
.hero {
  min-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(80, 80, 120, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero h1 span {
  background: linear-gradient(135deg, #c0c8e0 0%, #7880a8 100%);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.btn-primary {
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.95);
  color: #0a0c10;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  transition: all 0.15s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.stats-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

.stat-lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

.divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  align-self: center;
}

.features {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 3rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.14);
}

.feature-icon {
  font-size: 22px;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.info-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.info-hero {
  margin-bottom: 3rem;
}

.info-hero h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.info-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
}

.info-section {
  margin-bottom: 2.5rem;
}

.info-section-top {
  margin-top: 2.5rem;
}

.info-section h3 {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}

.info-section p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  margin-bottom: 10px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 1.5rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.25rem;
}

.info-card-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.info-card-val {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  word-break: break-word;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  font-size: 13px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.6);
}

.apply-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.apply-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.apply-content .lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.apply-card {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.apply-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.apply-info h3 {
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
}

.apply-info p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  margin-bottom: 14px;
}

.apply-btn {
  display: inline-block;
  padding: 9px 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #0a0c10;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
}

.apply-btn:hover {
  background: #fff;
}

.apply-req {
  background: rgba(255, 255, 255, 0.02);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.apply-req h4 {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.req-list li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.req-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.25);
}

.rules-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.rules-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.rules-lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.rules-cat {
  margin-bottom: 2.5rem;
}

.rules-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.rules-cat-num {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.rules-cat-title {
  font-size: 17px;
  font-weight: 500;
  color: #fff;
}

.rule-item {
  padding: 12px 0;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 12px;
}

.rule-item:last-child {
  border-bottom: none;
}

.rule-num {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.2);
  min-width: 28px;
  padding-top: 1px;
}

.rule-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}

.rule-text strong {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.warn-box {
  background: rgba(180, 120, 30, 0.12);
  border: 0.5px solid rgba(180, 120, 30, 0.3);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 14px;
  color: rgba(240, 190, 100, 0.8);
  line-height: 1.6;
}

footer {
  border-top: 0.5px solid rgba(255, 255, 255, 0.07);
  padding: 2rem;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

/* RESPONSIVE */
@media (max-width: 860px) {
  nav {
    padding: 0 1rem;
    min-height: 56px;
    height: auto;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3rem 1rem;
  }

  .hero-sub {
    font-size: 16px;
  }

  .features,
  .info-content,
  .apply-content,
  .rules-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .stats-row {
    gap: 1rem;
  }

  .divider {
    display: none;
  }

  .apply-card {
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
  }

  .rule-item {
    flex-direction: column;
    gap: 4px;
  }

  .rule-num {
    min-width: auto;
  }

  footer {
    padding: 1.5rem 1rem;
  }
}