/*//..................................................................
//..PPPPP...............AAA............LL..............KK.....KKK...
//.PPPPPPPPPP..........AAAAA.......... LLL............ KKK...KKKKK..
//.PPPPPPPPPP..........AAAAA.......... LLL............ KKK..KKKKK...
//.PPPPPPPPPPP........AAAAAAA......... LLL............ KKK.KKKKK....
//.PPPP...PPPP........AAAAAAA......... LLL............ KKKKKKKK.....
//.PPPP...PPPP........AAAAAAA......... LLL............ KKKKKKK......
//.PPPPPPPPPPP.......AAAAAAAAA........ LLL............ KKKKKK.......
//.PPPPPPPPPPP.......AAAA.AAAA........ LLL............ KKKKKKK......
//.PPPPPPPPPP........AAAAAAAAAA....... LLL............ KKKKKKKK.....
//.PPPPPPPPP........ AAAAAAAAAA....... LLL............ KKKKKKKKK....
//.PPPP............. AAAAAAAAAA....... LLL............ KKK.KKKKK....
//.PPPP............. AAAAAAAAAAA...... LLLLLLLLL...... KKK..KKKKK...
//.PPPP............ AAA....AAAA...... LLLLLLLLL...... KKK..KKKKKK..
//.PPPP............ AA.....AAAA...... LLLLLLLLL...... KKK...KKKKK..
//..................................................................*/


/* ==============================================
   CUSTOM FONTS (Load First for Performance)
   ============================================== */

@import url('itoi-font/stylesheet.css');

/* ==============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ============================================== */

:root {
  /* Colors */
  --color-primary: #000000;
  --color-secondary: #666666;
  --color-tertiary: #999999;
  --color-background: #ffffff;
  --color-surface: rgba(0, 0, 0, 0.05);
  --color-border: #e5e5e5;
  
  /* Typography - ITOI Custom Fonts with Enhanced Fallbacks */
  --font-primary: 'itoi basic font', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-secondary: 'itoi funky font', 'itoi basic font', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 40px;
  --spacing-2xl: 60px;
  --spacing-3xl: 80px;
  --spacing-4xl: 120px;
  
  /* Layout */
  --header-height: 100vh;
  --border-radius-sm: 2px;
  --border-radius-md: 4px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* ==============================================
   RESET & BASE STYLES
   ============================================== */

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

/* Prevent horizontal overflow on all elements */
* {
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-background);
  color: var(--color-primary);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  width: 100%;
  min-width: 0;
}

/* ==============================================
   GRID LAYOUT STRUCTURE
   ============================================== */

.grid-container {
  display: grid;
  grid-template-rows: var(--header-height) auto;
  grid-template-areas: 
    "hero"
    "content";
  min-height: 100vh;
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  min-width: 0;
}

/* ==============================================
   HERO SECTION WITH 3D MODEL
   ============================================== */

.hero-section {
  grid-area: hero;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-background);
  overflow: hidden;
  touch-action: pan-y;
  min-width: 0;
}

.model-sticky {
  position: relative;
  width: 100%;
  height: var(--header-height);
  z-index: 1;
  overflow: hidden;
  touch-action: pan-y;
  min-width: 0;
}

#model-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 0;
  min-height: 200px;
}

#model-container canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  overflow: hidden;
  touch-action: pan-y;
  min-width: 0;
  max-width: 100%;
  max-height: 100%;
}

/* ==============================================
   CONTENT SECTION
   ============================================== */

.content-section {
  grid-area: content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: var(--spacing-4xl) 0;
  background-color: var(--color-background);
  overflow: visible;
}

.links-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xl);
  text-align: center;
  width: 100%;
  min-width: 0;
  overflow: visible;
  padding: var(--spacing-4xl) var(--spacing-xl);
  min-height: 500px; /* Ensure enough vertical space for 3D rotation */
}

/* ==============================================
   LINKS STYLING
   ============================================== */

.discography-link {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.1em;
  perspective: 1000px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  transform-style: preserve-3d;
  animation: rotateY-kebab 8s linear infinite;
  transform-origin: center center;
  will-change: transform;
  backface-visibility: visible;
  margin: var(--spacing-4xl) 0;
  min-height: 300px;
  min-width: 300px;
  padding: var(--spacing-xl);
  position: relative;
  z-index: 1;
}

@keyframes rotateY-kebab {
  from {
    transform: rotateZ(-90deg) rotateX(-360deg);
  }
  to {
    transform: rotateZ(-90deg) rotateX(0deg);
  }
}

