:root {
  --primary-color: #0f172a; 
  --secondary-color: #0284c7; 
  --secondary-hover: #0369a1; 
  --accent-color: #f8fafc; 
  --text-dark: #0f172a;
  --text-body: #334155; 
  --text-muted: #64748b; 
  --bg-main: #f1f5f9; 
  --bg-card: #ffffff;
  --border-color: #e2e8f0; 
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --transition: all 0.2s ease-in-out;
  --container-width: 1200px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-body);
  background-color: var(--bg-main);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--secondary-color);
  color: white;
  padding: 8px;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}
:focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: var(--font-main);
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background-color: var(--secondary-color);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--secondary-hover);
  color: #fff;
}
.btn-outline {
  background-color: transparent;
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}
.btn-outline:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

/* Header & Nav */
.site-header {
  background-color: #64748b; /* Gray header */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-logo::before {
  content: "🛡️";
  font-size: 1.5rem;
}
.brand-logo:hover {
  text-decoration: none;
  color: #e0f2fe;
}
.main-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.main-nav a {
  color: #ffffff;
  font-weight: 500;
}
.main-nav a:hover {
  color: #e0f2fe;
  text-decoration: none;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #ffffff;
}
.header-cta .btn-primary {
  background-color: #ffffff;
  color: var(--text-dark);
  border-color: #ffffff;
}
.header-cta .btn-primary:hover {
  background-color: #f8fafc;
  color: var(--secondary-hover);
}

/* Layout Utilities */
.section {
  padding: 4rem 0;
}
.section-light {
  background-color: var(--bg-card);
}
.section-alt {
  background-color: var(--accent-color);
}
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.p-2 { padding: 1.5rem; }

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: var(--bg-card);
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.hero p {
  font-size: 1.125rem;
  max-width: 100%;
  margin-bottom: 2rem;
  color: var(--text-body);
}
.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
}

/* Cards */
.card {
  background: #e0f2fe; /* Light blue self card */
  border: 2px solid #1e3a8a; /* Dark blue borders */
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--text-dark); /* Ensure text is visible */
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: #0f172a;
}
.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #1e3a8a; /* Matching dark blue border */
}
.card-header, .card-body, .card-footer {
  padding: 1.5rem;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
}
.card-title {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text-dark);
}
.badge {
  background: #ffffff; /* White background to pop against light blue card */
  color: #0369a1;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid #0369a1; /* Added border for extra visibility */
}
.card-body {
  flex-grow: 1;
  color: var(--text-body);
}
.card-body a {
  color: #0284c7; /* Make card links distinct */
  font-weight: 600;
}
.card-body a:hover {
  color: #0369a1;
}
.card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 2px solid #1e3a8a; /* Matching dark blue border */
  background-color: #bae6fd; /* Slightly darker light blue for footer distinction */
  display: flex;
  justify-content: flex-end;
}

/* Comparison Table */
.table-responsive {
  overflow-x: auto;
  margin-top: 2rem;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.comparison-table th, 
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.comparison-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}
.comparison-table tr:hover td {
  background-color: var(--accent-color);
}
.icon-yes {
  color: var(--success);
  font-weight: bold;
}
.icon-no {
  color: var(--danger);
  font-weight: bold;
}
.icon-partial {
  color: var(--warning);
  font-weight: bold;
}

/* Accordion (FAQ) */
.accordion {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  background: var(--bg-card);
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}
.accordion-header::after {
  content: "+";
  font-size: 1.5rem;
  transition: var(--transition);
}
.accordion-header[aria-expanded="true"]::after {
  content: "−";
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
}
.accordion-content p {
  padding-bottom: 1rem;
}

