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

:root {
  /* Image referenced colors */
  --bg-gradient-start: #FEFCE8; /* Very light yellow/cream */
  --bg-gradient-end: #FEF08A;   /* Soft warm yellow */
  
  --primary: #F59E0B;      /* Orange (Amber 500) */
  --primary-hover: #D97706; /* Darker Orange */
  --secondary: #FBBF24;    /* Yellow (Amber 400) */
  
  --text-main: #451A03;     /* Very dark brown/black for contrast */
  --text-muted: #78350F;    /* Muted dark brown */
  
  --card-bg: rgba(255, 255, 255, 0.7);
  --card-border: rgba(245, 158, 11, 0.2);
  --card-hover-bg: rgba(255, 255, 255, 0.95);
  --card-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  color: var(--text-main);
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Three.js Canvas Container */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Portal Specific Styles (kept clean but bold) */
#ui-layer {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
}

/* ---------------------------------------------------- */
/* A+C Direction: Editorial & 3D Scroll-telling Styles  */
/* ---------------------------------------------------- */

/* Huge Typography */
.text-huge {
  font-size: clamp(4rem, 12vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  font-weight: 800;
  text-transform: uppercase;
}

/* Text Stroke (Outline text) */
.text-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--primary);
}
.text-outline-white {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.4);
}
.text-outline-dark {
  color: transparent;
  -webkit-text-stroke: 2px var(--text-main);
}

/* Blend Modes for overlapping */
.blend-difference {
  mix-blend-mode: difference;
  color: white;
}

/* Asymmetrical Layout Utilities */
.asym-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
}
.absolute-text {
  position: absolute;
  pointer-events: none;
}
.z-top {
  z-index: 100;
}

/* Section Spacing for Scroll-telling */
.scroll-section {
  min-height: 120vh; /* Extra scroll space */
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

/* Cleaned up old cards */

/* Glass Header */
.glass-header {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

/* Glass Badge */
.glass-badge {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  backdrop-filter: blur(4px);
  color: var(--primary-hover);
}

/* Glass Card (General) */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s ease;
}

.glass-card:hover {
  background: var(--card-hover-bg);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.4);
}

/* 3D Glow Buttons */
.action-btn-primary {
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-3d-glow {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  z-index: 10;
}
.btn-3d-glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4), 0 0 15px rgba(245, 158, 11, 0.3) inset;
  background: var(--primary-hover);
}

.glass-btn {
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--text-main);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}
.glass-btn:hover {
  background: rgba(245, 158, 11, 0.1);
  transform: translateY(-3px);
}

/* GSAP Reveal */
.gsap-reveal {
  visibility: hidden;
}

/* Hide scrollbar for a cleaner look while using smooth scroll */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-gradient-start);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
}

@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    max-width: 100%;
    gap: 1.5rem;
  }
  
  .glass-card {
    padding: 1.5rem;
  }
  
  .action-btn-primary, .glass-btn {
    width: 100%;
    padding: 1rem;
  }
}

