/* ======================
   OPTIMO LAB — Premium Design System
   Dark Luxury Theme
   ====================== */

/* ---- Design Tokens (Light Mode — Default) ---- */
:root {
  --bg-0: #FAFAFA;
  --bg-1: #F4F4F9;
  --bg-2: #EEEEF6;
  --surface: rgba(0,0,0,0.04);
  --surface-hover: rgba(0,0,0,0.07);
  --border: rgba(0,0,0,0.09);
  --border-hover: rgba(201,168,76,0.5);

  --text: #17172B;
  --text-muted: rgba(23,23,43,0.58);
  --text-faint: rgba(23,23,43,0.28);

  --gold: #C9A84C;
  --gold-light: #E8C660;
  --gold-dim: rgba(201,168,76,0.12);
  --blue: #4A7FE8;
  --teal: #22C5B0;
  --red: #E05252;

  --grad-gold: linear-gradient(135deg, #C9A84C 0%, #E8C660 100%);
  --grad-dark: linear-gradient(135deg, #EEEEF6, #E0E0F0);
  --grad-hero: linear-gradient(135deg, #FAFAFE 0%, #F3F0FF 40%, #EDF2FF 100%);

  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.14);
  --shadow-gold: 0 0 40px rgba(201,168,76,0.15);

  --nav-scrolled-bg: rgba(252,252,255,0.92);
  --nav-scrolled-shadow: 0 4px 20px rgba(0,0,0,0.08);
  --hero-grid-line: rgba(0,0,0,0.05);
  --card-bg: #FFFFFF;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.18s ease;

  /* Legacy compat vars */
  --primary-color: #F4F4F9;
  --secondary-color: #C9A84C;
  --accent-color: #4A7FE8;
  --text-dark: #17172B;
  --text-light: rgba(23,23,43,0.58);
  --bg-light: rgba(0,0,0,0.04);
  --bg-white: #FAFAFA;
  --border-color: rgba(0,0,0,0.09);
  --success-color: #22C5B0;
  --warning-color: #E8C660;
  --danger-color: #E05252;
  --shadow-sm-old: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md-old: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg-old: 0 20px 60px rgba(0,0,0,0.14);
}

/* ---- Dark Mode Overrides ---- */
body.dark-mode {
  --bg-0: #05050D;
  --bg-1: #0A0A18;
  --bg-2: #0F0F22;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.09);
  --border-hover: rgba(201,168,76,0.4);

  --text: #EEEEF8;
  --text-muted: rgba(238,238,248,0.5);
  --text-faint: rgba(238,238,248,0.25);

  --gold-dim: rgba(201,168,76,0.15);
  --blue: #5B8EF5;
  --teal: #2DD4BF;

  --grad-dark: linear-gradient(135deg, #0A0A18, #1A1A35);
  --grad-hero: linear-gradient(135deg, #05050D 0%, #0F0F28 40%, #1A0F28 100%);

  --shadow-sm: 0 2px 12px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);

  --nav-scrolled-bg: rgba(5,5,13,0.85);
  --nav-scrolled-shadow: 0 4px 32px rgba(0,0,0,0.5);
  --hero-grid-line: rgba(255,255,255,0.025);
  --card-bg: #13132A;

  /* Legacy compat vars */
  --primary-color: #0A0A18;
  --text-dark: #EEEEF8;
  --text-light: rgba(238,238,248,0.5);
  --bg-light: rgba(255,255,255,0.04);
  --bg-white: #0A0A18;
  --border-color: rgba(255,255,255,0.09);
  --shadow-sm-old: 0 2px 12px rgba(0,0,0,0.4);
  --shadow-md-old: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg-old: 0 20px 60px rgba(0,0,0,0.6);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', -apple-system, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Progress Bar ---- */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-gold);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ======================
   NAVIGATION
   ====================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 0;
  box-shadow: var(--nav-scrolled-shadow);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-brand i { color: var(--gold); }

.nav-brand span {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: calc(100% - 2rem);
}

.admin-link {
  background: rgba(201,168,76,0.12) !important;
  border: 1px solid rgba(201,168,76,0.25) !important;
  color: var(--gold) !important;
  border-radius: var(--radius-sm) !important;
}

.admin-link::after { display: none !important; }

.admin-link:hover {
  background: rgba(201,168,76,0.2) !important;
  color: var(--gold-light) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: 0.25rem;
}

/* Theme Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(20deg) scale(1.1);
  background: var(--gold-dim);
}

body.dark-mode .theme-toggle .icon-moon { display: none; }
body:not(.dark-mode) .theme-toggle .icon-sun { display: none; }

/* ======================
   HERO
   ====================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--grad-hero);
}

/* Animated gradient orbs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero::before {
  width: 700px; height: 700px;
  top: -200px; right: -200px;
  background: radial-gradient(ellipse, rgba(91,142,245,0.12) 0%, transparent 70%);
  animation: heroOrb1 12s ease-in-out infinite alternate;
}

.hero::after {
  width: 600px; height: 600px;
  bottom: -150px; left: -150px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.1) 0%, transparent 70%);
  animation: heroOrb2 15s ease-in-out infinite alternate;
}

@keyframes heroOrb1 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(80px, 60px) scale(1.15); }
}

@keyframes heroOrb2 {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-60px, -80px) scale(1.2); }
}

/* Grid lines background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 120px 24px 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1.25rem;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-badge i { font-size: 0.75rem; }

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-title .highlight {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}

.hero-stat h3 {
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-faint);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scrollLine 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.8; transform: translateX(-50%) translateY(8px); }
}

@keyframes scrollLine {
  0%, 100% { opacity: 0; transform: scaleY(0); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ======================
   BUTTONS
   ====================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition-fast);
}

.btn:hover::after { background: rgba(255,255,255,0.06); }

.btn-primary {
  background: var(--grad-gold);
  color: #0A0A18;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(201,168,76,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.5);
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--bg-0);
  font-weight: 700;
}

.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
  font-weight: 700;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(188,24,136,0.4);
}

.btn-block { width: 100%; justify-content: center; }

.btn-danger {
  background: rgba(224,82,82,0.15);
  border: 1px solid rgba(224,82,82,0.3);
  color: var(--red);
}

.btn-danger:hover {
  background: var(--red);
  color: white;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
}

/* ======================
   SECTION COMMONS
   ====================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4rem 1rem;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ======================
   SERVICES
   ====================== */
.services {
  padding: 120px 0;
  background: var(--bg-0);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--shadow-gold);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 72px; height: 72px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 1.75rem;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(201,168,76,0.2);
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.service-card > p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.service-features {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-features li {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-features i {
  color: var(--gold);
  font-size: 0.75rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ======================
   FEATURES / WHY US
   ====================== */
.features {
  padding: 120px 0;
  background: var(--bg-1);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.feature-item:hover {
  border-color: rgba(201,168,76,0.25);
  transform: translateY(-4px);
}

.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.5rem;
  background: var(--gold-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.6rem;
  transition: transform var(--transition);
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
}

.feature-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ======================
   GALLERY PREVIEW
   ====================== */
.gallery-preview {
  padding: 120px 0;
  background: var(--bg-0);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,13,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay h3 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.gallery-item-overlay .category {
  display: inline-block;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.gallery-item .source-badge {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: white;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.gallery-item .source-badge.youtube { background: rgba(255,0,0,0.8); }
.gallery-item .source-badge.instagram { background: rgba(195,0,142,0.8); }
.gallery-item .source-badge.naver { background: rgba(3,199,90,0.8); }

/* YouTube play overlay */
.gallery-item.youtube-card::after {
  content: '\f144';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: rgba(255,0,0,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  transition: all var(--transition);
  line-height: 56px;
  text-align: center;
  z-index: 2;
}

.gallery-item.youtube-card:hover::after {
  background: rgba(255,0,0,1);
  transform: translate(-50%, -50%) scale(1.1);
}

.gallery-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ======================
   BLOG SECTION
   ====================== */
.blog-section {
  padding: 120px 0;
  background: var(--bg-1);
}

.blog-content { margin-top: 0; }

.blog-intro {
  display: block;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
  color: inherit;
  text-decoration: none;
}

.blog-intro:hover {
  border-color: rgba(3,199,90,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(3,199,90,0.1), var(--shadow-md);
  background: var(--surface-hover);
}

.blog-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #03C75A, #029647);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 1.5rem;
}

.blog-intro h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.blog-intro p { color: var(--text-muted); line-height: 1.7; }

.blog-topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.topic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.topic-card:hover {
  border-color: rgba(201,168,76,0.25);
  transform: translateY(-4px);
}

.topic-icon {
  width: 56px; height: 56px;
  background: var(--gold-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0 auto 1rem;
}

.topic-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.topic-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

.blog-cta {
  text-align: center;
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.blog-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: rgba(91,142,245,0.1);
  border: 1px solid rgba(91,142,245,0.2);
  border-radius: var(--radius-md);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.blog-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ======================
   CTA
   ====================== */
.cta {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(91,142,245,0.06));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-content { position: relative; z-index: 1; }

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.cta-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ======================
   FOOTER
   ====================== */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-section h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-section > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.footer-section ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.footer-section ul li {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-section ul li i { color: var(--gold); font-size: 0.8rem; }

.footer-section a:hover { color: var(--gold); }

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  width: 42px; height: 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--gold-dim);
  border-color: rgba(201,168,76,0.3);
  color: var(--gold);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* ======================
   PAGE HEADER
   ====================== */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.08), transparent);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
  position: relative;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  position: relative;
}

.page-header-social {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.social-label {
  font-size: 0.85rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.social-icons-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover { transform: translateY(-2px); }

.social-icon-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  color: white;
}

.social-icon-btn.naver-blog:hover {
  background: #03C75A;
  border-color: transparent;
  color: white;
}

.social-icon-btn.youtube:hover {
  background: #FF0000;
  border-color: transparent;
  color: white;
}

/* ======================
   GALLERY PAGE
   ====================== */
.gallery-section {
  padding: 40px 0 100px;
  background: var(--bg-0);
}

/* Source Tabs */
.gallery-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-tab:hover { border-color: rgba(201,168,76,0.3); color: var(--text); }

.gallery-tab.active {
  background: var(--grad-gold);
  border-color: transparent;
  color: #0A0A18;
}

.gallery-tab .tab-count {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Filter Buttons (category) */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover { border-color: rgba(201,168,76,0.3); color: var(--text); }

.filter-btn.active {
  background: var(--grad-gold);
  border-color: transparent;
  color: #0A0A18;
  font-weight: 700;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

/* Naver card style */
.gallery-item.naver-card {
  aspect-ratio: unset;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.gallery-item.naver-card:hover {
  border-color: rgba(3,199,90,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.naver-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-2);
  overflow: hidden;
  flex-shrink: 0;
}

.naver-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.naver-card:hover .naver-card-thumb img { transform: scale(1.05); }

.naver-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.naver-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.naver-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.naver-card-date {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-top: auto;
}

.naver-card-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #03C75A;
  font-weight: 600;
}

/* Instagram card style */
.gallery-item.instagram-card {
  aspect-ratio: 1;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.gallery-item.instagram-card:hover {
  border-color: rgba(195,0,142,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

.empty-state i {
  font-size: 3.5rem;
  color: var(--gold-dim);
  margin-bottom: 1.5rem;
  display: block;
}

.empty-state h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.empty-state p { font-size: 0.95rem; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.page-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-btn:hover {
  border-color: rgba(201,168,76,0.3);
  color: var(--gold);
}

.page-btn.active {
  background: var(--grad-gold);
  border-color: transparent;
  color: #0A0A18;
  font-weight: 700;
}

.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ======================
   GALLERY MODAL
   ====================== */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.gallery-modal.active { display: block; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
}

.gallery-modal .modal-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 50%;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-close:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
  transform: rotate(90deg);
}

.modal-body {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 1000px;
  max-height: 88vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  position: relative;
  z-index: 1;
  width: 100%;
}

.modal-image { position: relative; min-height: 300px; }

.modal-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

/* YouTube embed modal */
.modal-video {
  position: relative;
  min-height: 300px;
  background: #000;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden;
}

.modal-video iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

.modal-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-info h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.modal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.35rem 0.875rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.modal-category {
  background: var(--gold-dim) !important;
  border-color: rgba(201,168,76,0.3) !important;
  color: var(--gold) !important;
  font-weight: 600;
}

.modal-description {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.92rem;
  flex: 1;
}

.modal-source-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.modal-source-link:hover {
  border-color: var(--border-hover);
  color: var(--gold);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 5;
}

.modal-nav:hover {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.4);
  color: var(--gold);
}

.modal-prev { left: 16px; }
.modal-next { right: 16px; }

/* ======================
   CONTACT PAGE
   ====================== */
.contact-section {
  padding: 60px 0 100px;
  background: var(--bg-0);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  height: fit-content;
}

.contact-info h2 { color: var(--text); margin-bottom: 0.75rem; font-weight: 700; }
.contact-info > p { color: var(--text-muted); margin-bottom: 2.5rem; }

.info-items { display: flex; flex-direction: column; gap: 1.75rem; }

.info-item { display: flex; gap: 1rem; align-items: flex-start; }

.info-icon {
  width: 48px; height: 48px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.info-content h4 { color: var(--text); margin-bottom: 0.25rem; font-size: 0.9rem; }
.info-content p { color: var(--text-muted); font-size: 0.9rem; }

.social-links-contact {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.social-links-contact a {
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.social-links-contact a:hover {
  background: var(--gold-dim);
  border-color: rgba(201,168,76,0.3);
  color: var(--gold);
  transform: translateY(-2px);
}

.contact-form-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.contact-form-wrapper h2 { color: var(--text); margin-bottom: 0.5rem; font-weight: 700; }

.form-description { color: var(--text-muted); margin-bottom: 2rem; }

.contact-form .form-group { margin-bottom: 1.5rem; }

.form-section-title {
  margin: 2rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.form-section-title h3 {
  color: var(--text);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-title h3 i { color: var(--gold); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.9rem;
}

.contact-form label i { color: var(--gold); margin-right: 5px; }
.contact-form small { display: block; margin-top: 0.5rem; color: var(--text-muted); font-size: 0.82rem; }

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  transition: all var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(201,168,76,0.4);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}

.contact-form select option { background: var(--bg-1); color: var(--text); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.required { color: var(--gold); }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: normal !important;
  color: var(--text-muted) !important;
  font-size: 0.9rem !important;
}

.checkbox-label input[type="checkbox"] { width: auto; margin-top: 3px; accent-color: var(--gold); }

.form-helper { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1rem; margin-top: -0.5rem; }

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.checkbox-section {
  background: rgba(255,255,255,0.02);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.checkbox-section-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.checkbox-section .checkbox-label {
  margin-bottom: 0.6rem;
  padding: 0.3rem;
  border-radius: 4px;
  transition: background var(--transition-fast);
}

.checkbox-section .checkbox-label:hover { background: rgba(201,168,76,0.05); }

.quantity-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.quantity-input-group {
  background: rgba(255,255,255,0.02);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.quantity-input-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.photo-upload-container { margin-top: 1rem; }

.btn-photo-upload {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: rgba(91,142,245,0.12);
  border: 1px solid rgba(91,142,245,0.25);
  color: var(--blue);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-photo-upload:hover { background: rgba(91,142,245,0.2); }

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.photo-preview-item {
  position: relative;
  padding-bottom: 100%;
  background: var(--bg-2);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.photo-preview-item img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.photo-preview-item .remove-photo {
  position: absolute;
  top: 4px; right: 4px;
  width: 24px; height: 24px;
  background: rgba(224,82,82,0.9);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.form-message {
  display: none;
  padding: 2rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.form-message.success {
  background: rgba(45,212,191,0.08);
  border: 1px solid rgba(45,212,191,0.2);
  color: var(--teal);
}

.form-message.error {
  background: rgba(224,82,82,0.08);
  border: 1px solid rgba(224,82,82,0.2);
  color: var(--red);
}

.form-message i { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.form-message h3 { margin-bottom: 0.5rem; }

/* ======================
   LOGIN PAGE
   ====================== */
.login-section {
  min-height: calc(100vh - 80px);
  padding: 80px 0;
  display: flex;
  align-items: center;
}

.login-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3rem;
  border-radius: var(--radius-lg);
}

.login-header { text-align: center; margin-bottom: 2.5rem; }

.login-header i { font-size: 2.5rem; color: var(--gold); margin-bottom: 1rem; display: block; }

.login-header h2 { color: var(--text); margin-bottom: 0.5rem; font-weight: 700; }

.login-header p { color: var(--text-muted); font-size: 0.9rem; }

.login-form .form-group { margin-bottom: 1.5rem; }

.login-form label { display: block; margin-bottom: 0.5rem; color: var(--text); font-size: 0.9rem; }

.login-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.login-form input:focus {
  outline: none;
  border-color: rgba(201,168,76,0.4);
}

.password-input-wrapper { position: relative; }

.toggle-password {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.toggle-password:hover { color: var(--gold); }

.alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.alert.show { display: flex; }

.alert-error {
  background: rgba(224,82,82,0.08);
  border: 1px solid rgba(224,82,82,0.2);
  color: var(--red);
}

.login-footer { margin-top: 2rem; text-align: center; color: var(--text-muted); font-size: 0.85rem; }

.login-info { display: flex; flex-direction: column; gap: 1.5rem; }

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.info-card i { font-size: 2rem; color: var(--gold); margin-bottom: 1rem; display: block; }
.info-card h3 { color: var(--text); margin-bottom: 0.5rem; }
.info-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ======================
   LOADING
   ====================== */
.loading-spinner {
  text-align: center;
  padding: 4rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

.loading-spinner i { font-size: 2rem; margin-bottom: 1rem; color: var(--gold); display: block; }

.shimmer {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.03) 25%,
    rgba(255,255,255,0.06) 50%,
    rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmerAnim 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmerAnim {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.text-center { text-align: center; }

/* ======================
   ANIMATIONS
   ====================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.fa-spin { animation: spin 1s linear infinite; }

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 1024px) {
  .contact-wrapper { grid-template-columns: 1fr; }
  .login-wrapper { grid-template-columns: 1fr; }
  .login-info { display: none; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-1);
    border-left: 1px solid var(--border);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    gap: 0.25rem;
    backdrop-filter: blur(24px);
    z-index: 999;
  }

  .nav-menu.active { right: 0; }
  .nav-toggle { display: block; z-index: 1001; }
  .theme-toggle { z-index: 1001; }

  .hero-stats { gap: 2rem; }
  .modal-body { grid-template-columns: 1fr; max-height: 85vh; }
  .modal-image img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 280px; }
  .modal-video { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

  .form-row { grid-template-columns: 1fr; }

  .gallery-actions,
  .cta-buttons,
  .blog-buttons,
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons { align-items: center; }

  .modal-prev { left: 8px; }
  .modal-next { right: 8px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper,
  .login-card {
    padding: 1.75rem;
  }

  .hero-stat { display: none; }
  .hero-stats { display: none; }
}
