/* Joytrailaraa.com Design System & Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Mystical Arabian Nights Color Palette */
  --primary: #FFD700; /* Glistening Desert Gold */
  --primary-glow: rgba(255, 215, 0, 0.6);
  --secondary: #9D4EDD; /* Sorcerer Deep Violet */
  --secondary-glow: rgba(157, 78, 221, 0.5);
  --accent-cyan: #00F5D4; /* Djinn Magical Smoke Cyan */
  --accent-cyan-glow: rgba(0, 245, 212, 0.4);
  --accent-magenta: #FF007F; /* Velvet Rose Magenta */
  
  /* Deep Atmospheric Backgrounds */
  --bg-deep: #05030A; /* Deepest Midnight Violet */
  --bg-surface: #100A26; /* Caliph's Chamber Dark Purple */
  --bg-surface-light: #1D1245; /* Royal Velvet Canopy */
  
  --border-gold: rgba(255, 215, 0, 0.25);
  --border-glow: rgba(255, 215, 0, 0.5);
  --text-primary: #FFFFFF;
  --text-secondary: #E2D9F3; /* Gilded off-white */
  --text-muted: #8E7FA8;
  
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --max-width: 1280px;
  --transition-smooth: all 0.5s cubic-bezier(0.2, 1, 0.2, 1);
  --header-height: 80px;
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  
  /* Repeating Arabesque Geometric Pattern directly in the CSS background */
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0 L45 15 L60 20 L45 25 L40 40 L35 25 L20 20 L35 15 Z' fill='%23FFD700' fill-opacity='0.03'/%3E%3Cpath d='M0 40 L5 55 L20 60 L5 65 L0 80 L-5 65 L-20 60 L-5 55 Z' fill='%23FFD700' fill-opacity='0.03'/%3E%3Cpath d='M80 40 L85 55 L100 60 L85 65 L80 80 L75 65 L60 60 L75 55 Z' fill='%23FFD700' fill-opacity='0.03'/%3E%3C/svg%3E"), 
    radial-gradient(circle at 50% 20%, #1c0e3a 0%, #05030a 70%);
  background-attachment: fixed;
}

/* Background Magical Floating Stars Layer */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 10% 12%, rgba(255,255,255,0.7) 1px, transparent 1px),
    radial-gradient(circle at 85% 45%, rgba(255,215,0,0.8) 1.5px, transparent 1.5px),
    radial-gradient(circle at 35% 75%, rgba(0,245,212,0.7) 1px, transparent 1px),
    radial-gradient(circle at 70% 85%, rgba(255,255,255,0.6) 1.2px, transparent 1.2px),
    radial-gradient(circle at 50% 50%, rgba(255,0,127,0.5) 2px, transparent 2px);
  background-size: 240px 240px;
  opacity: 0.75;
  animation: starryTwinkle 12s linear infinite;
  z-index: 1;
}

@keyframes starryTwinkle {
  0% { transform: translateY(0); opacity: 0.6; }
  50% { opacity: 1; }
  100% { transform: translateY(-40px); opacity: 0.6; }
}

/* Typography Custom Class */
h1, h2, h3, h4, .brand-logo {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(157, 78, 221, 0.4);
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Scrollbar - Gilded Gold and Purple */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--accent-magenta));
  border-radius: 5px;
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Utility Containers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.text-center { text-align: center; }

/* Disclaimer Bar - Magical Banner */
.disclaimer-bar {
  background: linear-gradient(90deg, #3d0066, #100624, #3d0066);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
  position: relative;
  z-index: 9999;
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.25);
  text-shadow: 0 0 8px var(--primary-glow);
}

/* Slim Sticky Header with Arabesque Arch styling */
.main-header {
  height: var(--header-height);
  background: rgba(16, 10, 38, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--border-gold);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  fill: var(--primary);
  filter: drop-shadow(0 0 10px var(--primary-glow)) drop-shadow(0 0 5px var(--accent-cyan-glow));
  animation: lampGlow 3s ease-in-out infinite alternate;
}

@keyframes lampGlow {
  0% { transform: scale(1) rotate(-3deg); filter: drop-shadow(0 0 5px var(--primary-glow)); }
  100% { transform: scale(1.08) rotate(3deg); filter: drop-shadow(0 0 15px var(--primary)) drop-shadow(0 0 8px var(--accent-cyan)); }
}

.brand-logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  background: linear-gradient(45deg, var(--primary) 30%, #FFF, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.05em;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  text-shadow: 0 0 8px var(--primary-glow);
}

