/* ============================================
   R SHOP - Landing Page Styles
   Mobile-First Design (SP primary, PC enhanced)
   Theme: Dark Royal (Code Geass / Lelouch)
   ============================================ */

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

:root {
  --black: #0a0a0a;
  --black-light: #121212;
  --black-card: #161616;
  --gold: #C9A84C;
  --gold-light: #E8D48B;
  --gold-dark: #A67C2E;
  --purple: #8B5CF6;
  --purple-light: #A78BFA;
  --purple-dark: #6D28D9;
  --crimson: #DC2626;
  --crimson-dark: #991B1B;
  --white: #F5F5F5;
  --gray: #888;
  --gray-dark: #333;
  --font-display: 'Cinzel Decorative', 'Cinzel', serif;
  --font-heading: 'Cinzel', serif;
  --font-body: 'Noto Sans JP', 'Playfair Display', sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
button { -webkit-tap-highlight-color: transparent; }

/* Prevent double-tap zoom on interactive elements (keeps pinch zoom) */
a, button, input, select, textarea, label, [role="button"] {
  touch-action: manipulation;
}

/* --- Cursor Glow (PC only) --- */
.cursor-glow {
  display: none;
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
.cursor-glow.active { opacity: 1; }
@media (pointer: fine) { .cursor-glow { display: block; } }

/* --- Particle Canvas --- */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* --- Loading Screen --- */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loading-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.loading-crown {
  width: 72px;
  height: auto;
  animation: loadCrownFloat 2s ease-in-out infinite;
}
@keyframes loadCrownFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.loading-r {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--purple-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: loadRPulse 1.5s ease-in-out infinite;
}
@keyframes loadRPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}
.loading-bar-container {
  width: 160px;
  height: 2px;
  background: var(--gray-dark);
  border-radius: 2px;
  overflow: hidden;
}
.loading-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  border-radius: 2px;
  transition: width 0.3s ease;
}
.loading-text {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gray);
}

