/* LuckyGEM — GEM Neon Luxe */
:root {
  --bg-0: #000000;
  --bg-1: #0a2218;
  --bg-2: #071a12;
  --gold: #ffd700;
  --amber: #ffb300;
  --gold-soft: rgba(255, 215, 0, 0.35);
  --glass: rgba(10, 34, 24, 0.55);
  --glass-border: rgba(255, 215, 0, 0.45);
  --text: #f5f5f0;
  --text-muted: #c8c8b8;
  --font-display: "Bahnschrift", "Segoe UI", "Trebuchet MS", sans-serif;
  --font-body: "Segoe UI", "Trebuchet MS", "Lucida Grande", sans-serif;
  --radius: 14px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 179, 0, 0.12), transparent 55%),
    linear-gradient(165deg, var(--bg-0) 0%, var(--bg-1) 45%, var(--bg-2) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='none' stroke='%23ffd700' stroke-width='1' d='M40 4 L72 40 L40 76 L8 40 Z'/%3E%3Cpath fill='none' stroke='%23ffb300' stroke-width='0.6' d='M40 18 L58 40 L40 62 L22 40 Z'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

a:hover {
  color: var(--amber);
}

.site-wrap {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(0, 0, 0, 0.72);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.08);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.header-cta {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  color: #0a0a0a;
  background: linear-gradient(135deg, #0a2218 0%, #1a4a32 35%, #ffb300 70%, #ffd700 100%);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.45), inset 0 0 12px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  color: #000;
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(255, 215, 0, 0.7);
}

.btn-secondary {
  color: var(--gold);
  background: transparent;
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
}

.btn-secondary:hover {
  color: #0a0a0a;
  background: linear-gradient(135deg, #ffb300, #ffd700);
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.55);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 0.92rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 1.25rem 3.5rem;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 10% -40% 10%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(255, 215, 0, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  color: var(--gold);
  text-shadow:
    0 0 16px rgba(255, 215, 0, 0.65),
    0 0 40px rgba(255, 179, 0, 0.35),
    0 0 2px #ffd700;
  animation: glowPulse 3.5s ease-in-out infinite;
}

.hero-lead {
  max-width: 720px;
  margin: 0 auto 1.75rem;
  color: var(--text-muted);
  font-size: 1.2rem;
}

.hero-media {
  margin: 2rem auto 0;
  max-width: 920px;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.2), 0 20px 50px rgba(0, 0, 0, 0.5);
  background: transparent;
  line-height: 0;
}

.hero-media img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  background: transparent;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.75rem;
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 16px rgba(255, 215, 0, 0.55), 0 0 36px rgba(255, 179, 0, 0.25); }
  50% { text-shadow: 0 0 22px rgba(255, 215, 0, 0.85), 0 0 50px rgba(255, 179, 0, 0.45); }
}

/* Sections */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
}

.section {
  margin-bottom: 3rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--gold);
  margin: 0 0 1rem;
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.4);
  letter-spacing: 0.02em;
}

.section h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--amber);
  margin: 1.5rem 0 0.65rem;
  text-shadow: 0 0 10px rgba(255, 179, 0, 0.3);
}

.section p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.section ul,
.section ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  color: var(--text-muted);
}

.section li {
  margin-bottom: 0.45rem;
}

.section li::marker {
  color: var(--gold);
}

/* Glass cards */
.glass {
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.08),
    0 0 24px rgba(255, 215, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.glass + .glass {
  margin-top: 1.25rem;
}

.media-block {
  margin: 1.5rem auto;
  max-width: 920px;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
  background: transparent;
  line-height: 0;
}

.media-block img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  background: transparent;
}

.media-block img[src*="baner2"] {
  max-width: 640px;
  margin: 0 auto;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.18);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  background: rgba(0, 0, 0, 0.65);
}

thead {
  background: linear-gradient(90deg, #8a6a00 0%, #ffd700 45%, #ffb300 100%);
}

thead th {
  color: #0a0a0a;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--gold);
}

tbody td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
  color: var(--text-muted);
  vertical-align: top;
}

tbody tr:nth-child(even) {
  background: rgba(10, 34, 24, 0.55);
}

tbody tr:nth-child(odd) {
  background: rgba(0, 0, 0, 0.35);
}

tbody tr:hover {
  background: rgba(255, 215, 0, 0.08);
}

tbody td:first-child {
  color: var(--gold);
  font-weight: 600;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 2rem 1.5rem;
  margin: 2.5rem 0;
}

.cta-band p {
  margin-bottom: 1.25rem;
}

.cta-band .btn {
  margin: 0.3rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.85);
  padding: 2.5rem 1.25rem 2rem;
  margin-top: 2rem;
  box-shadow: 0 -8px 30px rgba(255, 215, 0, 0.06);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand a {
  display: inline-flex;
  line-height: 0;
}

.footer-brand img {
  height: 36px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.footer-nav a:hover {
  color: var(--gold);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.footer-copy {
  font-size: 0.88rem;
  color: #888;
  margin: 0;
}

/* Page intro (subpages) */
.page-intro {
  padding: 3rem 1.25rem 1.5rem;
  text-align: center;
}

.page-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--gold);
  margin: 0 0 1rem;
  text-shadow: 0 0 18px rgba(255, 215, 0, 0.55);
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .glass {
    animation: fadeUp 0.7s ease both;
  }

  .section:nth-child(2) .glass { animation-delay: 0.08s; }
  .section:nth-child(3) .glass { animation-delay: 0.16s; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .header-cta {
    justify-content: center;
  }

  .btn {
    width: 100%;
  }

  .hero {
    padding: 3rem 1rem 2.5rem;
  }

  thead th,
  tbody td {
    padding: 0.7rem 0.75rem;
    font-size: 0.95rem;
  }
}
