:root {
  --deep-ink: #0f172a;
  --slate: #334155;
  --steel: #475569;
  --mist: #f8fafc;
  --surface: #ffffff;
  --soft-blue: #e0e7ff;
  --accent-teal: #4338ca;
  --accent-amber: #ea580c;
  --border: #e2e8f0;
  --muted: #94a3b8;
  
  --font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1280px;
  --radius: 16px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-hover: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--deep-ink); background-color: var(--mist); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-teal); opacity: 0.8; }
img { max-width: 100%; height: auto; display: block; border-radius: calc(var(--radius) - 4px); }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4 { color: var(--deep-ink); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; letter-spacing: -0.025em; }
h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; margin-top: 2.5rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1.25rem; color: var(--steel); }
strong { color: var(--deep-ink); }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-alt { background-color: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Header & Nav */
.site-header { background-color: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(226, 232, 240, 0.8); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 2rem; max-width: var(--max-width); margin: 0 auto; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--deep-ink); display: flex; flex-direction: column; letter-spacing: -0.02em; }
.logo span { font-size: 0.75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.1rem; }
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a { color: var(--steel); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent-teal); }
.nav-links a.btn { color: var(--surface); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.75rem; border-radius: 9999px; font-weight: 600; text-align: center; cursor: pointer; border: 2px solid transparent; font-size: 1rem; transition: var(--transition); }
.btn-primary { background-color: var(--accent-teal); color: var(--surface); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background-color: #3730a3; color: var(--surface); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary { background-color: var(--soft-blue); color: var(--accent-teal); }
.btn-secondary:hover { background-color: #c7d2fe; transform: translateY(-1px); }
.btn-outline { border-color: var(--border); color: var(--slate); background: var(--surface); }
.btn-outline:hover { border-color: var(--slate); color: var(--deep-ink); background: var(--mist); }

/* Mobile Menu */
.menu-toggle { display: none; background: none; border: none; font-size: 1.75rem; color: var(--deep-ink); cursor: pointer; transition: var(--transition); }
.menu-toggle:hover { color: var(--accent-teal); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--deep-ink) 0%, #1e1b4b 100%); color: var(--surface); padding: 7rem 0 6rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(79,70,229,0.15) 0%, rgba(0,0,0,0) 50%); z-index: 0; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--surface); margin-bottom: 1.5rem; font-size: 3.5rem; }
.hero p { color: #cbd5e1; font-size: 1.25rem; max-width: 750px; margin: 0 auto 2.5rem; }
.hero .btn-outline { border-color: rgba(255,255,255,0.3); color: var(--surface); background: transparent; }
.hero .btn-outline:hover { border-color: var(--surface); background: rgba(255,255,255,0.1); }
.ethics-notice { background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 1.5rem 2rem; border-radius: 12px; border-left: 4px solid var(--accent-amber); max-width: 800px; margin: 3rem auto 0; text-align: left; backdrop-filter: blur(8px); }
.ethics-notice strong { color: var(--surface); display: block; margin-bottom: 0.5rem; font-size: 1.05rem; }
.ethics-notice p { color: #94a3b8; margin: 0; font-size: 0.95rem; line-height: 1.5; }

/* Cards & Grids */
.grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background-color: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #cbd5e1; }
.card-header { border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.card-title { font-size: 1.35rem; margin-bottom: 0.75rem; }
.badge { display: inline-flex; align-items: center; padding: 0.35rem 0.85rem; font-size: 0.75rem; border-radius: 9999px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.25rem; margin-right: 0.5rem; }
.badge-gambling { background-color: var(--soft-blue); color: var(--accent-teal); }
.badge-general { background-color: var(--mist); color: var(--steel); border: 1px solid var(--border); }
.badge-tech { background-color: #ffedd5; color: var(--accent-amber); }
.card-body { flex-grow: 1; }
.card-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: center; }
.feature-list { margin-bottom: 1rem; }
.feature-list li { position: relative; padding-left: 1.75rem; margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--steel); }
.feature-list li::before { content: "→"; color: var(--accent-teal); position: absolute; left: 0; font-weight: bold; font-size: 1.1rem; line-height: 1; top: 2px; }

/* Filter Bar */
.filter-bar { background-color: var(--surface); padding: 1.25rem 1.5rem; border-radius: var(--radius); margin-bottom: 2rem; border: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; box-shadow: var(--shadow-sm); }
.filter-group { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.filter-btn { padding: 0.5rem 1.25rem; border: 1px solid var(--border); background: var(--surface); border-radius: 9999px; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: var(--transition); color: var(--steel); }
.filter-btn.active, .filter-btn:hover { background: var(--deep-ink); color: var(--surface); border-color: var(--deep-ink); }

/* Tables */
.table-wrapper { overflow-x: auto; margin: 2.5rem 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background-color: var(--surface); overflow: hidden; }
th, td { padding: 1.25rem 1.5rem; text-align: left; border-bottom: 1px solid var(--border); }
th { background-color: var(--deep-ink); color: var(--surface); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.025em; text-transform: uppercase; }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) { background-color: var(--mist); }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--deep-ink); font-size: 0.95rem; }
input[type="text"], input[type="email"], textarea, select { width: 100%; padding: 0.875rem 1rem; border: 1px solid #cbd5e1; border-radius: 8px; font-family: inherit; font-size: 1rem; background-color: var(--surface); color: var(--deep-ink); transition: var(--transition); }
input[type="text"]:focus, input[type="email"]:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent-teal); box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.15); }
textarea { resize: vertical; min-height: 160px; }
.form-feedback { display: none; padding: 1.25rem; border-radius: 8px; margin-bottom: 2rem; font-weight: 500; }
.form-feedback.success { display: block; background-color: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

/* Review Specific Layout */
.review-header { background-color: var(--surface); padding: 5rem 0 4rem; border-bottom: 1px solid var(--border); }
.review-meta { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.review-content { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; margin-top: 4rem; }
.review-sidebar { position: sticky; top: 120px; }
.sidebar-box { background-color: var(--surface); padding: 2rem; border-radius: var(--radius); margin-bottom: 2rem; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.sidebar-box h4 { margin-top: 0; margin-bottom: 1.5rem; font-size: 1.25rem; }

/* Footer */
.site-footer { background-color: var(--deep-ink); color: var(--mist); padding: 5rem 0 2rem; margin-top: 6rem; border-top: 4px solid var(--accent-teal); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 4rem; }
.footer-col h4 { color: var(--surface); margin-bottom: 1.5rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-links li { margin-bottom: 0.85rem; }
.footer-links a { color: var(--muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--surface); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; color: var(--muted); font-size: 0.9rem; }
.footer-disclaimer { margin-top: 1.25rem; font-size: 0.85rem; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* Cookie Consent */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background-color: var(--surface); box-shadow: 0 -10px 25px rgba(0,0,0,0.1); padding: 1.5rem; z-index: 9999; display: none; border-top: 3px solid var(--accent-teal); }
.cookie-banner.show { display: block; }
.cookie-content { max-width: var(--max-width); margin: 0 auto; display: flex; flex-direction: column; gap: 1.25rem; }
.cookie-text p { margin: 0; font-size: 0.95rem; color: var(--steel); }
.cookie-text strong { font-size: 1.1rem; display: block; margin-bottom: 0.5rem; }
.cookie-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.cookie-modal { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(4px); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.cookie-modal.show { display: flex; }
.cookie-modal-content { background: var(--surface); padding: 2.5rem; border-radius: var(--radius); width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-hover); }
.cookie-toggle { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.cookie-toggle:last-child { border-bottom: none; }
.cookie-toggle input[type="checkbox"] { width: 1.25rem; height: 1.25rem; cursor: pointer; accent-color: var(--accent-teal); }

/* Utility */
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.text-center { text-align: center; }

/* Responsive */
@media (max-width: 1200px) {
  .review-content { grid-template-columns: 1fr; gap: 3rem; }
  .review-sidebar { position: static; }
}
@media (max-width: 768px) {
  .header-inner { padding: 1rem 1.5rem; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(12px); flex-direction: column; padding: 1.5rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-hover); gap: 1rem; }
  .nav-links.active { display: flex; }
  .nav-links .btn { width: 100%; text-align: center; margin-top: 1rem; }
  .hero { padding: 4rem 0 3rem; }
  .hero h1 { font-size: 2.5rem; }
  .cookie-buttons { flex-direction: column; }
  .cookie-buttons button { width: 100%; }
  .section { padding: 3rem 0; }
  .card { padding: 1.5rem; }
  .review-header { padding: 3rem 0; }
  .review-header h1 { font-size: 2.5rem; }
}
@media (max-width: 480px) {
  h1 { font-size: 2.25rem; }
  .hero h1 { font-size: 2rem; }
  .container { padding: 0 1.25rem; }
}