/* --- Navigation (Mobile-first) --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  padding: 14px 16px;
  padding-top: calc(14px + var(--safe-top));
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 16px;
  padding-top: calc(10px + var(--safe-top));
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo-r {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--gold);
}
.nav-links { display: none; }
.nav-link {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gray);
  transition: color 0.3s ease;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }
.nav-link-cta {
  color: var(--black) !important;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: 10px 24px;
  border-radius: 2px;
  font-weight: 700;
  transition: all 0.3s ease;
}
.nav-link-cta::after { display: none; }
.nav-link-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin: -10px;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  transition: all 0.3s ease;
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(10, 10, 10, 0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.mobile-menu.active { opacity: 1; visibility: visible; }
.mobile-menu-link {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 5px;
  color: var(--gray);
  transition: color 0.3s;
  padding: 12px 20px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.mobile-menu-link:hover,
.mobile-menu-link:active { color: var(--gold); }
.mobile-menu-cta {
  margin-top: 16px;
  color: var(--black) !important;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: 14px 36px;
  border-radius: 2px;
}

/* --- Hero Section (Mobile-first) --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
  z-index: 2;
}
.hero-geass-sigil {
  position: absolute;
  width: 320px;
  height: 320px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(220, 38, 38, 0.08);
  z-index: 2;
  animation: sigil-rotate 30s linear infinite;
}
.hero-geass-sigil::before {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.06);
  animation: sigil-rotate 20s linear infinite reverse;
}
.hero-geass-sigil::after {
  content: '';
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.06);
  animation: sigil-rotate 15s linear infinite;
}
@keyframes sigil-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
  width: 100%;
}
.hero-crown-wrapper {
  margin-bottom: 4px;
  animation: crownFloat 3s ease-in-out infinite;
}
.hero-crown {
  width: 100px;
  height: auto;
}
@keyframes crownFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-title {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1;
}
.hero-title-r {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--purple-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.3));
}
.hero-title-divider {
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}
.hero-title-text {
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: 10px;
  color: var(--gold);
  font-weight: 400;
}
.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--gray);
  text-transform: uppercase;
  padding: 0 10px;
}
.hero-subtitle-line {
  display: block;
  width: 24px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
  flex-shrink: 0;
}
.hero-subtitle-line:last-child {
  background: linear-gradient(to left, transparent, var(--gold));
}
.hero-desc {
  font-size: 14px;
  color: rgba(245, 245, 245, 0.6);
  line-height: 2;
  font-weight: 300;
  max-width: 600px;
  padding: 0 10px;
}
.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--black);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  min-height: 52px;
}
.hero-cta:active {
  transform: scale(0.97);
}
.hero-cta-shine {
  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.6s ease;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: fadeInUp 1s ease 2.5s both;
}
.hero-scroll-indicator span {
  font-family: var(--font-heading);
  font-size: 8px;
  letter-spacing: 3px;
  color: var(--gray);
}
.hero-scroll-mouse {
  width: 18px;
  height: 28px;
  border: 1.5px solid var(--gray);
  border-radius: 9px;
  position: relative;
}
.hero-scroll-wheel {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 5px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* --- Section Commons (Mobile-first) --- */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 20px;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-label {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  background: linear-gradient(135deg, var(--white), rgba(245,245,245,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(to right, var(--purple), var(--gold));
  margin: 20px auto 0;
}

/* --- About Section (Mobile-first) --- */
.about {
  position: relative;
  background: var(--black-light);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.about-card {
  background: var(--black-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 4px;
  padding: 36px 24px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--purple), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.about-card:hover::before { transform: scaleX(1); }
.about-card-icon {
  margin-bottom: 20px;
}
.about-card-icon svg {
  width: 40px;
  height: 40px;
}
.about-card-title {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 12px;
}
.about-card-text {
  font-size: 13px;
  line-height: 2;
  color: rgba(245, 245, 245, 0.5);
  font-weight: 300;
}

/* --- Exclusive Section (Mobile-first) --- */
.exclusive {
  position: relative;
  background: var(--black-light);
  overflow: hidden;
}
.exclusive-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
}
.exclusive-showcase {
  display: flex;
  justify-content: center;
  margin-bottom: 56px;
}
.exclusive-card-main {
  position: relative;
  width: 100%;
  max-width: 420px;
  perspective: 1000px;
}
.exclusive-card-glow {
  position: absolute;
  inset: -16px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  filter: blur(16px);
  animation: cardGlow 4s ease-in-out infinite;
}
@keyframes cardGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.exclusive-card-inner {
  position: relative;
  background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1a 50%, #1a1020 100%);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  padding: 28px 20px;
  overflow: hidden;
  transition: transform 0.6s ease;
}
.exclusive-card-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(201, 168, 76, 0.05), transparent, rgba(139, 92, 246, 0.05), transparent);
  animation: cardShimmer 6s linear infinite;
}
@keyframes cardShimmer {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.exclusive-card-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.exclusive-card-badge {
  font-family: var(--font-heading);
  font-size: 8px;
  letter-spacing: 3px;
  color: var(--gold);
}
.exclusive-card-logo {
  position: relative;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(135deg, var(--purple), var(--purple-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 24px rgba(139, 92, 246, 0.3));
}
.exclusive-card-name {
  position: relative;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
}
.exclusive-card-number {
  position: relative;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--gray);
  text-align: center;
  margin-bottom: 24px;
}
.exclusive-card-footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--gray);
}

/* Stats */
.exclusive-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-number::after { content: '+'; }
.stat-label {
  font-family: var(--font-heading);
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--gray);
  margin-top: 6px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, rgba(201, 168, 76, 0.2), transparent);
}

