/* LuckyGEM — GEM Neon Luxe */
:root {
  --bg-0: #000000;
  --bg-1: #0a2218;
  --bg-2: #061510;
  --gold: #ffd700;
  --amber: #ffb300;
  --gold-soft: rgba(255, 215, 0, 0.35);
  --text: #f3f6f2;
  --text-muted: #b8c4b8;
  --glass: rgba(8, 28, 20, 0.55);
  --glass-border: rgba(255, 215, 0, 0.45);
  --row-alt: rgba(255, 215, 0, 0.06);
  --radius: 14px;
  --font: "Trebuchet MS", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(255, 179, 0, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(255, 215, 0, 0.08), transparent 50%),
    linear-gradient(165deg, var(--bg-0) 0%, var(--bg-1) 45%, var(--bg-2) 100%);
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 8 L110 60 L60 112 L10 60 Z' fill='none' stroke='%23ffd700' stroke-width='1'/%3E%3Cpath d='M60 28 L90 60 L60 92 L30 60 Z' fill='none' stroke='%23ffb300' stroke-width='0.6'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: var(--amber);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.45);
}

.site-wrap {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(0, 0, 0, 0.72);
  border-bottom: 1px solid var(--gold-soft);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.35));
}

.header-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-primary {
  color: #0a120c;
  background: linear-gradient(135deg, #0a2218 0%, #ffb300 45%, #ffd700 100%);
  box-shadow: 0 0 22px rgba(255, 215, 0, 0.45), inset 0 0 12px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
  color: var(--gold);
  background: transparent;
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.2);
}

.btn-secondary:hover {
  color: #0a120c;
  background: linear-gradient(135deg, #ffb300, #ffd700);
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 0.95rem;
}

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.hero-visual {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(72vh, 640px);
  height: auto;
  margin: 0 auto 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.18);
  object-fit: contain;
  object-position: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-size: clamp(1.7rem, 4.5vw, 2.85rem);
  line-height: 1.2;
  color: var(--gold);
  text-shadow:
    0 0 12px rgba(255, 215, 0, 0.65),
    0 0 36px rgba(255, 179, 0, 0.35);
  animation: glowPulse 3.2s ease-in-out infinite;
}

.hero-lead {
  margin: 0 auto 1.75rem;
  max-width: 820px;
  color: var(--text);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 12px rgba(255, 215, 0, 0.55), 0 0 28px rgba(255, 179, 0, 0.25); }
  50% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.9), 0 0 48px rgba(255, 179, 0, 0.45); }
}

/* Sections */
.section {
  padding: 2.75rem 0;
}

.section-title {
  margin: 0 0 1.25rem;
  font-family: var(--font);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  color: var(--gold);
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.section-title .gem-icon {
  flex-shrink: 0;
}

.section-text {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.section-text strong,
.section p strong {
  color: var(--text);
}

/* Glass cards */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.08),
    0 0 28px rgba(255, 215, 0, 0.12),
    inset 0 1px 0 rgba(255, 215, 0, 0.12);
  padding: 1.35rem 1.5rem;
}

.glass + .glass {
  margin-top: 1.1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.grid-2 h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font);
  font-size: 1.05rem;
  color: var(--amber);
  text-shadow: 0 0 10px rgba(255, 179, 0, 0.35);
}

.list-check,
.list-warn,
.content-list {
  margin: 0;
  padding-left: 1.2rem;
}

.list-check li,
.list-warn li,
.content-list li {
  margin-bottom: 0.55rem;
  color: var(--text-muted);
}

.list-check li::marker { color: #3dd68c; }
.list-warn li::marker { color: #ff6b6b; }

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.12);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: rgba(0, 0, 0, 0.45);
}

thead th {
  background: linear-gradient(90deg, #1a3d2a 0%, #ffb300 55%, #ffd700 100%);
  color: #0a120c;
  font-family: var(--font);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.95rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--gold);
  text-shadow: none;
}

tbody td {
  padding: 0.85rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.18);
  color: var(--text-muted);
  vertical-align: top;
}

tbody tr:nth-child(even) {
  background: var(--row-alt);
}

tbody tr:hover {
  background: rgba(255, 215, 0, 0.1);
}

tbody td:first-child {
  color: var(--text);
  font-weight: 600;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  padding: 1.1rem 1.25rem;
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
}

/* Tip / highlight */
.tip-box {
  margin: 1.25rem 0;
  padding: 1.2rem 1.35rem;
  border-left: 3px solid var(--gold);
}

.tip-box p {
  margin: 0;
  color: var(--text);
}

/* Content pages */
.page-hero {
  padding: 2.5rem 0 1rem;
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-size: clamp(1.55rem, 3.8vw, 2.4rem);
  color: var(--gold);
  text-shadow: 0 0 16px rgba(255, 215, 0, 0.5);
}

.content-block h2 {
  margin: 2rem 0 1rem;
  font-family: var(--font);
  font-size: 1.35rem;
  color: var(--amber);
  text-shadow: 0 0 12px rgba(255, 179, 0, 0.35);
}

.content-block h3 {
  margin: 1.4rem 0 0.7rem;
  font-family: var(--font);
  font-size: 1.1rem;
  color: var(--gold);
}

.content-block p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.content-media {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(60vh, 520px);
  height: auto;
  margin: 1.25rem auto 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 28px rgba(255, 215, 0, 0.15);
  object-fit: contain;
  object-position: center;
}

@media (max-width: 768px) {
  .hero-visual {
    max-height: min(55vh, 420px);
    border-radius: 10px;
  }

  .content-media {
    max-height: min(45vh, 320px);
    border-radius: 10px;
  }
}

.cta-band {
  margin: 2.5rem 0 1rem;
  text-align: center;
  padding: 1.75rem 1.25rem;
}

.cta-band p {
  margin: 0 0 1.1rem;
  color: var(--text);
  font-size: 1.15rem;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--gold-soft);
  background: rgba(0, 0, 0, 0.75);
  padding: 2.25rem 0 1.75rem;
}

.footer-brand {
  margin-bottom: 1rem;
  line-height: 0;
}

.footer-brand img {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-copy {
  color: #7d8a7d;
  font-size: 0.9rem;
  margin: 0;
}

.gem-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.45);
  vertical-align: -2px;
}

/* Motion */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero,
.section,
.page-hero {
  animation: fadeUp 0.7s ease both;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .header-cta {
    justify-content: stretch;
  }

  .header-cta .btn {
    flex: 1;
  }

  .hero {
    padding-top: 2rem;
  }

  table {
    min-width: 560px;
  }
}
