@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --bg-primary: #07020d;
  --bg-secondary: #0e061a;
  --bg-surface: #1a0f2e;
  --accent-emerald: linear-gradient(135deg, #a855f7, #ec4899);
  --accent-emerald-glow: rgba(236, 72, 153, 0.45);
  --accent-crystal: linear-gradient(135deg, #3b82f6, #8b5cf6);
  --accent-crystal-glow: rgba(139, 92, 246, 0.35);
  --accent-gold: linear-gradient(135deg, #fbbf24, #f59e0b);
  --accent-gold-glow: rgba(245, 158, 11, 0.35);
  --premium-gradient: linear-gradient(135deg, #f43f5e, #a855f7, #fbbf24);
  
  --glass-bg: rgba(26, 15, 46, 0.4);
  --glass-border: rgba(236, 72, 153, 0.15);
  --glass-blur: blur(20px);
  --glass-shadow: 0 15px 50px rgba(0, 0, 0, 0.65);

  --font-display: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-decorative: 'Playfair Display', serif;

  --color-primary: #fcfaff;
  --color-secondary: #e2d9f3;
  --color-muted: #9a8eb5;
  --color-accent: #f472b6;
  
  --max-width: 1320px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--color-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  padding-top: 36px; /* Offset for sticky disclaimer bar */
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface);
  border: 2px solid var(--bg-primary);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2a1b4d;
}

/* Celestial background glow shapes */
body::before, body::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(150px);
  opacity: 0.2;
}
body::before {
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  top: 10%;
  left: -200px;
}
body::after {
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  bottom: 20%;
  right: -200px;
}

/* Top Warning and Safety Banner */
.safety-announcement-bar {
  background: #07020d;
  border-bottom: 1px solid rgba(236, 72, 153, 0.3);
  padding: 8px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1010;
  height: 36px;
  display: flex;
  align-items: center;
}

.safety-announcement-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  width: 100%;
}

.safety-badge {
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.safety-announcement-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ff9ebb;
  letter-spacing: 0.5px;
  margin: 0;
  text-transform: uppercase;
}

/* Main Container Grid and Structure */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.2;
}

p {
  color: var(--color-secondary);
}

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

/* Floating Royal Header (Slimmed Down) */
.royal-header {
  position: fixed;
  top: 48px; /* Perfectly sits below the safety bar */
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.royal-header.scrolled {
  top: 36px;
}

.royal-header.scrolled .header-glass {
  background: rgba(7, 2, 13, 0.95);
  backdrop-filter: blur(25px);
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(236, 72, 153, 0.2);
  border-radius: 30px;
  padding: 4px 16px;
}

.header-glass {
  max-width: var(--max-width);
  margin: 0 auto;
  background: rgba(14, 6, 26, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 6px 20px; /* Slimmer Padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-crown-icon {
  width: 32px; /* Slimmed down icon */
  height: 32px;
  background: var(--premium-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
  position: relative;
  overflow: hidden;
}

.logo-crown-icon svg {
  width: 16px;
  height: 16px;
  stroke: #07020d;
}

.logo-crown-icon::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite linear;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem; /* Slimmer typography */
  background: var(--premium-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.royal-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-emerald);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.crystal-badge {
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ff86b6;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #ff529a;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff529a;
  animation: pulse 2s infinite;
}

/* Button UI System */
.btn-premium {
  background: var(--accent-emerald);
  color: #07020d;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 22px; /* Slimmer layout */
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--accent-emerald-glow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.6);
  color: #07020d;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(236, 72, 153, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.15);
}

/* Mobile Hamburger Menu */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  margin: 4px 0;
  transition: var(--transition);
}

/* Mobile Sliding Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-overlay .nav-link {
  font-size: 1.6rem;
  font-family: var(--font-display);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #1e0d3d 0%, var(--bg-primary) 100%);
}

.hero-bg-visuals {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-particle {
  position: absolute;
  background: rgba(236, 72, 153, 0.3);
  border-radius: 50%;
  animation: floatUp 8s infinite linear;
}

.hero-particle-1 { width: 6px; height: 6px; top: 80%; left: 15%; animation-duration: 12s; }
.hero-particle-2 { width: 10px; height: 10px; top: 60%; left: 75%; animation-duration: 15s; }
.hero-particle-3 { width: 4px; height: 4px; top: 40%; left: 45%; animation-duration: 9s; }
.hero-particle-4 { width: 8px; height: 8px; top: 90%; left: 60%; animation-duration: 14s; }

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-caption {
  font-family: var(--font-decorative);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title span {
  background: var(--premium-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* Hero Right Side - Magical Interactive Showcase */
.hero-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.crystal-portal-frame {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 450px;
  border-radius: 50%;
  background: rgba(26, 15, 46, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
}

.crystal-portal-frame::before {
  content: "";
  position: absolute;
  width: 103%;
  height: 103%;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #ec4899, #8b5cf6, #fbbf24, #ec4899);
  animation: rotatePortal 20s infinite linear;
  z-index: -1;
  opacity: 0.7;
}

.crystal-portal-frame::after {
  content: "";
  position: absolute;
  width: 98%;
  height: 98%;
  background: var(--bg-primary);
  border-radius: 50%;
  z-index: -1;
}

.showcase-inner {
  position: relative;
  width: 85%;
  height: 85%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid rgba(236, 72, 153, 0.3);
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: var(--transition);
}

.crystal-portal-frame:hover .showcase-img {
  transform: scale(1.15) rotate(2deg);
}

.floating-magic-element {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: 16px;
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  animation: floatCard 4s infinite ease-in-out;
}

.magic-element-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0.5s;
}

.magic-element-2 {
  bottom: 10%;
  left: -20px;
  animation-delay: 1.5s;
}

.magic-stat-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fbbf24;
  font-weight: bold;
}