/* --- Register Section (Mobile-first) --- */
.register {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}
.register-bg-sigil {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(220, 38, 38, 0.04);
  animation: sigil-rotate 40s linear infinite;
}
.register-bg-sigil::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.04);
  animation: sigil-rotate 25s linear infinite reverse;
}
.register-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: rgba(22, 22, 22, 0.8);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  padding: 40px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.register-crown-wrapper {
  margin-bottom: 20px;
  animation: crownFloat 3s ease-in-out infinite;
}
.register-crown {
  width: 64px;
  height: auto;
}
.register-title {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 12px;
}
.register-subtitle {
  font-size: 14px;
  color: rgba(245, 245, 245, 0.6);
  line-height: 1.8;
  margin-bottom: 28px;
  font-weight: 300;
}
.register-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  text-align: left;
}
.register-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(245, 245, 245, 0.7);
}
.register-benefit svg {
  flex-shrink: 0;
}
.register-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
  min-height: 52px;
}
.register-btn:active {
  transform: scale(0.97);
}
.register-btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
  transition: left 0.6s ease;
}
.register-note {
  margin-top: 14px;
  font-size: 10px;
  color: var(--gray);
}

/* Email Login Form */
.email-login-toggle {
  margin-top: 16px;
  font-size: 12px;
  color: var(--gray);
}
.email-login-toggle a {
  color: var(--gray);
  transition: color 0.3s;
}
.email-login-toggle a:hover {
  color: var(--gold);
}
.email-login-toggle-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.email-login-view {
  width: 100%;
}
.email-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  text-align: left;
}
.email-login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.email-login-label {
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(245, 245, 245, 0.6);
  font-weight: 500;
}
.email-login-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.email-login-input::placeholder {
  color: rgba(245, 245, 245, 0.25);
}
.email-login-input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}
.email-login-password-wrap {
  position: relative;
}
.email-login-password-wrap .email-login-input {
  padding-right: 48px;
}
.email-login-pw-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--gray);
  transition: color 0.3s;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.email-login-pw-toggle:hover {
  color: var(--gold);
}
.email-login-error {
  font-size: 13px;
  color: var(--crimson);
  min-height: 0;
  transition: min-height 0.3s;
  line-height: 1.5;
}
.email-login-error:empty {
  display: none;
}
.email-login-btn {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--black);
  font-weight: 700;
}
.email-login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.email-login-btn .email-login-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(10, 10, 10, 0.3);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Security Notice */
.security-notice {
  margin-top: 24px;
  padding: 16px;
  background: rgba(220, 38, 38, 0.04);
  border: 1px solid rgba(220, 38, 38, 0.12);
  border-radius: 4px;
  text-align: left;
}
.security-notice-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.security-notice-icon {
  color: rgba(220, 38, 38, 0.6);
  flex-shrink: 0;
}
.security-notice-title {
  font-family: var(--font-heading);
  font-size: 8px;
  letter-spacing: 3px;
  color: rgba(220, 38, 38, 0.7);
}
.security-notice-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.security-notice-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: rgba(245, 245, 245, 0.45);
  line-height: 1.5;
}
.security-notice-list li::before {
  content: '';
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.5);
  flex-shrink: 0;
}
.security-notice-warn {
  font-size: 9px;
  line-height: 1.7;
  color: rgba(220, 38, 38, 0.55);
  padding-top: 10px;
  border-top: 1px solid rgba(220, 38, 38, 0.08);
}