.discography-link:hover {
  color: var(--color-secondary);
  transform: rotateZ(-90deg) scale(1.05);
  animation-play-state: paused;
}

.discography-link:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: var(--spacing-sm);
}

.email-link {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-secondary);
  text-decoration: none;
  letter-spacing: 0.2em;
  transition: all var(--transition-normal);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-md);
}

.email-link:hover {
  color: var(--color-primary);
  background-color: var(--color-surface);
}

.email-link:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: var(--spacing-xs);
}

/* ==============================================
   LEGAL LINKS
   ============================================== */

.legal-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: var(--spacing-4xl);
}

.legal-link {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: var(--font-weight-normal);
  color: var(--color-tertiary);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: all var(--transition-normal);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
}

.legal-link:hover {
  color: var(--color-secondary);
  background-color: rgba(0, 0, 0, 0.02);
}

.legal-link:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: var(--spacing-xs);
}

/* ==============================================
   THEME TOGGLE
   ============================================== */

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-tertiary);
  transition: all var(--transition-normal);
}

.theme-toggle:hover {
  color: var(--color-primary);
  background-color: var(--color-surface);
}

.theme-toggle:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: var(--spacing-xs);
}

.theme-icon {
  width: 24px;
  height: 24px;
  transition: all var(--transition-normal);
  fill: currentColor;
}

.moon-icon {
  display: block;
}

.sun-icon {
  display: none;
}

[data-theme="dark"] .sun-icon {
  display: block;
}

[data-theme="dark"] .moon-icon {
  display: none;
}

/* ==============================================
   DARK THEME
   ============================================== */

[data-theme="dark"] {
  --color-primary: #ffffff;
  --color-secondary: #999999;
  --color-tertiary: #666666;
  --color-background: #121212;
  --color-surface: rgba(255, 255, 255, 0.1);
  --color-border: #2c2c2c;
}

/* ==============================================
   LOADING SPINNER & PROGRESS BAR
   ============================================== */

#loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-size: 1.5em;
  z-index: 100;
  text-align: center;
}

#loading-text {
  margin-bottom: var(--spacing-md);
  font-weight: var(--font-weight-medium);
}

.progress-bar {
  width: 120px;
  height: 3px;
  background-color: var(--color-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  margin: 0 auto;
}

.progress {
  width: 0%;
  height: 100%;
  background-color: var(--color-primary);
  transition: width var(--transition-fast);
  border-radius: var(--border-radius-sm);
}

/* ==============================================
   SCREEN READER ONLY CONTENT
   ============================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==============================================
   CONSENT BANNER STYLES
   ============================================== */

.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  color: white;
  padding: 20px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  font-family: var(--font-primary);
}

.consent-banner.show {
  transform: translateY(0);
}

.consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.consent-text {
  flex: 1;
  min-width: 300px;
  font-size: 0.9rem;
  line-height: 1.4;
  letter-spacing: 0.2em;
}

.consent-text a {
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.consent-text a:hover {
  color: #f0f0f0;
}

.consent-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.consent-btn {
  padding: 3px 12px;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-weight: var(--font-weight-medium);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
  letter-spacing: 0.2em;
}

.consent-btn.accept {
  background: #ffffff;
  color: #000000;
}

.consent-btn.accept:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}

.consent-btn.decline {
  background: transparent;
  color: #ffffff;

.consent-btn.decline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.consent-settings {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: none;
}

.consent-settings.show {
  display: block;
}

.consent-settings button {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  padding: 5px 12px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
  letter-spacing: 0.2em;
}

.consent-settings button:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-1px);
}

/* ==============================================
   LEGAL PAGES STYLES (IMPRESSUM & DATENSCHUTZ)
   ============================================== */

/* Legal pages body styling */
body.legal-page {
  font-family: var(--font-primary);
  letter-spacing: 0.2em;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.7;
  padding: 40px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Legal pages container */
.legal-container {
  max-width: 800px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 60px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 40px;
}

/* Legal pages logo */
.legal-logo {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  letter-spacing: 0.2em;
  display: block;
  text-align: center;
  margin-bottom: 40px;
  transition: color 0.3s ease;
}

.legal-logo:hover {
  color: #666666;
}

/* Legal pages headings */
.legal-page h1 {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #000000;
  letter-spacing: 0.2em;
}

.legal-page h2 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 30px 0 15px 0;
  color: #222222;
  letter-spacing: 0.2em;
}

