/*
Theme Name: 강남도파민 (Gangnam Dopamine)
Theme URI: https://dopaminedo.com
Author: Dopamine Team
Author URI: https://dopaminedo.com
Description: 강남도파민 가라오케 프리미엄 글라스모피즘 렌딩페이지 워드프레스 테마
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gangnam-dopamine
Tags: karaoke, landing-page, glassmorphic, responsive, dark-theme
*/

/* ========================================================
   GANGNAM DOPAMINE KARAOKE - GLASSMORPHISM EDITION
   KOREAN FONTS: Gmarket Sans (Headings) & Noto Sans KR (Body)
   ENGLISH FONTS: JetBrains Mono, Cinzel, Syne, Space Grotesk, Inter
   ======================================================== */

/* 1. Global Font Imports - Must be at top */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:ital,wght@0,400;0,600;0,700;0,800;0,900;1,600;1,700&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Noto+Sans+KR:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700;800&family=Syne:wght@600;700;800&family=Caveat:wght@600;700&display=swap');

/* 2. Gmarket Sans Korean Webfont */
@font-face {
  font-family: 'GmarketSans';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GmarketSans';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GmarketSans';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-dark: #0a0c10;
  --accent-red: #d32f2f;
  --accent-red-hover: #b71c1c;
  --accent-red-light: rgba(211, 47, 47, 0.08);
  
  /* Glass Opacity Variables - Ultra Crystal 10% Opacity */
  --glass-1440-bg: rgba(255, 255, 255, 0.10);
  --glass-card-bg: rgba(255, 255, 255, 0.10);
  --glass-inner-bg: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-border-subtle: rgba(255, 255, 255, 0.30);
  --glass-dark-bg: rgba(18, 22, 30, 0.85);
  
  /* Stronger Right-Slanted Shadows */
  --shadow-right-strong: 14px 18px 36px -2px rgba(0, 0, 0, 0.32), 6px 8px 16px -2px rgba(0, 0, 0, 0.20);
  --shadow-right-hover: 18px 24px 48px -4px rgba(0, 0, 0, 0.42), 8px 10px 22px -2px rgba(0, 0, 0, 0.26);
  --shadow-box-strong: 10px 14px 26px -2px rgba(0, 0, 0, 0.26), 4px 6px 12px -1px rgba(0, 0, 0, 0.16);
}

/* Body & General Korean Text: Noto Sans KR (font-sans) */
body, p, span, a, input, select, textarea, button, label, li {
  font-family: 'Noto Sans KR', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  letter-spacing: -0.02em;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    linear-gradient(to bottom, rgba(10, 12, 16, 0.15), rgba(10, 12, 16, 0.30)),
    url('assets/bg-party.png');
  background-repeat: repeat-y;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  color: #1e2329;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Korean Headings, Section Titles, Room Names: Gmarket Sans */
h1, h2, h3, h4, h5, h6, .font-heading, .font-gmarket {
  font-family: 'GmarketSans', 'Noto Sans KR', sans-serif !important;
  letter-spacing: -0.025em;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace !important;
  letter-spacing: -0.025em;
}

.font-serif {
  font-family: 'Cinzel', Georgia, serif !important;
  letter-spacing: 0.035em;
}

.font-display {
  font-family: 'Syne', 'Space Grotesk', 'GmarketSans', sans-serif !important;
  letter-spacing: -0.02em;
}

.font-sans {
  font-family: 'Noto Sans KR', 'Inter', sans-serif !important;
}

/* 1440px Max-Width Glass Front Frame */
.main-wrapper-1440 {
  background: var(--glass-1440-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 36px;
  box-shadow: 20px 24px 60px -8px rgba(0, 0, 0, 0.45), 8px 10px 24px -4px rgba(0, 0, 0, 0.30);
  transition: all 0.3s ease;
}

/* Glassmorphism Header Bar */
.glass-header {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.80);
  box-shadow: 8px 12px 30px -4px rgba(0, 0, 0, 0.24);
}

/* Glassmorphism Social Cards */
.social-card {
  background: var(--glass-card-bg);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: var(--shadow-right-strong);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  color: rgba(255, 255, 255, 0.95);
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-right-hover);
  border-color: rgba(255, 255, 255, 0.95);
}

/* Inner Glass Content Boxes */
.glass-box {
  background: var(--glass-inner-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border-subtle);
  border-radius: 20px;
  box-shadow: var(--shadow-box-strong);
  color: rgba(255, 255, 255, 0.95);
}