/* --- Footer (Mobile-first) --- */
.footer {
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding: 36px 20px;
  padding-bottom: calc(36px + var(--safe-bottom));
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo-r {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--gold);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.footer-links a {
  font-size: 11px;
  color: var(--gray);
  transition: color 0.3s;
  padding: 4px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-links a:hover,
.footer-links a:active { color: var(--gold); }
.footer-copy {
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--gray-dark);
}

/* --- Reveal Animations --- */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-up.revealed, .reveal-left.revealed, .reveal-right.revealed {
  opacity: 1;
  transform: translate(0, 0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================
   PC Enhancement (min-width: 769px)
   ================================================ */
@media (min-width: 769px) {
  .nav { padding: 20px 40px; }
  .nav.scrolled { padding: 12px 40px; }
  .nav-left { gap: 16px; }
  .nav-logo-r { font-size: 28px; }
  .nav-logo-text { font-size: 14px; letter-spacing: 6px; }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
  }

  .loading-crown { width: 100px; }
  .loading-r { font-size: 72px; }
  .loading-bar-container { width: 200px; }

  .hero-geass-sigil { width: 600px; height: 600px; }
  .hero-geass-sigil::before { inset: 40px; }
  .hero-geass-sigil::after { inset: 80px; }
  .hero-content { gap: 24px; }
  .hero-crown { width: 160px; }
  .hero-title { gap: 20px; }
  .hero-title-r { font-size: clamp(100px, 14vw, 160px); }
  .hero-title-divider { height: 60px; width: 2px; }
  .hero-title-text { font-size: clamp(28px, 4vw, 48px); letter-spacing: 16px; }
  .hero-subtitle { font-size: clamp(11px, 1.5vw, 14px); letter-spacing: 4px; gap: 16px; }
  .hero-subtitle-line { width: 40px; }
  .hero-desc { font-size: clamp(14px, 1.8vw, 18px); }
  .hero-cta { padding: 18px 48px; font-size: 13px; letter-spacing: 4px; }
  .hero-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 40px rgba(201, 168, 76, 0.3); }
  .hero-cta:hover .hero-cta-shine { left: 100%; }

  .section-container { padding: 120px 40px; }
  .section-header { margin-bottom: 80px; }
  .section-title { font-size: clamp(28px, 4vw, 44px); }
  .section-line { width: 60px; }

  .about-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .about-card { padding: 48px 32px; }
  .about-card:hover { transform: translateY(-4px); border-color: rgba(201, 168, 76, 0.2); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3); }
  .about-card-icon svg { width: 48px; height: 48px; }
  .about-card-title { font-size: 14px; letter-spacing: 4px; }
  .about-card-text { font-size: 14px; }

  .exclusive-showcase { margin-bottom: 80px; }
  .exclusive-card-inner { padding: 40px; }
  .exclusive-card-badge { font-size: 10px; letter-spacing: 4px; }
  .exclusive-card-logo { font-size: 80px; }
  .exclusive-card-name { font-size: 16px; letter-spacing: 8px; }
  .exclusive-card-number { font-size: 14px; letter-spacing: 6px; }
  .exclusive-card-footer { font-size: 9px; letter-spacing: 3px; }
  .exclusive-stats { gap: 48px; }
  .stat-number { font-size: clamp(36px, 5vw, 56px); }
  .stat-label { font-size: 10px; letter-spacing: 3px; }
  .stat-divider { height: 48px; }

  .register-content { padding: 64px 48px; }
  .register-crown { width: 90px; }
  .register-title { font-size: clamp(24px, 4vw, 36px); letter-spacing: 8px; }
  .register-subtitle { font-size: 15px; }
  .register-btn { padding: 18px 32px; }
  .register-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255, 255, 255, 0.15); }
  .register-btn:hover .register-btn-shine { left: 100%; }

  .email-login-toggle { font-size: 13px; }
  .email-login-input { padding: 16px 18px; }
  .email-login-btn { padding: 18px 32px; }
  .email-login-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201, 168, 76, 0.25); }
  .email-login-btn:hover .register-btn-shine { left: 100%; }

  .security-notice { padding: 20px 24px; }
  .security-notice-title { font-size: 9px; letter-spacing: 4px; }
  .security-notice-list li { font-size: 11px; }
  .security-notice-warn { font-size: 10px; }

  .footer { padding: 48px 40px; }
  .footer-links { gap: 24px; }
  .footer-links a { font-size: 12px; }
}