.legal-page h3 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 20px 0 10px 0;
  color: #333333;
  letter-spacing: 0.2em;
}

/* Legal pages text */
.legal-page p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #333333;
  letter-spacing: 0.2em;
}

.legal-page ul {
  margin: 15px 0 20px 20px;
}

.legal-page li {
  margin-bottom: 8px;
  color: #333333;
  letter-spacing: 0.2em;
}

/* Highlight boxes */
.highlight-box,
.contact-info {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 4px;
  margin: 20px 0;
  border-left: 4px solid #000000;
}

.highlight-box p,
.contact-info p {
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

/* Back link */
.back-link {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 24px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  letter-spacing: 0.2em;
}

.back-link:hover {
  background: #333333;
  transform: translateY(-1px);
}

.back-link:focus {
  outline: 2px solid #000000;
  outline-offset: 4px;
}

/* Legal pages mobile responsive */
@media (max-width: 768px) {
  body.legal-page {
    padding: 20px 15px;
  }
  
  .legal-container {
    padding: 40px 25px;
  }
  
  .legal-logo {
    font-size: 2rem;
  }
  
  .legal-page h1 {
    font-size: 1.6rem;
  }
  
  .legal-page h2 {
    font-size: 1.2rem;
  }
  
  .legal-page h3 {
    font-size: 1.05rem;
  }
  
  .legal-page p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .legal-container {
    padding: 30px 20px;
  }
  
  .legal-logo {
    font-size: 1.8rem;
  }
  
  .legal-page h1 {
    font-size: 1.4rem;
  }
  
  .legal-page h2 {
    font-size: 1.1rem;
  }
  
  .legal-page h3 {
    font-size: 1rem;
  }
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */

@media (max-width: 768px) {
  .hero-section {
    min-height: var(--header-height);
    height: auto;
    overflow: hidden;
    width: 100vw;
  }
  
  .content-section {
    padding: var(--spacing-2xl) 20px;
    min-height: 40vh;
    overflow-x: hidden;
    width: 100%;
  }
  
  .discography-link {
    font-size: min(2.5rem, 10vw);
    max-width: 100%;
    word-break: break-word;
    margin: var(--spacing-2xl) 0;
    min-height: 150px;
    min-width: 150px;
  }
  
  .email-link {
    font-size: min(1.8rem, 8vw);
    max-width: 100%;
    word-break: break-all;
  }
  
  .links-container {
    gap: var(--spacing-xl);
    width: 100%;
    min-width: 0;
    overflow: visible;
    padding: var(--spacing-2xl) var(--spacing-lg);
  }
  
  .model-sticky {
    height: auto;
    min-height: 70vh;
    overflow: hidden;
    width: 100%;
    min-width: 0;
  }
  
  #model-container {
    min-width: 0;
    min-height: 250px;
    width: 100%;
    overflow: hidden;
  }
  
  #model-container canvas {
    pointer-events: none;
    touch-action: none;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  
  body {
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 100vw;
    min-width: 0;
  }
  
  /* Consent banner mobile styles */
  .consent-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .consent-text {
    min-width: unset;
    text-align: center;
  }
  
  .consent-buttons {
    justify-content: center;
    width: 100%;
  }
  
  .consent-btn {
    flex: 1;
    min-width: 120px;
  }
  
  .legal-links {
    margin-top: 50px;
    gap: 15px;
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
  }
  
  .legal-link {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: auto;
    min-height: 80vh;
    overflow: hidden;
    width: 100vw;
  }
  
  .discography-link {
    font-size: min(2.2rem, 8vw);
    max-width: 100%;
    margin: var(--spacing-xl) 0;
    min-height: 120px;
    min-width: 120px;
  }
  
  .model-sticky {
    height: auto;
    min-height: 60vh;
    overflow: hidden;
    width: 100%;
    min-width: 0;
  }
  
  #model-container {
    min-width: 0;
    min-height: 200px;
    width: 100%;
    overflow: hidden;
  }
  
  .legal-links {
    gap: 10px;
    margin-top: var(--spacing-xl);
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .legal-link {
    font-size: 1.1rem;
    padding: var(--spacing-sm) 12px;
  }
}

/* ==============================================
   ACCESSIBILITY & FEATURE QUERIES
   ============================================== */

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .discography-link {
    animation: none;
    transform: rotateZ(-90deg);
  }
  
  html {
    scroll-behavior: auto;
  }
  
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .email-link {
    color: var(--color-primary);
  }
  
  .email-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
  }
  
  .progress {
    background-color: var(--color-primary);
  }
  
  .progress-bar {
    background-color: #333333;
    border: 1px solid var(--color-primary);
  }
}

