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

/* ===============================
   Root Variables (colors, shadows)
   =============================== */
:root {
  --primary-color: #f9a743;
  --primary-gradient: linear-gradient(135deg, #f9a743 0%, #ffc947 100%);
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow-soft: 0 8px 32px rgba(31, 38, 135, 0.37);
  --shadow-glow: 0 0 40px rgba(249, 167, 68, 0.4);
  --text-primary: #3c2f38;
  --text-secondary: #7f8c8d;

  /* Brand gradients */
  --stakco-light-golden-sunrise: linear-gradient(135deg, #F9EA59 0%, #DFAC6D 100%);
  --stakco-light-warm-rose-glow: linear-gradient(135deg, #F9EA59 0%, #B83267 100%);
  --stakco-light-champagne-horizon: linear-gradient(135deg, #DFAC6D 0%, #D4984F 100%);
  --stakco-light-golden-berry: linear-gradient(135deg, #F9EA59 0%, #D4984F 50%, #B83267 100%);

  --stakco-dark-velvet-night: linear-gradient(135deg, #3C2F38 0%, #B83267 100%);
  --stakco-dark-deep-rosewood: linear-gradient(135deg, #3C2F38 0%, #D4984F 100%);
  --stakco-dark-royal-twilight: linear-gradient(135deg, #3C2F38 0%, #DFAC6D 100%);
  --stakco-dark-wine-gold: linear-gradient(135deg, #3C2F38 0%, #B83267 40%, #DFAC6D 100%);
}

/* ===============================
   Reset & Base
   =============================== */
/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ===============================
   Cursor (optional for all apps)
   =============================== */

.cursor {
  width: 20px;
  height: 20px;
  background: var(--primary-gradient);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  opacity: 0.8;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.3s ease;
  opacity: 0.3;
}

/* Hide cursor on touch devices */
@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
}

/* ===============================
   Common Buttons
   =============================== */

button {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-modern {
  background: var(--primary-gradient);
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin: 0.25rem 0.5rem 0.25rem 0;
}

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

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

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(249, 167, 68, 0.4);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
}

/* ===============================
   Utilities
   =============================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--text-primary);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(249, 167, 68, 0.3);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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