@charset "UTF-8";

/* -------------------------------------------------------------
   VALTHERS Official Website - Sporty Red / Black / Gold Theme
   柴犬×シールド ロゴ連動 エクストリーム・スポーツデザイン
------------------------------------------------------------- */

:root {
  /* Crimson / Fire Red */
  --color-primary: #DC2626;
  --color-primary-light: #EF4444;
  --color-primary-dark: #991B1B;
  --color-primary-glow: rgba(220, 38, 38, 0.5);

  /* Champion Gold */
  --color-gold: #D4AF37;
  --color-gold-light: #F6D860;
  --color-gold-dark: #A67C1E;
  --color-gold-glow: rgba(212, 175, 55, 0.45);

  /* Dark Knight / Obsidian */
  --color-bg-dark: #08080B;
  --color-bg-surface: #0E0E14;
  --color-card-bg: #14141C;
  --color-card-border: rgba(255, 255, 255, 0.08);
  --color-gold-border: rgba(212, 175, 55, 0.3);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--color-bg-dark);
  color: #F3F4F6;
  font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  letter-spacing: 0.02em;
}

/* Typography Enhancements */
.font-display {
  font-family: 'Oswald', 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.font-en {
  font-family: 'Montserrat', sans-serif;
}

/* Gold & Red Text Gradients */
.text-gold-gradient {
  background: linear-gradient(135deg, #FFF1B0 0%, #D4AF37 50%, #AA771C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-red-gradient {
  background: linear-gradient(135deg, #FF6B6B 0%, #DC2626 50%, #991B1B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Text Glows */
.text-glow-red {
  text-shadow: 0 0 25px rgba(239, 68, 68, 0.6);
}

.text-glow-gold {
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Background Gradients & Mesh */
.bg-mesh-dark {
  background: 
    radial-gradient(circle at 10% 15%, rgba(220, 38, 38, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.12) 0%, transparent 45%),
    #08080B;
}

.bg-hero-pattern {
  background-image: 
    linear-gradient(to bottom, rgba(8, 8, 11, 0.75), rgba(8, 8, 11, 0.96)),
    linear-gradient(135deg, rgba(220, 38, 38, 0.25) 0%, rgba(212, 175, 55, 0.1) 50%, transparent 80%);
}

.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}

.bg-speed-lines {
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 24px,
    rgba(220, 38, 38, 0.035) 24px,
    rgba(220, 38, 38, 0.035) 48px
  );
}

/* Sport Striped Accent Background */
.bg-court-lines {
  background-image: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
}

/* Card Styling & Glassmorphism with Dual Gold/Red accents */
.glass-card {
  background: rgba(18, 18, 25, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -10px rgba(220, 38, 38, 0.25), 0 0 20px rgba(212, 175, 55, 0.15);
}

.glass-card-gold {
  background: rgba(22, 20, 28, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 241, 176, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-gold:hover {
  border-color: rgba(212, 175, 55, 0.75);
  transform: translateY(-5px);
  box-shadow: 0 18px 40px -10px rgba(212, 175, 55, 0.3), 0 0 25px rgba(220, 38, 38, 0.2);
}

/* Shield Badge Border Outline */
.shield-border {
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
}

/* Buttons */
.btn-primary-sporty {
  position: relative;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 50%, #991B1B 100%);
  color: #FFFFFF;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.btn-primary-sporty::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), rgba(255, 226, 89, 0.4), transparent);
  transition: all 0.6s ease;
}

.btn-primary-sporty:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(220, 38, 38, 0.65), 0 0 20px rgba(212, 175, 55, 0.3);
  background: linear-gradient(135deg, #F87171 0%, #DC2626 50%, #B91C1C 100%);
}

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

.btn-primary-sporty:active {
  transform: translateY(0);
}

/* Gold Sporty Button */
.btn-gold-sporty {
  position: relative;
  background: linear-gradient(135deg, #F59E0B 0%, #D4AF37 50%, #A67C1E 100%);
  color: #0E0E14;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.45), 0 0 0 1px rgba(255, 241, 176, 0.4);
}

.btn-gold-sporty::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: all 0.6s ease;
}

.btn-gold-sporty:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.7);
  background: linear-gradient(135deg, #FCD34D 0%, #D4AF37 50%, #B45309 100%);
}

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

/* Red & Gold Dual Sport Bars */
.sport-bar-dual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.sport-bar-dual .bar-red {
  width: 38px;
  height: 4px;
  background: linear-gradient(90deg, #DC2626, #EF4444);
  border-radius: 2px;
}
.sport-bar-dual .bar-gold {
  width: 18px;
  height: 4px;
  background: linear-gradient(90deg, #D4AF37, #F6D860);
  border-radius: 2px;
}

/* Section Watermark */
.section-watermark {
  position: absolute;
  font-family: 'Oswald', sans-serif;
  font-weight: 900;
  font-size: clamp(4rem, 12vw, 13rem);
  color: rgba(255, 255, 255, 0.016);
  user-select: none;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
  text-transform: uppercase;
}

/* Mascot Logo Floating Effect */
@keyframes floatMascot {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.8deg);
  }
}

.animate-float-mascot {
  animation: floatMascot 5s ease-in-out infinite;
}

/* Pulse Subtle */
@keyframes pulseSubtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.02); }
}

.animate-pulse-subtle {
  animation: pulseSubtle 3s ease-in-out infinite;
}

/* Gold Glow Pulse for Badge */
@keyframes goldPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), 0 0 0 1px rgba(212, 175, 55, 0.4);
  }
  50% {
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.6), 0 0 0 1px rgba(246, 216, 96, 0.7);
  }
}

.animate-gold-pulse {
  animation: goldPulse 3.5s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #08080B;
}
::-webkit-scrollbar-thumb {
  background: #27272A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #DC2626;
}

/* Responsive iframe container for Google Calendar */
.calendar-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

@media (min-width: 768px) {
  .calendar-responsive {
    padding-bottom: 56.25%; /* 16:9 */
  }
}

.calendar-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Floating Mobile Quick Apply Bar */
.mobile-apply-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(14, 14, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(212, 175, 55, 0.35);
  padding: 10px 16px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

/* -------------------------------------------------------------
   Mobile Optimization
------------------------------------------------------------- */
@media (max-width: 640px) {
  body {
    font-size: 16px;
    line-height: 1.7;
    padding-bottom: 64px; /* Space for mobile floating bar */
  }
  
  .text-xs {
    font-size: 0.875rem !important; /* 14px */
    line-height: 1.35rem !important;
  }
  
  .text-sm {
    font-size: 0.95rem !important; /* ~15.2px */
    line-height: 1.5rem !important;
  }

  .inline-flex.rounded-full {
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  h2 {
    font-size: 1.85rem !important;
    line-height: 1.3 !important;
  }

  .glass-card {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}
