:root {
  --bg: #0B0B0B;
  --surface: rgba(23, 23, 23, 0.65); /* Glassmorphism base */
  --surface-2: rgba(36, 36, 36, 0.75);
  --primary: #F5B700;
  --primary-hover: #D99F00;
  --secondary: #FFE18A;
  --accent: #35D07F;
  --text: #FFFFFF;
  --muted: #BDBDBD;
  --border: rgba(255, 255, 255, 0.12);
  --danger: #FF5C5C;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.48);
  --radius: 18px;
  --max: 1180px;
  --neon-glow: 0 0 10px rgba(245, 183, 0, 0.5), 0 0 20px rgba(245, 183, 0, 0.3);
  --accent-glow: 0 0 10px rgba(53, 208, 127, 0.5), 0 0 20px rgba(53, 208, 127, 0.3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  margin: 0; 
  background: var(--bg); 
  color: var(--text); 
  font-family: 'Inter', Arial, sans-serif; 
  line-height: 1.65; 
}
img { max-width: 100%; height: auto; }
a { color: var(--secondary); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--primary); text-shadow: var(--neon-glow); }

.container { width: min(calc(100% - 32px), var(--max)); margin: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; color: #000; padding: 10px; z-index: 99; }

/* Sticky Header */
.site-header { 
  position: sticky; 
  top: 0; 
  z-index: 50; 
  background: rgba(11, 11, 11, 0.85); 
  backdrop-filter: blur(16px); 
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); 
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; padding: 10px 0; }
.brand img { width: 70px; height: auto }
.brand:hover { text-shadow: var(--neon-glow); }
.nav-toggle { background: var(--surface-2); border: 1px solid var(--border); color: #fff; border-radius: 10px; padding: 9px 12px; font-size: 20px; cursor: pointer; }

/* Mobile Nav */
.nav { display: none; position: absolute; left: 16px; right: 16px; top: 72px; background: rgba(23, 23, 23, 0.95); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 14px; padding: 12px; box-shadow: var(--shadow); }
.nav.open { display: grid; gap: 8px; }
.nav a { color: #fff; padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.nav a:hover, .nav a[aria-current=page] { background: var(--surface-2); color: var(--primary); text-shadow: var(--neon-glow); }

/* Hero Section */
.hero { padding: 72px 0 48px; background: radial-gradient(circle at 85% 15%, rgba(245, 183, 0, 0.18), transparent 34%), linear-gradient(180deg, #101010, #0B0B0B); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; color: var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.hero h1 { font-size: clamp(2.2rem, 8vw, 4.5rem); line-height: 1.04; margin: .4em 0 .3em; text-shadow: var(--neon-glow); }
.lead { font-size: 1.08rem; color: #ddd; max-width: 760px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 12px; font-weight: 800; border: 1px solid transparent; cursor: pointer; transition: all 0.3s ease; }
.btn-primary { background: var(--primary); color: #111; box-shadow: 0 4px 14px rgba(245, 183, 0, 0.4); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245, 183, 0, 0.6); }
.btn-secondary { border-color: var(--border); background: var(--surface); color: #fff; backdrop-filter: blur(8px); }
.btn-secondary:hover { background: var(--surface-2); border-color: var(--primary); color: var(--primary); }

/* Components */
.notice { padding: 14px 16px; border-left: 4px solid var(--accent); background: rgba(53, 208, 127, 0.08); border-radius: 8px; color: #d8f7e6; margin-bottom: 24px; }

/* Glass Cards */
.hero-card, .card { 
  background: var(--surface); 
  backdrop-filter: blur(16px); 
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border); 
  border-radius: var(--radius); 
  box-shadow: var(--shadow); 
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(245, 183, 0, 0.1); border-color: rgba(245, 183, 0, 0.3); }

/* Mines Grid */
.mine-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mine-cell { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(145deg, #353535, #1d1d1d); display: grid; place-items: center; font-size: 1.35rem; transition: all 0.3s ease; cursor: pointer; }
.mine-cell:hover { background: #444; }
.mine-cell.gem { color: var(--accent); text-shadow: var(--accent-glow); animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 0.8; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1.05); } 100% { opacity: 0.8; transform: scale(0.95); } }

section { padding: 64px 0; }
.section-head { max-width: 780px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.16; margin: 0 0 12px; }
.muted { color: var(--muted); }

/* Grid Layouts */
.grid { display: grid; gap: 24px; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
.card h3 { margin-top: 0; color: var(--text); }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(245, 183, 0, 0.12); color: var(--primary); font-size: 24px; margin-bottom: 16px; box-shadow: var(--neon-glow); }

/* Tables with Glassmorphism */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; margin-bottom: 24px; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 760px; background: var(--surface); backdrop-filter: blur(12px); }
th, td { padding: 18px 15px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: rgba(36, 36, 36, 0.8); color: var(--secondary); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: rgba(255, 255, 255, 0.03); }
.rank { font-weight: 900; color: var(--primary); text-shadow: var(--neon-glow); font-size: 1.2rem; }
.operator-logo { width: 42px; height: 42px; border-radius: 10px; background: #2a2a2a; display: inline-grid; place-items: center; font-weight: 900; color: var(--primary); margin-right: 12px; float: left; }

.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(53, 208, 127, 0.12); color: #8df0b7; font-size: .85rem; font-weight: 600; border: 1px solid rgba(53, 208, 127, 0.3); }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; }
.step { position: relative; padding-left: 68px; margin-bottom: 24px; }
.step:before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #111; font-weight: 900; font-size: 1.2rem; box-shadow: var(--neon-glow); }

/* FAQ Accordion */
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); backdrop-filter: blur(8px); padding: 18px; margin: 12px 0; transition: background 0.3s ease; }
.faq details[open] { background: var(--surface-2); border-color: var(--primary); }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; outline: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--primary); font-size: 1.5rem; transition: transform 0.3s ease; }
.faq details[open] summary::after { content: '−'; transform: rotate(180deg); }
.faq details p { margin-top: 16px; color: #ddd; }

/* Content Typography */
.breadcrumbs { padding: 24px 0 12px; color: var(--muted); font-size: .9rem; }
.content h2 { margin-top: 2em; color: var(--secondary); text-shadow: 0 0 8px rgba(255, 225, 138, 0.3); }
.content h3 { margin-top: 1.5em; }
.content p { font-size: 1.05rem; }
.content ul { padding-left: 24px; }
.content li { margin-bottom: 8px; }

.callout { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 24px; backdrop-filter: blur(12px); border-left: 4px solid var(--primary); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: rgba(8, 8, 8, 0.9); padding: 56px 0 32px; margin-top: 48px; }
.footer-grid { display: grid; gap: 32px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--primary); }
.legal-bar { margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .9rem;
  text-align: center; }

/* Cookie Banner */
.cookie-banner { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; background: rgba(23, 23, 23, 0.95); backdrop-filter: blur(16px); border: 1px solid var(--primary); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); display: none; }
.cookie-banner.show { display: block; animation: slideUp 0.4s ease forwards; }
@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* Modals */
.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(4px); z-index: 90; display: none; align-items: center; justify-content: center; padding: 18px; }
.modal.open { display: flex; }
.modal-box { width: min(100%, 600px); max-height: 88vh; overflow: auto; background: var(--surface); backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: 18px; padding: 32px; }
.setting { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--border); }

/* Forms */
.contact-form { background: var(--surface); padding: 32px; border-radius: 16px; border: 1px solid var(--border); backdrop-filter: blur(12px); }
.contact-form label { display: block; margin-top: 16px; font-weight: 700; color: #ddd; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 14px; margin-top: 8px; border-radius: 10px; border: 1px solid var(--border); background: rgba(16, 16, 16, 0.8); color: #fff; font-family: inherit; font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(245, 183, 0, 0.2); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.confirm-checkbox {display: flex; align-items: center; margin-bottom: 16px;}
.confirm-checkbox input {width: auto;}

.small { font-size: .88rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* Desktop Media Query */
@media(min-width: 768px) {
  .hero-grid, .grid-2 { grid-template-columns: 1.15fr 0.85fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr repeat(3, 1fr); }
  .cookie-banner { left: auto; width: 400px; bottom: 24px; right: 24px; }
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; background: none; border: 0; padding: 0; box-shadow: none; align-items: center; backdrop-filter: none; }
  .nav a { padding: 8px 12px; }
}