.nav-links a::after {
  content: '✦';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  color: var(--primary);
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.nav-links a:hover::after, .nav-links a.active::after {
  transform: translateX(-50%) scale(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border: 2px solid var(--primary);
  border-radius: 30px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, rgba(29, 18, 69, 0.8), rgba(157, 78, 221, 0.3));
  box-shadow: 0 0 15px var(--primary-glow);
}

.header-cta:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent-magenta));
  color: #000;
  box-shadow: 0 0 25px var(--primary), 0 0 15px var(--accent-cyan);
  transform: translateY(-3px) scale(1.03);
  border-color: #FFF;
}

/* Mobile Navigation Button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-btn svg {
  fill: var(--primary);
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px var(--primary-glow));
}

/* Gilded Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 50px 8px 50px 8px; /* Elegant pointed shape mimicking arches */
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  transition: var(--transition-smooth);
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-magenta) 50%, var(--secondary) 100%);
  color: #000;
  border: 2px solid var(--primary);
  font-weight: 900;
  color: #05030A;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.6s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4), 0 0 15px var(--accent-cyan);
}

.btn-secondary {
  background: rgba(16, 10, 38, 0.8);
  color: #FFF;
  border: 2px solid rgba(255, 215, 0, 0.4);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(29, 18, 69, 0.9);
  box-shadow: 0 0 18px var(--accent-cyan-glow);
  transform: translateY(-4px);
}

/* Mystical Hero Section with Minaret Arch masking */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  /* Arabian night imagery and starry gradients */
  background: 
    radial-gradient(circle at 80% 20%, rgba(157, 78, 221, 0.35), transparent 50%),
    radial-gradient(circle at 15% 75%, rgba(0, 245, 212, 0.25), transparent 40%),
    linear-gradient(180deg, rgba(5, 3, 10, 0.2) 0%, var(--bg-deep) 100%),
    url('images/hero-bg-arabian-night.jpg') no-repeat center center/cover;
  overflow: hidden;
  padding: 80px 0;
  border-bottom: 3px solid var(--primary);
  clip-path: ellipse(150% 100% at 50% 0%); /* Curved desert sky effect */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(157, 78, 221, 0.25);
  border: 2px solid var(--primary);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 30px;
  box-shadow: 0 0 15px var(--primary-glow);
}

.hero-badge .star {
  width: 14px;
  height: 14px;
  fill: var(--primary);
  animation: pulse 1.8s infinite alternate;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.1;
  margin-bottom: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, #FFFFFF 20%, var(--primary) 70%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 15px rgba(0,0,0,0.6));
}

.hero-desc {
  font-size: 1.25rem;
  margin-bottom: 42px;
  max-width: 650px;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Magic Floating Carpet / Golden Lamp Animating */
.visual-glowing-lamp {
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0 15px 35px var(--primary-glow)) drop-shadow(0 0 20px rgba(157, 78, 221, 0.4));
  animation: carpetFloat 6s ease-in-out infinite;
}

@keyframes carpetFloat {
  0% { transform: translateY(0px) rotate(-1deg) scale(1); }
  50% { transform: translateY(-20px) rotate(2deg) scale(1.03); }
  100% { transform: translateY(0px) rotate(-1deg) scale(1); }
}

/* Featured Arena (Iframe integration) with Beautiful Archway Design */
.featured-experience {
  padding: 120px 0;
  position: relative;
}

.section-header {
  max-width: 750px;
  margin: 0 auto 70px;
}

.section-subtitle {
  color: var(--accent-cyan);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 16px;
  text-shadow: 0 0 10px var(--accent-cyan-glow);
}

.section-title {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  margin-bottom: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #FFF, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

/* Game Frame Beautiful Framing mimicking Palace Archways */
.game-frame-wrapper {
  background: linear-gradient(180deg, var(--bg-surface-light), var(--bg-surface));
  border: 3px solid var(--primary);
  border-radius: 40px 40px 16px 16px; /* Pointed dome curves */
  padding: 16px;
  box-shadow: 
    0 25px 60px rgba(0,0,0,0.8), 
    0 0 35px rgba(157, 78, 221, 0.3),
    0 0 15px var(--primary-glow);
  overflow: hidden;
  position: relative;
}

.game-frame-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 36px 36px 12px 12px;
  border: 2px dashed rgba(255, 215, 0, 0.4);
  pointer-events: none;
  z-index: 5;
}

