:root {
  --bg-main: #FAF5FF;
  --bg-sec: #F5F3FF;
  --header-footer: #1E1B4B;
  --primary: #7E22CE;
  --secondary: #EC4899;
  --highlight: #14B8A6;
  --card-bg: #FFFFFF;
  --card-sec: #F8FAFC;
  --border-main: #DDD6FE;
  --border-hover: #7E22CE;
  --glow-border: #EC4899;
  --soft-purple: #F3E8FF;
  --soft-pink: #FCE7F3;
  --soft-teal: #CCFBF1;
  --text-main: #18181B;
  --text-sec: #64748B;
  --text-muted: #94A3B8;
  --success: #059669;
  --warning: #D97706;
  --btn-primary: #7E22CE;
  --btn-primary-hover: #6B21A8;
  --btn-secondary: #FFFFFF;
  --btn-sec-border: #C4B5FD;
  --btn-sec-hover: #EC4899;
  --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 8px;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--highlight);
  outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--header-footer);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; color: var(--text-sec); }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; color: var(--text-sec); }

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px;
  z-index: 1000;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* Header & Nav */
header {
  background-color: var(--header-footer);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  letter-spacing: 1px;
}

.logo:hover { color: var(--soft-teal); }

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  font-weight: 500;
}

nav a:hover, nav a[aria-current="page"] {
  color: var(--highlight);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-sec) 0%, var(--soft-purple) 100%);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-main);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Notice */
.notice-box {
  background-color: var(--soft-pink);
  border-left: 4px solid var(--secondary);
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 900px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.notice-box h3 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--btn-primary);
  color: white;
}
.btn-primary:hover {
  background-color: var(--btn-primary-hover);
  color: white;
}

.btn-secondary {
  background-color: var(--btn-secondary);
  color: var(--primary);
  border-color: var(--btn-sec-border);
}
.btn-secondary:hover {
  border-color: var(--btn-sec-hover);
  color: var(--secondary);
}

/* Grids & Cards */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-main);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card h3 { color: var(--primary); }

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.tag-gambling { background-color: var(--soft-purple); color: var(--primary); }
.tag-general { background-color: var(--soft-teal); color: var(--header-footer); }

/* Table */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}
th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-main);
}
th {
  background-color: var(--bg-sec);
  color: var(--header-footer);
  font-weight: 600;
}
tr:hover { background-color: var(--bg-sec); }

/* Forms */
form { display: flex; flex-direction: column; gap: 1rem; max-width: 600px; margin: 0 auto; }
label { font-weight: 600; color: var(--text-main); }
input, textarea, select {
  padding: 0.75rem;
  border: 1px solid var(--border-main);
  border-radius: var(--radius);
  font-family: inherit;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px var(--soft-purple);
}

/* Accordion */
.accordion { margin-top: 2rem; }
.accordion-item {
  border: 1px solid var(--border-main);
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: var(--card-bg);
}
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--header-footer);
  display: flex;
  justify-content: space-between;
}
.accordion-content {
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-item.active .accordion-content {
  padding: 1rem;
  max-height: 500px;
  border-top: 1px solid var(--border-main);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--header-footer);
  color: white;
  padding: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { color: var(--border-main); margin: 0; }
.cookie-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Footer */
footer {
  background-color: var(--header-footer);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
footer h4 { color: white; }
footer p, footer a { color: var(--text-muted); }
footer a:hover { color: var(--highlight); }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 0.5rem; }
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
}

/* Utilities */
.section { padding: 4rem 0; }
.bg-alt { background-color: var(--bg-sec); }
.text-center { text-align: center; }

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--header-footer);
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  nav ul.show { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
}