/* Jakoplay Norway Social Casino Styles */

/* CSS Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.5;
  color: #ffffff;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin: 0 0 1rem 0;
}

a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #93c5fd;
}

a:focus {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

/* Layout Framework */
.frame-jakoplay-no {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.grid-shell-no {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.stratum-mainflow {
  flex: 1;
}

/* Age Gate Banner */
.bar-age-18no {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899);
  padding: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: none; /* Remove any transitions that might cause flicker */
}

.bar-age-18no .grid-shell-no {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.age-icon {
  font-size: 1.5rem;
}

.age-text {
  font-weight: 600;
  color: white;
}

.age-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-affirm-18,
.btn-decline-18 {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-affirm-18 {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-affirm-18:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.02);
}

.btn-decline-18 {
  background: rgba(220, 38, 38, 0.8);
  color: white;
}

.btn-decline-18:hover {
  background: rgba(220, 38, 38, 0.9);
  transform: scale(1.02);
}

.btn-affirm-18:focus,
.btn-decline-18:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Hidden state */
.bar-age-18no.hidden {
  display: none;
  visibility: hidden;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

/* Header */
header {
  padding: 1rem 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

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

.logo-jakoplay {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.logo-jakoplay a {
  color: inherit;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-links a {
  color: #d1d5db;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: white;
  border-bottom-color: #8b5cf6;
}

.nav-signup-btn {
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.nav-signup-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.nav-signup-btn:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Main Content */
main {
  flex: 1;
  padding: 2rem 0;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 4rem 0;
}

.hero-section h1 {
  font-size: 3.5rem;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.5rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.hero-disclaimer {
  font-size: 1rem;
  color: #9ca3af;
  font-style: italic;
}

/* About Section */
.about-section {
  padding: 3rem 0;
  text-align: center;
}

.about-section h2 {
  color: #f3f4f6;
  margin-bottom: 2rem;
}

.about-section p {
  font-size: 1.125rem;
  color: #d1d5db;
  max-width: 800px;
  margin: 0 auto;
}

/* Games Section */
.games-section {
  padding: 3rem 0;
}

.games-section h2 {
  text-align: center;
  color: #f3f4f6;
  margin-bottom: 3rem;
}

.deck-game-trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tile-gamelet {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.2rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.tile-gamelet:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}

.tile-gamelet h3 {
  color: #f3f4f6;
  margin-bottom: 1rem;
}

.tile-gamelet p {
  color: #d1d5db;
  margin-bottom: 2rem;
}

.btn-playpulse {
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-playpulse:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.btn-playpulse:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

/* Responsible Gaming Disclosure */
.slab-disclosure-no {
  background: linear-gradient(135deg, #fef3c7, #fde68a, #f9a8d4);
  padding: 2rem 0;
  color: #374151;
}

.box-pastel {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.rail-rg-ethos h3 {
  color: #374151;
  margin-bottom: 1rem;
  text-align: center;
}

.rail-rg-ethos ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rail-rg-ethos li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(55, 65, 81, 0.1);
  color: #4b5563;
}

.rail-rg-ethos li:last-child {
  border-bottom: none;
}

/* Footer */
.footer-jakoplay {
  background: #1f2937;
  padding: 3rem 0 1rem;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #d1d5db;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: #9ca3af;
  margin: 0;
  font-size: 0.875rem;
}

.cookie-settings-btn {
  background: transparent;
  color: #d1d5db;
  border: 1px solid #4b5563;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.cookie-settings-btn:hover {
  background: #374151;
  color: white;
}

/* Cookie Consent Drawer */
.drawer-consent {
  position: fixed;
  bottom: -100%;
  right: 1rem;
  width: 400px;
  max-width: calc(100vw - 2rem);
  background: white;
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
  transition: bottom 0.3s ease;
  z-index: 1000;
  color: #374151;
}

.drawer-consent.open {
  bottom: 0;
}

.stack-consent-prefs {
  padding: 2rem;
}

.stack-consent-prefs h3 {
  color: #1f2937;
  margin-bottom: 1rem;
}

.cookie-category {
  margin: 1.5rem 0;
}

.cookie-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: #374151;
}

.cookie-name {
  flex: 1;
}

.switch-container {
  position: relative;
  display: inline-block;
}

.switch-container input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}

.switchlet-analytics,
.switchlet-marketing,
.switchlet-locked {
  display: inline-block;
  width: 44px;
  height: 24px;
  background: #d1d5db;
  border-radius: 24px;
  position: relative;
  transition: background 0.2s ease;
}

.switchlet-analytics::after,
.switchlet-marketing::after,
.switchlet-locked::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
}

.switchlet-locked {
  background: #9ca3af;
  cursor: not-allowed;
}

input[type="checkbox"]:checked + .switchlet-analytics,
input[type="checkbox"]:checked + .switchlet-marketing {
  background: #3b82f6;
}

input[type="checkbox"]:checked + .switchlet-analytics::after,
input[type="checkbox"]:checked + .switchlet-marketing::after {
  transform: translateX(20px);
}

.cookie-desc {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0.5rem 0 0 0;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-accept-all,
.btn-reject,
.btn-save {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-accept-all {
  background: #3b82f6;
  color: white;
}

.btn-accept-all:hover {
  background: #2563eb;
}

.btn-reject {
  background: #6b7280;
  color: white;
}

.btn-reject:hover {
  background: #4b5563;
}

.btn-save {
  background: #059669;
  color: white;
}

.btn-save:hover {
  background: #047857;
}

/* Toast Notification */
.toast-soonplay {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: white;
  color: #374151;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: none;
  align-items: center;
  gap: 1rem;
  max-width: 400px;
  z-index: 1001;
}

.toast-soonplay.toast-animate-fade {
  display: flex;
  animation: toastFadeIn 0.3s ease;
}

.toast-message {
  flex: 1;
}

.toast-closelet {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-closelet:hover {
  color: #374151;
}

@keyframes toastFadeIn {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.legal-content h1 {
  color: #f3f4f6;
  margin-bottom: 2rem;
  text-align: center;
}

.legal-content h2 {
  color: #d1d5db;
  margin: 2rem 0 1rem 0;
  border-bottom: 2px solid #374151;
  padding-bottom: 0.5rem;
}

.legal-content h3 {
  color: #d1d5db;
  margin: 1.5rem 0 0.5rem 0;
}

.legal-content p,
.legal-content li {
  color: #d1d5db;
  line-height: 1.6;
}

.legal-content ul {
  padding-left: 2rem;
}

.legal-content section {
  margin-bottom: 2rem;
}

/* Contact Page */
.contact-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.contact-section h1 {
  color: #f3f4f6;
  text-align: center;
  margin-bottom: 1rem;
}

.contact-section > p {
  text-align: center;
  color: #d1d5db;
  margin-bottom: 3rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  color: #f3f4f6;
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item h3 {
  color: #60a5fa;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: #93c5fd;
  font-weight: 500;
}

.contact-note {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 0.5rem;
  padding: 1rem;
}

.contact-note p {
  color: #93c5fd;
  margin: 0;
  font-size: 0.875rem;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
}

.contact-form h2 {
  color: #f3f4f6;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #d1d5db;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.required {
  color: #f87171;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #4b5563;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #60a5fa;
}

.form-group input.error,
.form-group textarea.error {
  border-color: #f87171;
}

.error-message {
  color: #f87171;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 1rem;
}

.btn-submit {
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  width: 100%;
}

.btn-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.btn-submit:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

.form-note {
  color: #9ca3af;
  font-size: 0.875rem;
  text-align: center;
  margin: 1rem 0 0 0;
}

.btn-manage-cookies {
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  margin: 1rem 0;
}

.btn-manage-cookies:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Sign Up Modal */
.modal-signup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
  /* No dark overlay - background remains visible */
}

.modal-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  color: #1f2937;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid rgba(31, 41, 55, 0.1);
}

.modal-header h2 {
  margin: 0;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.75rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #6b7280;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(107, 114, 128, 0.1);
  color: #374151;
}

.modal-close:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.modal-body {
  padding: 1rem 2rem 2rem;
}

.modal-subtitle {
  color: #6b7280;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  text-align: center;
}

.signup-form .form-group {
  margin-bottom: 1.5rem;
}

.signup-form label {
  display: block;
  color: #374151;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.signup-form input[type="text"],
.signup-form input[type="email"] {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  background: white;
  color: #374151;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.signup-form input[type="text"]:focus,
.signup-form input[type="email"]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.signup-form input.error {
  border-color: #ef4444;
}

.checkbox-group {
  margin: 1.5rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  width: 0;
  height: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  background: white;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  margin-right: 0.75rem;
  margin-top: 2px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #3b82f6;
  border-color: #3b82f6;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:focus + .checkmark {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.checkbox-label a {
  color: #3b82f6;
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: #2563eb;
}

.btn-signup-submit {
  width: 100%;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-signup-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.btn-signup-submit:focus {
  outline: 2px solid #1f2937;
  outline-offset: 2px;
}

.success-message {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #047857;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  font-weight: 500;
  margin-top: 1rem;
}

.modal-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(31, 41, 55, 0.1);
}

.modal-disclaimer {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

/* Modal Animations */
.modal-animate-in {
  animation: modalFadeIn 0.3s ease;
}

.modal-animate-out {
  animation: modalFadeOut 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes modalFadeOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 1.25rem;
  }
  
  .deck-game-trio {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .age-buttons {
    justify-content: center;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .toast-soonplay {
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .modal-content {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }
  
  .modal-header,
  .modal-body {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .grid-shell-no {
    padding: 0 0.5rem;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .bar-age-18no .grid-shell-no {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .drawer-consent {
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
    border-radius: 1rem 1rem 0 0;
  }
  
  .modal-header,
  .modal-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .modal-header h2 {
    font-size: 1.5rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .tile-gamelet {
    border-color: white;
  }
  
  .btn-playpulse {
    border: 2px solid white;
  }
  
  .drawer-consent {
    border: 2px solid #374151;
  }
  
  .modal-content {
    border: 2px solid #374151;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .tile-gamelet:hover {
    transform: none;
  }
  
  .btn-playpulse:hover {
    transform: none;
  }
  
  .nav-signup-btn:hover,
  .btn-signup-submit:hover {
    transform: none;
  }
  
  .modal-animate-in,
  .modal-animate-out {
    animation: none;
  }
}