.game-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: rgba(5, 3, 10, 0.8);
  border-radius: 24px 24px 8px 8px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.game-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.game-status .dot {
  width: 10px;
  height: 10px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse 1.5s infinite alternate;
}

.game-info-text {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.9);
}

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

/* Informative Sections styled like Arabian Nights Scrolls */
.info-section {
  padding: 100px 0;
  border-bottom: 2px solid rgba(157, 78, 221, 0.15);
}

.about-experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.experience-list {
  list-style: none;
  margin-top: 30px;
}

.experience-list li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.experience-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-size: 1.3rem;
  text-shadow: 0 0 8px var(--primary-glow);
}

/* Beautiful Rounded Arabian Palace Pillars */
.info-section img {
  border-radius: 24px;
  border: 2px solid var(--primary);
  box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(157, 78, 221, 0.2);
}

/* Game World Inspiration Grid */
.inspiration-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  margin-top: 60px;
}

.inspire-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-gold);
  border-radius: 24px 24px 12px 12px; /* Arch shaped cards */
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.inspire-card:hover {
  transform: translateY(-12px);
  border-color: var(--accent-cyan);
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.6), 
    0 0 20px var(--accent-cyan-glow);
}

.inspire-img-wrapper {
  height: 240px;
  overflow: hidden;
  position: relative;
  clip-path: ellipse(110% 100% at 50% 100%); /* Elegant curved layout */
  border-bottom: 2px solid var(--border-gold);
}

.inspire-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.inspire-card:hover .inspire-img-wrapper img {
  transform: scale(1.12);
}

.inspire-content {
  padding: 28px;
}

.inspire-tag {
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
  display: block;
}

.inspire-title {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: #FFF;
}

/* Benefits Section - Ornate Caliph Lounge */
.benefits-section {
  background: 
    radial-gradient(circle at top right, rgba(157, 78, 221, 0.25), transparent), 
    radial-gradient(circle at bottom left, rgba(0, 245, 212, 0.15), transparent),
    var(--bg-surface);
  padding: 90px 40px;
  border-radius: 32px;
  margin: 80px 0;
  border: 2px solid var(--primary);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 30px rgba(255, 215, 0, 0.15);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  margin-top: 50px;
}

.benefit-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 20px;
  background: rgba(5, 3, 10, 0.6);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.benefit-card:hover {
  background: rgba(5, 3, 10, 0.9);
  border-color: var(--primary);
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.15);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  fill: var(--primary);
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.benefit-title {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: #FFF;
}

/* User Journey System with Star Track timelines */
.journey-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
  margin-top: 70px;
  position: relative;
}

.journey-step {
  position: relative;
  background: var(--bg-surface-light);
  padding: 40px 28px;
  border-radius: 24px 8px 24px 8px;
  border-top: 4px solid var(--primary);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: var(--transition-smooth);
}

.journey-step:hover {
  transform: translateY(-8px);
  border-top-color: var(--accent-cyan);
}

.journey-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(255, 215, 0, 0.15);
  position: absolute;
  top: 15px;
  right: 24px;
  line-height: 1;
  font-weight: 900;
}

.journey-step h4 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: #FFF;
}

/* Stats Section with Oasis Colors */
.stats-section {
  padding: 70px 0;
  background: linear-gradient(135deg, rgba(16,10,38,0.95), rgba(157,78,221,0.2));
  border-top: 2px solid var(--border-gold);
  border-bottom: 2px solid var(--border-gold);
  box-shadow: inset 0 0 30px rgba(0,0,0,0.6);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 900;
  text-shadow: 0 0 20px var(--primary-glow);
  background: linear-gradient(135deg, var(--primary), var(--accent-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item p {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  font-weight: 700;
}

/* FAQ Accordion Elements */
.faq-grid {
  max-width: 850px;
  margin: 50px auto 0;
}

.faq-item {
  background: var(--bg-surface);
  border: 2px solid var(--border-gold);
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #FFF;
}

.faq-question::after {
  content: '✦';
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.4s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 28px;
  color: var(--text-secondary);
  transition: max-height 0.4s ease, padding 0.4s ease;
  font-size: 1rem;
  line-height: 1.7;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
  color: var(--accent-cyan);
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 24px;
}

/* Elegant Gilded CTA Box */
.contact-cta-section {
  padding: 120px 0;
  position: relative;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(16, 10, 38, 0.95), rgba(157, 78, 221, 0.25));
  border: 3px solid var(--primary);
  border-radius: 32px;
  padding: 70px 48px;
  max-width: 950px;
  margin: 0 auto;
  box-shadow: 
    0 25px 50px rgba(0,0,0,0.8),
    0 0 30px rgba(255, 215, 0, 0.15);
  position: relative;
}

.cta-box::after {
  content: '✦';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-deep);
  color: var(--primary);
  font-size: 2rem;
  padding: 0 10px;
}

.cta-box h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 20px;
}