.magic-stat-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* Master Game Section - "ELF KINGDOM SLOT" */
.game-section {
  padding: 120px 0;
  position: relative;
  z-index: 10;
}

.game-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-family: var(--font-decorative);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-accent);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title span {
  background: var(--premium-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  max-width: 650px;
  margin: 0 auto;
  color: var(--color-secondary);
}

/* Deluxe Game Container */
.game-portal-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border-radius: 32px;
  border: 1px solid rgba(236, 72, 153, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.game-portal-wrapper::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 4px;
  background: var(--premium-gradient);
  z-index: 10;
}

.game-portal-wrapper:hover {
  box-shadow: 0 40px 100px rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.4);
}

/* Game Header Bar within the Container */
.game-control-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: var(--bg-surface);
  border-bottom: 1px solid rgba(236, 72, 153, 0.15);
}

.game-title-badge {
  display: flex;
  align-items: center;
  gap: 15px;
}

.game-title-badge h3 {
  font-size: 1.4rem;
  background: var(--premium-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.game-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 1px;
}

.game-action-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.control-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--color-secondary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.control-btn:hover {
  background: var(--accent-crystal);
  color: #07020d;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

/* Real-to-Life Iframe Container */
.game-screen-area {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background: #000;
  overflow: hidden;
}

.game-screen-area iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Disclaimer Strip directly below screen */
.disclaimer-strip {
  padding: 15px 30px;
  background: #040108;
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Features - "Legends of the Elven Realm" */
.features-section {
  padding: 120px 0;
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--glass-shadow);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.15), transparent 60%);
  pointer-events: none;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.feature-card:hover::before {
  opacity: 1.5;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
}

.feature-icon-wrapper svg {
  width: 30px;
  height: 30px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--color-secondary);
  font-size: 0.95rem;
}

/* Kingdom Community Stats */
.stats-section {
  padding: 100px 0;
  position: relative;
  background: var(--bg-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-surface);
  border-radius: 20px;
  border: 1px solid rgba(236, 72, 153, 0.1);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 2px;
  background: var(--premium-gradient);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  background: var(--premium-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-muted);
}

/* Legal & Info Pages Master Styles */
.legal-page-header {
  padding-top: 180px;
  padding-bottom: 80px;
  text-align: center;
  background: radial-gradient(circle at 50% 100%, #1e0d3d 0%, var(--bg-primary) 100%);
}

.legal-content-section {
  padding-bottom: 120px;
}

.legal-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  padding: 50px;
  border-radius: 32px;
  box-shadow: var(--glass-shadow);
}

.legal-card h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--color-accent);
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p {
  margin-bottom: 24px;
  font-size: 1rem;
  color: var(--color-secondary);
}

.legal-card ul {
  margin-bottom: 24px;
  padding-left: 20px;
  color: var(--color-secondary);
}

.legal-card ul li {
  margin-bottom: 12px;
}

.company-details-box {
  background: var(--bg-surface);
  border: 1px solid rgba(236, 72, 153, 0.1);
  border-radius: 20px;
  padding: 30px;
  margin-top: 40px;
}

.company-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.company-detail-item {
  display: flex;
  flex-direction: column;
}

.company-detail-item label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 5px;
}

.company-detail-item span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Contact Page Form styling */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-form {
  display: grid;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-secondary);
}

.form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: rgba(236, 72, 153, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.form-feedback {
  padding: 15px;
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: #ff86b6;
  border-radius: 12px;
  display: none;
  text-align: center;
}

/* Crystal-glass Footer */
.premium-footer {
  background: #040108;
  border-top: 1px solid rgba(236, 72, 153, 0.2);
  padding: 80px 0 40px 0;
  position: relative;
}

.premium-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--premium-gradient);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand h4 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.footer-col h5 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--color-primary);
  position: relative;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.95rem;
  color: var(--color-muted);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--color-accent);
  transform: translateX(5px);
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-info-item {
  font-size: 0.9rem;
  color: var(--color-muted);
  display: flex;
  flex-direction: column;
}

.contact-info-item strong {
  color: var(--color-secondary);
}

.footer-disclaimer-box {
  background: var(--bg-surface);
  border: 1px solid rgba(236, 72, 153, 0.15);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 40px;
}

.footer-disclaimer-box p {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Animations */
@keyframes floatUp {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes rotatePortal {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

@keyframes shimmer {
  0% { left: -150%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

/* Modal UI */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(7, 2, 13, 0.9);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  max-width: 600px;
  width: 90%;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  position: relative;
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--color-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--color-primary);
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 20px;
  background: var(--premium-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 40px auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .royal-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 50px; /* Offset for dynamic wrapping of safety bar */
  }
  .safety-announcement-bar {
    height: auto;
    padding: 6px 12px;
  }
  .royal-header {
    top: 56px;
  }
  .royal-header.scrolled {
    top: 0;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .legal-card {
    padding: 30px 20px;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .company-details-grid {
    grid-template-columns: 1fr;
  }
}