/* ==========================================================
   PRINCE & PRINSIP · GLOBAL DESIGN SYSTEM
   Editorial, Contemporary, Cinematic High-Contrast Aesthetic
   ========================================================== */

:root {
  --bg-primary: #070709;
  --bg-secondary: #0f0f13;
  --bg-card: #15151b;
  --bg-card-hover: #1c1c24;
  --bg-glass: rgba(15, 15, 19, 0.72);
  --bg-glass-heavy: rgba(7, 7, 9, 0.88);

  --text-primary: #f8f8fa;
  --text-secondary: #a2a2b0;
  --text-muted: #666675;
  --text-contrast: #070709;

  --red-primary: #c30e01;
  --red-bright: #e71a0d;
  --red-deep: #7f0800;
  --red-glow: rgba(195, 14, 1, 0.32);
  --red-soft: rgba(195, 14, 1, 0.12);

  --gold-accent: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.28);

  --plat: #e5e7eb;
  --gold: #eab308;
  --silver: #9ca3af;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-red: rgba(195, 14, 1, 0.4);

  --font-display: 'Anton', 'Syne', -apple-system, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s var(--ease-cinematic);
  --transition-slow: 0.7s var(--ease-cinematic);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --site-width: 1320px;
  --site-padding: clamp(1.25rem, 4vw, 3.5rem);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Film Grain Texture */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #23232b;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red-primary);
}

/* Universal Typography */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

p {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  line-height: 1.65;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* Layout Containers */
.site-wrap {
  width: 100%;
  max-width: var(--site-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-padding);
  padding-right: var(--site-padding);
}

.site-wrap-wide {
  width: 100%;
  max-width: 1540px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-padding);
  padding-right: var(--site-padding);
}

/* Editorial Scene Architecture */
.scene {
  position: relative;
  width: 100%;
  padding-top: clamp(4.5rem, 9vw, 9rem);
  padding-bottom: clamp(4.5rem, 9vw, 9rem);
}

.scene-viewport {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Eyebrows & Section Headers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--red-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red-bright);
}

.scene-header {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.scene-header.centered {
  text-align: center;
}

.scene-header.centered .eyebrow {
  justify-content: center;
}

.scene-sub {
  margin-top: 1rem;
  max-width: 620px;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  color: var(--text-secondary);
}

.scene-header.centered .scene-sub {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-red {
  background: var(--red-primary);
  color: #fff;
  box-shadow: 0 4px 20px var(--red-glow);
}

.btn-red:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(231, 26, 13, 0.45);
}

.btn-line {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-line:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--bg-primary);
  font-weight: 800;
}

.btn-white:hover {
  background: #f0f0f4;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.btn-editorial {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  color: #fff;
  letter-spacing: 0.12em;
}

.btn-editorial:hover {
  border-color: var(--red-primary);
  color: #fff;
  background: var(--red-soft);
  transform: translateY(-2px);
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.45;
  pointer-events: none;
  filter: grayscale(1);
}

/* Arrow micro-interaction */
.btn .arrow-icon {
  display: inline-block;
  transition: transform var(--transition-smooth);
}

.btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* Global Navigation Component */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 0;
  transition: padding var(--transition-smooth), background var(--transition-smooth), border-color var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.nav-header.scrolled {
  padding: 0.85rem 0;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-logo .accent {
  color: var(--red-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--red-primary);
  transition: width var(--transition-smooth);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  background: none;
  border: none;
  z-index: 10001;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

body.nav-open .nav-header {
  opacity: 0;
  pointer-events: none;
}

/* Mobile Nav Drawer — Editorial Magazine Overlay */
.mobile-nav-panel {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: radial-gradient(circle at 90% 10%, rgba(195, 14, 1, 0.12) 0%, transparent 60%), #070709;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  overflow-y: auto;
  box-sizing: border-box;
}

.mobile-nav-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile Nav Header (Top Bar with Logo and Close Button) */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-logo {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

.mobile-nav-close {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mobile-nav-close:hover,
.mobile-nav-close:active {
  background: rgba(195, 14, 1, 0.25);
  border-color: #c30e01;
  transform: scale(0.95);
}

.mobile-nav-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.mobile-nav-close span:first-child {
  transform: rotate(45deg);
}

.mobile-nav-close span:last-child {
  transform: rotate(-45deg);
}

/* Mobile Nav Body */
.mobile-nav-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 0;
}

.mobile-nav-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c30e01;
  margin-bottom: 1.25rem;
}

.mobile-nav-eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #c30e01;
  border-radius: 50%;
  box-shadow: 0 0 8px #c30e01;
}

.mobile-nav-panel .mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
}

.mobile-link-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: padding-left 0.2s ease, border-color 0.2s ease;
}

.mobile-link-item:hover,
.mobile-link-item:active {
  padding-left: 0.5rem;
  border-color: rgba(195, 14, 1, 0.4);
}

.mobile-link-item .link-idx {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #c30e01;
  width: 28px;
  flex-shrink: 0;
}

.mobile-link-item .link-label {
  font-family: var(--font-display, "Anton", sans-serif);
  font-size: clamp(2rem, 7vw, 2.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.02em;
  flex: 1;
  transition: color 0.2s ease;
}

.mobile-link-item:hover .link-label,
.mobile-link-item:active .link-label {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
}

.mobile-link-item .link-arrow {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-link-item:hover .link-arrow,
.mobile-link-item:active .link-arrow {
  color: #c30e01;
  transform: translate(3px, -3px);
}

/* Enter PRINSIP CTA in mobile drawer */
.mobile-nav-cta-wrap {
  width: 100%;
}

.btn-enter-prinsip-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background-color: #c30e01;
  color: #ffffff !important;
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 9999px;
  box-shadow: 0 8px 25px rgba(195, 14, 1, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
}

.btn-enter-prinsip-mobile:active {
  transform: scale(0.97);
  background-color: #a50b00;
}

.btn-enter-prinsip-mobile .cta-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.btn-enter-prinsip-mobile:hover .cta-arrow {
  transform: translateX(4px);
}

/* Mobile Nav Footer */
.mobile-nav-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.12em;
}

.mobile-nav-socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mobile-nav-socials a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.mobile-nav-socials a:hover {
  color: #c30e01;
}

.mobile-nav-credits {
  font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

/* Global Footer */
.site-footer {
  position: relative;
  background: #040405;
  border-top: 1px solid var(--border-subtle);
  padding: clamp(3rem, 6vw, 6rem) 0 2.5rem;
  overflow: hidden;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand h3 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  max-width: 380px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-columns {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: #fff;
}

/* Live Event Indicator Pill */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(195, 14, 1, 0.15);
  border: 1px solid rgba(195, 14, 1, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.live-pill .dot {
  width: 8px;
  height: 8px;
  background-color: var(--red-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red-bright);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Focus styles for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 4px;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .grain-overlay {
    display: none;
  }
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .footer-columns {
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  :root {
    --site-padding: 1.25rem;
  }
  .nav-actions .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.78rem;
  }
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-columns {
    width: 100%;
    justify-content: space-between;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