.cta-box p {
  margin-bottom: 36px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15rem;
}

/* Contact Form Elements with Golden Trim */
.contact-form {
  max-width: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
}

.form-group-full {
  grid-column: span 2;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: rgba(5, 3, 10, 0.9);
  border: 2px solid var(--border-gold);
  border-radius: 8px;
  padding: 14px 18px;
  color: #FFF;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

/* Footer styling mimicking Royal Palace Gates */
.main-footer {
  background: #030206;
  border-top: 3px solid var(--primary);
  padding: 90px 0 40px;
  margin-top: 100px;
  font-size: 0.95rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 70px;
}

.footer-column h4 {
  color: #FFF;
  margin-bottom: 28px;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  padding-bottom: 8px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 14px;
}

.footer-column ul li a {
  color: var(--text-secondary);
}

.footer-column ul li a:hover {
  color: var(--accent-cyan);
  padding-left: 6px;
}

.footer-brand-text {
  margin: 20px 0 28px;
  line-height: 1.7;
}

.bottom-footer {
  border-top: 1px solid rgba(157, 78, 221, 0.2);
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-legal-disclaimer {
  max-width: 850px;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Floating Cookie Banner with Magic Lamp Accent */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 620px;
  background: rgba(16, 10, 38, 0.96);
  border: 2px solid var(--primary);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.9), 0 0 20px var(--primary-glow);
  z-index: 10000;
  display: none;
  backdrop-filter: blur(12px);
}

.cookie-banner-content h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--primary);
}

.cookie-banner-content p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 30px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
}

.cookie-accept {
  background: var(--primary);
  color: #000;
  border: none;
}

.cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--primary);
}

.cookie-reject {
  background: transparent;
  color: #FFF;
  border: 1px solid rgba(255,255,255,0.2);
}

.cookie-reject:hover {
  border-color: var(--accent-magenta);
  color: var(--accent-magenta);
}

.cookie-manage {
  background: rgba(255,255,255,0.06);
  color: #FFF;
  border: none;
}

/* Dynamic blog layout page */
.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-top: 60px;
}

.blog-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.blog-post-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-gold);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  box-shadow: 0 12px 35px rgba(0,0,0,0.4);
  transition: var(--transition-smooth);
}

.blog-post-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 15px 45px rgba(157, 78, 221, 0.25);
}

.blog-post-image {
  position: relative;
  overflow: hidden;
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-details {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 14px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.blog-post-details h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: #FFF;
}

.blog-post-details p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

/* Sidebar styling with Gold Crescent Accents */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sidebar-widget {
  background: var(--bg-surface);
  border: 2px solid var(--border-gold);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.sidebar-widget h4 {
  margin-bottom: 20px;
  color: var(--primary);
  border-bottom: 2px solid rgba(255, 215, 0, 0.2);
  padding-bottom: 10px;
}

.category-list {
  list-style: none;
}

.category-list li {
  margin-bottom: 14px;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.category-list a:hover {
  color: var(--accent-cyan);
}

/* Rich content layouts */
.rich-content-page {
  padding: 80px 0;
  max-width: 850px;
  margin: 0 auto;
}

.rich-content-page h2 {
  font-size: 2rem;
  margin: 45px 0 24px;
  color: var(--primary);
  border-bottom: 2px solid rgba(255,215,0,0.25);
  padding-bottom: 10px;
}

.rich-content-page h3 {
  font-size: 1.4rem;
  margin: 35px 0 18px;
  color: #FFF;
}

.rich-content-page p {
  margin-bottom: 24px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.rich-content-page ul {
  margin-bottom: 30px;
  padding-left: 28px;
}

.rich-content-page ul li {
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Keyframe Animations */
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 15px var(--primary)); }
}

/* Mobile Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-badge, .hero-actions {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  .about-experience-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  .menu-btn {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: calc(var(--header-height) + 36px); /* Adjusted for layout height balance */
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 40px;
    gap: 28px;
    border-bottom: 3px solid var(--primary);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 98;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .header-cta {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .blog-post-card {
    grid-template-columns: 1fr;
  }
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
}