/* Notices & Alerts */
.notice {
  background-color: #fffbeb;
  border-left: 4px solid var(--warning);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.5rem;
}
.notice-title {
  font-weight: 700;
  color: #b45309;
  margin-bottom: 0.25rem;
}
.notice p {
  margin: 0;
  color: #78350f;
  font-size: 0.95rem;
}
.editorial-disclaimer {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-radius: var(--radius);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Content Pages */
.page-header {
  padding: 4rem 0;
  background: var(--primary-color);
  color: white;
}
.page-header h1 {
  color: white;
  margin-bottom: 1rem;
}
.page-header p {
  color: #cbd5e1;
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto;
}
.content-wrapper {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.content-wrapper h2 { margin-top: 2rem; }
.content-wrapper ul, .content-wrapper ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.content-wrapper p {
  margin-bottom: 1rem;
}

/* Review Specific layout */
.review-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.stat-box {
  background: var(--accent-color);
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
}
.stat-box span {
  display: block;
  font-size: 0.875rem;
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.stat-box strong {
  font-size: 1.1rem;
  color: var(--text-dark);
}

/* Footer - Improved for high visibility */
.site-footer {
  background-color: #4a4a4a; /* Grey background */
  color: #ffffff;
  padding: 4rem 0 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-col h4 {
  color: #ffffff !important;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}
.footer-col p {
  color: #f1f5f9 !important; /* Overriding muted inline styles */
  font-size: 1rem !important; /* Larger text for readability */
  line-height: 1.6;
}
.footer-col p strong {
  color: #ffffff;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: #f1f5f9;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
}
.footer-links a:hover {
  color: #38bdf8;
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
}
.footer-bottom p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Cookie Banner - Plenoxecho Adventurer Slot Theme */
.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.cookie-overlay.hiding {
  opacity: 0;
  pointer-events: none;
}

.cookie-overlay.hiding .cookie-modal {
  transform: scale(0.95);
}

.cookie-modal {
  background: rgba(26, 26, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #d4af37;
  border-radius: 20px;
  padding: 35px;
  width: 90%;
  max-width: 520px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.15);
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  transform: scale(1);
  transition: transform 0.3s ease;
  animation: modalPopIn 0.3s ease-out backwards;
}

@keyframes modalPopIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .cookie-modal {
    width: 80%;
  }
}

@media (min-width: 992px) {
  .cookie-modal {
    width: 100%;
    max-width: 520px;
  }
}

.cookie-icon {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: -0.5rem;
}

.cookie-text #cookieTitle {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #d4af37;
  font-weight: 700;
}

.cookie-text p {
  margin: 0;
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.cookie-text a {
  color: #10b981;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.cookie-text a:hover {
  color: #059669;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.cookie-btn-accept,
.cookie-btn-reject {
  flex: 1;
  font-size: 0.95rem;
  padding: 0.8rem 1.25rem;
  font-family: var(--font-main);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
  text-align: center;
}

.cookie-btn-accept {
  background-color: #10b981;
  color: #ffffff;
  border: 1px solid #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.cookie-btn-accept:hover {
  background-color: #059669;
  border-color: #059669;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
  color: #ffffff;
}

.cookie-btn-reject {
  background-color: transparent;
  color: #d4af37;
  border: 1px solid #d4af37;
}

.cookie-btn-reject:hover {
  background-color: rgba(212, 175, 55, 0.1);
  color: #d4af37;
}

.cookie-btn-manage {
  background-color: transparent;
  color: #94a3b8;
  border: none;
  font-size: 0.85rem;
  text-decoration: underline;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-main);
  transition: color 0.2s;
  margin-top: 0.5rem;
}

.cookie-btn-manage:hover {
  color: #cbd5e1;
}

/* Media Queries */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { text-align: center; }
  .hero h1 { font-size: 2.25rem; }
  .hero .grid-2 { display: flex; flex-direction: column-reverse; }
  .hero .mt-2 { justify-content: center; }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #64748b;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .main-nav.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .header-cta {
    display: none;
  }
}
@media print {
  .site-header, .site-footer, .hero, .btn, .cookie-overlay { display: none !important; }
  body { background: white; color: black; }
  .container { max-width: 100%; padding: 0; }
  a { text-decoration: underline; color: black; }
}