/* High Contrast White Text Rules for Dark/Glass Cards and Sections */
h1, h2, h3, h4, h5, h6,
.social-card h1, .social-card h2, .social-card h3, .social-card h4,
.glass-box h1, .glass-box h2, .glass-box h3, .glass-box h4 {
  color: #ffffff !important;
}

p, span, label {
  color: rgba(255, 255, 255, 0.92);
}

.text-gray-900, .text-gray-800, .text-gray-700, .text-gray-600, .text-gray-500 {
  color: rgba(255, 255, 255, 0.92) !important;
}

.text-dopamine-red {
  color: #d32f2f !important;
}

/* Light Background Button Text Override */
a.bg-white span, a.bg-white\/90 span, a.bg-white\/95 span, button.bg-white span {
  color: #111827 !important;
}

/* Dark Glass Box */
.glass-dark-box {
  background: var(--glass-dark-bg);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 14px 18px 40px -4px rgba(0, 0, 0, 0.50);
}

/* Floating Bottom Action Dock */
.glass-dock {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 12px 18px 42px -4px rgba(0, 0, 0, 0.35);
}

/* Form Glass Input Controls */
.glass-input {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  border-radius: 14px;
  transition: all 0.25s ease;
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: #d32f2f;
  outline: none;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.25);
}

.glass-input option {
  background: #12161e;
  color: #ffffff;
}

/* Navigation Pills */
.tag-pill {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag-pill:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.90);
}

/* Room Showcase Tab Active State */
.room-tab.active {
  background: #d32f2f;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.35);
  border-color: transparent;
}

/* Live Pulse Animation */
.live-pulse {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.live-pulse::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background-color: rgba(16, 185, 129, 0.5);
  border-radius: 50%;
  animation: pulseExpand 1.8s infinite ease-out;
}

@keyframes pulseExpand {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Animated Moving Cyan/Mint Neon Glow Effect (#A5F4F7) */
@keyframes neonCyanGlowPulse {
  0%, 100% {
    text-shadow: 
      0 0 5px rgba(165, 244, 247, 0.95),
      0 0 12px rgba(165, 244, 247, 0.85),
      0 0 24px rgba(165, 244, 247, 0.65),
      0 0 42px rgba(165, 244, 247, 0.45);
    filter: drop-shadow(0 0 10px rgba(165, 244, 247, 0.75));
  }
  50% {
    text-shadow: 
      0 0 8px #A5F4F7,
      0 0 20px rgba(165, 244, 247, 0.95),
      0 0 40px rgba(165, 244, 247, 0.85),
      0 0 65px rgba(165, 244, 247, 0.70),
      0 0 95px rgba(165, 244, 247, 0.50);
    filter: drop-shadow(0 0 20px #A5F4F7);
  }
}

.neon-white-glow {
  animation: neonCyanGlowPulse 2.6s ease-in-out infinite;
}

/* Hero Watermark Title Character Outline Stroke */
.hero-watermark-title {
  -webkit-text-stroke: 1.5px #000000;
  paint-order: stroke fill;
}

/* FAQ Accordion Animation */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-content {
  max-height: 350px;
  opacity: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Toast Message */
#toast {
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

#toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Heart like animation */
.heart-btn.liked svg {
  fill: #d32f2f;
  stroke: #d32f2f;
  animation: heartPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

@media (max-width: 640px) {
  .main-wrapper-1440 {
    padding: 0.85rem 0.75rem !important;
    border-radius: 24px !important;
  }

  .hero-card-container {
    padding: 1.25rem 0.85rem 4.5rem 0.85rem !important;
    border-radius: 22px !important;
  }

  .hero-watermark-title {
    font-size: 2.85rem !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
  }

  .hero-main-title {
    font-size: 1.45rem !important;
    line-height: 1.2 !important;
    margin-top: 0.35rem !important;
    color: rgba(255, 255, 255, 0.50) !important;
  }

  .hero-capsule-card {
    padding: 1rem 0.85rem 0.85rem 0.85rem !important;
    margin-top: 0.35rem !important;
    margin-bottom: 1.15rem !important;
    border-radius: 18px !important;
  }

  .hero-capsule-card h2 {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    margin-top: 0.25rem !important;
  }

  .hero-capsule-card .font-mono {
    font-size: 0.68rem !important;
  }

  .hero-tag-pills-row {
    margin-top: 0.65rem !important;
    gap: 0.35rem !important;
  }

  .hero-tag-pills-row span {
    font-size: 0.62rem !important;
    padding: 0.2rem 0.45rem !important;
  }

  .hero-cta-btn {
    width: 100% !important;
    justify-content: center !important;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
    font-size: 0.82rem !important;
  }
}