/* Focus indicators for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: var(--border-radius-sm);
}

.discography-link:focus-visible,
.email-link:focus-visible {
  outline: 3px solid var(--color-primary);
}

/* ==============================================
   LEGAL PAGES (DATENSCHUTZ & IMPRESSUM)
   ============================================== */

/* Legal page body styles */
body.legal-page {
  font-family: 'itoi basic font', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  letter-spacing: 0.2em;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.7;
  padding: 40px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Legal page container */
.legal-container {
  max-width: 800px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 60px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  margin-bottom: 40px;
}

/* Legal page logo */
.legal-logo {
  font-family: 'itoi funky font', 'itoi basic font', sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  letter-spacing: 0.2em;
  display: block;
  text-align: center;
  margin-bottom: 40px;
  transition: color 0.3s ease;
}

.legal-logo:hover {
  color: #666666;
}

/* Legal page headings */
.legal-page h1 {
  font-family: 'itoi basic font', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #000000;
  letter-spacing: 0.2em;
}

.legal-page h2 {
  font-family: 'itoi basic font', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin: 30px 0 15px 0;
  color: #222222;
  letter-spacing: 0.2em;
}

.legal-page h3 {
  font-family: 'itoi basic font', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 20px 0 10px 0;
  color: #333333;
  letter-spacing: 0.2em;
}

/* Legal page text */
.legal-page p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #333333;
  letter-spacing: 0.2em;
}

.legal-page ul {
  margin: 15px 0 20px 20px;
}

.legal-page li {
  margin-bottom: 8px;
  color: #333333;
  letter-spacing: 0.2em;
}

/* Highlight box */
.highlight-box {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 4px;
  margin: 20px 0;
  border-left: 4px solid #000000;
}

.highlight-box p {
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

/* Contact info */
.contact-info {
  margin: 20px 0;
}

.contact-info p {
  margin-bottom: 8px;
  letter-spacing: 0.2em;
}

/* Back link */
.back-link {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 24px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  letter-spacing: 0.2em;
}

.back-link:hover {
  background: #333333;
  transform: translateY(-1px);
}

.back-link:focus {
  outline: 2px solid #000000;
  outline-offset: 4px;
}

/* ==============================================
   CONSENT BANNER & MANAGEMENT
   ============================================== */

/* Consent Banner */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  color: white;
  padding: 20px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.consent-banner.show {
  transform: translateY(0);
}

.consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.consent-text {
  flex: 1;
  min-width: 300px;
  font-size: 0.9rem;
  line-height: 1.4;
  letter-spacing: 0.2em;
}

.consent-text a {
  color: #ffffff;
  text-decoration: underline;
}

.consent-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.consent-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-family: inherit;
  letter-spacing: 0.2em;
}

.consent-btn.accept {
  background: #ffffff;
  color: #000000;
}

.consent-btn.accept:hover {
  background: #f0f0f0;
}

.consent-btn.decline {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.consent-btn.decline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.consent-settings {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: none;
}

.consent-settings.show {
  display: block;
}

.consent-settings button {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  letter-spacing: 0.2em;
}

.consent-settings button:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* ==============================================
   RESPONSIVE DESIGN FOR LEGAL PAGES
   ============================================== */

/* Mobile responsive */
@media (max-width: 768px) {
  body.legal-page {
    padding: 20px 15px;
  }
  
  .legal-container {
    padding: 40px 25px;
  }
  
  .legal-logo {
    font-size: 2rem;
  }
  
  .legal-page h1 {
    font-size: 1.6rem;
  }
  
  .legal-page h2 {
    font-size: 1.2rem;
  }
  
  .legal-page h3 {
    font-size: 1.05rem;
  }
  
  .legal-page p {
    font-size: 1rem;
  }
  
  .consent-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .consent-text {
    min-width: unset;
    text-align: center;
  }
  
  .consent-buttons {
    justify-content: center;
    width: 100%;
  }
  
  .consent-btn {
    flex: 1;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .legal-container {
    padding: 30px 20px;
  }
  
  .legal-logo {
    font-size: 1.8rem;
  }
  
  .legal-page h1 {
    font-size: 1.4rem;
  }
  
  .legal-page h2 {
    font-size: 1.1rem;
  }
  
  .legal-page h3 {
    font-size: 1rem;
  }
}