/* ============================================
   =          CSS VARIABLES                  =
   ============================================ */
:root {
  /* Primary Colors */
  --togichu-black: #0a0a0a;
  --togichu-charcoal: #1a1a1a;
  --togichu-magenta: #df4078;
  --togichu-pink: #C771EA;
  --togichu-peach: #f5d5c8;
  --togichu-blush: #ffd9e3;

  /* Accent Colors */
  --togichu-burgundy: #6b3d2e;
  --togichu-maroon: #7a4d3d;
  --togichu-gold: #e8d4b8;

  /* Font Families */
  --font-grotesk: 'Space Grotesk', sans-serif;
  --font-inter: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

/* ============================================
   =          GLOBAL RESETS                  =
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background-color: var(--togichu-black);
  color: var(--togichu-peach);
  font-family: var(--font-inter);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   =          TYPOGRAPHY                     =
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-grotesk);
  font-weight: 700;
  color: var(--togichu-magenta);
}

h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 2.5rem; line-height: 1.3; }
h3 { font-size: 1.75rem; line-height: 1.4; }

p {
  font-size: 1rem;
  color: var(--togichu-peach);
  font-family: var(--font-inter);
}

a {
  color: var(--togichu-magenta);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--togichu-pink);
}

button {
  font-family: var(--font-mono);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

main {
  background-color: var(--togichu-black);
  min-height: 100vh;
}

/* ============================================
   =          UTILITY CLASSES                =
   ============================================ */
.gradient-title {
  font-family: var(--font-grotesk);
  font-size: 4.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff1493, #dd2e9d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.subtitle {
  font-family: var(--font-grotesk);
  font-size: 1.375rem;
  color: #32b8c6;
  font-weight: 500;
  margin: 0;
}

.animate-on-load {
  opacity: 0;
}

.animate-on-load * {
  opacity: 1;
}

/* ============================================
   =          NAVBAR STYLING                 =
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  background-color: var(--togichu-charcoal);
  border-bottom: 2px solid var(--togichu-magenta);
  z-index: 1000;
}

.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-grotesk);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--togichu-magenta);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.logo:hover {
  color: var(--togichu-pink);
}

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

.nav-links li a {
  color: var(--togichu-peach);
  font-family: var(--font-mono);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links li a:hover {
  color: var(--togichu-magenta);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--togichu-magenta);
  transition: width 0.3s ease;
}

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

/* Hamburger Menu (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 0.5rem;
  padding: 0;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--togichu-magenta);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   =        SCROLLBAR STYLING                =
   ============================================ */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--togichu-charcoal);
}

::-webkit-scrollbar-thumb {
  background-color: var(--togichu-magenta);
  border-radius: 6px;
  border: 3px solid var(--togichu-charcoal);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--togichu-pink);
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--togichu-magenta) var(--togichu-charcoal);
}

/* ============================================
   =        MOBILE RESPONSIVE (NAVBAR)       =
   ============================================ */
@media (max-width: 768px) {
  .gradient-title {
    font-size: 2.5rem;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background-color: var(--togichu-charcoal);
    border-bottom: 2px solid var(--togichu-magenta);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.active {
    max-height: 400px;
  }

  .hamburger {
    display: flex;
  }

  .hamburger span.active:nth-child(1) {
    transform: translateY(0.7rem) rotate(45deg);
  }

  .hamburger span.active:nth-child(2) {
    opacity: 0;
  }

  .hamburger span.active:nth-child(3) {
    transform: translateY(-0.7rem) rotate(-45deg);
  }

  .hamburger span.active {
    background-color: var(--togichu-peach);
  }

  .nav-links li {
    width: 100%;
    border-top: 1px solid var(--togichu-burgundy);
  }

  .nav-links li a {
    color: var(--togichu-peach);
    font-family: var(--font-mono);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
    position: relative;
    display: block;
    width: 100%;
    padding: 1rem 2rem;
  }

  .nav-links li a:hover {
    color: var(--togichu-magenta);
    background-color: rgba(255, 20, 147, 0.1);
  }

  .nav-links li a::after {
    display: none;
  }
}
