.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 3px;
  margin-right: 8px;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  padding: 4px 8px;
  border-radius: 6px;
  color: inherit;
  opacity: 0.5;
  transition: opacity 0.15s, background 0.15s;
}
.lang-btn.active {
  opacity: 1;
  background: rgba(255,255,255,0.15);
}
.rules-nav-active {
  font-weight: 600;
  color: #111827 !important;
}

/* Hero */
.rules-hero {
  background: linear-gradient(140deg, #0f1f38 0%, #1e3a5f 50%, #162d4a 100%);
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(140deg, #0f1f38 0%, #1e3a5f 50%, #162d4a 100%);
  background-size: 28px 28px, 100% 100%;
  padding: 140px 24px 80px;
  text-align: center;
}
.rules-hero-inner {
  max-width: 600px;
  margin: 0 auto;
}
.rules-hero .section-label {
  color: #60a5fa;
  margin-bottom: 16px;
}
.rules-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 16px;
}
.rules-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* Main */
.rules-main {
  background: #fff;
}

.rules-section {
  padding: 72px 24px;
}
.rules-section-alt {
  background: #f9fafb;
}

.rules-container {
  max-width: 720px;
  margin: 0 auto;
}

.rules-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.rules-emoji {
  font-size: 32px;
  line-height: 1;
}
.rules-section-header h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.5px;
}

.rules-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 8px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.rules-section-alt .rules-card {
  background: #fff;
}

.rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rules-item {
  font-size: 15px;
  color: #111827;
  line-height: 1.6;
  padding: 12px 24px;
  border-bottom: 1px solid #f3f4f6;
}
.rules-item:last-child {
  border-bottom: none;
}

.rules-sub {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  padding: 8px 24px 8px 44px;
  border-bottom: 1px solid #f3f4f6;
  position: relative;
}
.rules-sub:last-child {
  border-bottom: none;
}
.rules-sub::before {
  content: "•";
  position: absolute;
  left: 28px;
  color: #d1d5db;
}

.rules-highlight {
  font-weight: 700;
  font-size: 16px;
  color: #1d4ed8;
  background: #eff6ff;
  border-radius: 12px 12px 0 0;
}

/* Coupons */
.rules-container-wide {
  max-width: 900px;
}

.coupons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .coupons-grid {
    grid-template-columns: 1fr;
  }
}

.coupon-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.coupon-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.coupon-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.coupon-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.coupon-name {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.rarity-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.rarity-common {
  background: #f3f4f6;
  color: #6b7280;
}

.rarity-rare {
  background: #dbeafe;
  color: #1d4ed8;
}

.rarity-epic {
  background: #fef9c3;
  color: #92400e;
}

.coupon-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.55;
}

/* CTA */
.rules-cta {
  background: linear-gradient(140deg, #0f1f38 0%, #1e3a5f 50%, #162d4a 100%);
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(140deg, #0f1f38 0%, #1e3a5f 50%, #162d4a 100%);
  background-size: 28px 28px, 100% 100%;
  padding: 100px 24px;
}
.rules-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.rules-cta p {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
}
