/* XCASINOHU — main.css (Global styles & Design System) */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Backgrounds */
  --color-bg-primary:    #0D0D1A;
  --color-bg-secondary:  #1A1A2E;
  --color-bg-card:       #16213E;
  --color-bg-input:      #0F0F20;

  /* Brand Colors */
  --color-gold:          #D4AF37;
  --color-gold-light:    #F0D060;
  --color-blue:          #4A90D9;
  --color-blue-light:    #7AB3E8;

  /* Text */
  --color-text-primary:  #FFFFFF;
  --color-text-secondary:#B0B0C8;
  --color-text-muted:    #6B7280;

  /* Status */
  --color-success:       #22C55E;
  --color-error:         #EF4444;
  --color-warning:       #F59E0B;

  /* Gradients */
  --gradient-gold:       linear-gradient(135deg, #D4AF37, #F0D060, #D4AF37);
  --gradient-hero:       linear-gradient(180deg, rgba(13,13,26,0.7) 0%, rgba(26,26,46,0.9) 100%);
  --gradient-card:       linear-gradient(145deg, #1A1A2E, #16213E);

  /* Shadows */
  --shadow-gold:         0 0 20px rgba(212, 175, 55, 0.3);
  --shadow-card:         0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover:        0 16px 48px rgba(0, 0, 0, 0.6);

  /* Transitions */
  --transition-fast:     0.2s ease;
  --transition-base:     0.3s ease;
  --transition-slow:     0.5s ease;

  /* Border Radius */
  --radius-sm:           6px;
  --radius-md:           12px;
  --radius-lg:           20px;
  --radius-pill:         50px;

  /* Fonts */
  --font-heading:        'Rajdhani', sans-serif;
  --font-body:           'Inter', sans-serif;
  
  --header-h:            76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--gradient-gold);
  color: var(--color-bg-primary);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  z-index: 99999;
  transition: top 0.2s ease;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.skip-link:focus {
  top: 20px;
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

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

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

a:hover {
  color: var(--color-gold-light);
}

/* Typography Scales */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 0.5em;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.3;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
  color: var(--color-text-secondary);
}

/* Base utility container */
.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
  position: relative;
}

.section--surface {
  background-color: var(--color-bg-secondary);
}

.is-hidden {
  display: none !important;
}

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

.brand-gold {
  color: var(--color-gold);
}

.brand-blue {
  color: var(--color-blue);
}
