/* Copyright 2013 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

html, body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

.icon {
  -webkit-user-select: none;
  user-select: none;
  display: inline-block;
}

.icon-offline {
  content: -webkit-image-set( url(assets/default_100_percent/100-error-offline.png) 1x, url(assets/default_200_percent/200-error-offline.png) 2x);
  position: relative;
}

.hidden {
  display: none !important;
}


/* Offline page */

.offline .interstitial-wrapper {
  color: #2b2b2b;
  font-size: 1em;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 600px;
  padding-top: 0 !important;
  width: 100%;
  position: relative;
  height: 160px;
}

.offline .runner-container {
  height: 150px !important;
  max-width: 600px !important;
  width: 100% !important;
  overflow: hidden;
  position: relative !important;
  top: 0 !important;
  margin: 0 auto;
}

.offline .runner-canvas {
  height: 150px !important;
  max-width: 600px !important;
  opacity: 1;
  overflow: hidden;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 2;
}

#messageBox {
  margin-bottom: 16px;
  text-align: center;
}
#messageBox h1 {
  font-size: 16px;
  font-weight: 700;
  color: #64748b;
  margin: 0;
}
.dark-theme #messageBox h1 {
  color: #cbd5e1;
}

.offline .controller {
  background: rgba(247, 247, 247, .1);
  height: 100vh;
  left: 0;
  position: absolute;
  top: 0;
  width: 100vw;
  z-index: 1;
}

#offline-resources {
  display: none;
}

@media (max-width: 420px) {
  .suggested-left > #control-buttons, .suggested-right > #control-buttons {
    float: none;
  }
  .snackbar {
    left: 0;
    bottom: 0;
    width: 100%;
    border-radius: 0;
  }
}

@media (max-height: 350px) {
  h1 {
    margin: 0 0 15px;
  }
  .icon-offline {
    margin: 0 0 10px;
  }
  .interstitial-wrapper {
    margin-top: 5%;
  }
  .nav-wrapper {
    margin-top: 30px;
  }
}

@media (min-width: 600px) and (max-width: 736px) and (orientation: landscape) {
  .offline .interstitial-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 420px) and (max-width: 736px) and (min-height: 240px) and (max-height: 420px) and (orientation:landscape) {
  .interstitial-wrapper {
    margin-bottom: 100px;
  }
}

@media (min-height: 240px) and (orientation: landscape) {
  .offline .interstitial-wrapper {
    margin-bottom: 90px;
  }
  .icon-offline {
    margin-bottom: 20px;
  }
}

@media (max-height: 320px) and (orientation: landscape) {
  .icon-offline {
    margin-bottom: 0;
  }
  .offline .runner-container {
    top: 10px;
  }
}

@media (max-width: 240px) {
  .interstitial-wrapper {
    overflow: inherit;
    padding: 0 8px;
  }
}

.arcade-mode,
.arcade-mode .runner-container,
.arcade-mode .runner-canvas {
  image-rendering: pixelated;
  max-width: 100%;
  overflow: hidden;
}

.arcade-mode #buttons,
.arcade-mode #main-content {
  opacity: 0;
  overflow: hidden;
}

.arcade-mode .interstitial-wrapper {
  height: 100vh;
  max-width: 100%;
  overflow: hidden;
}

.arcade-mode .runner-container {
  left: 0;
  margin: auto;
  right: 0;
  transform-origin: top center;
  transition: transform 250ms cubic-bezier(0.4, 0, 1, 1) 400ms;
  z-index: 2;
}

/* Dynamic Theme System & Aesthetic Backgrounds */
body {
  transition: background 1s ease-in-out, color 1s ease-in-out;
  overflow: hidden;
  position: relative;
}

/* Floating Theme Badge */
.theme-badge {
  position: fixed;
  top: 15px;
  right: 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-theme .theme-badge {
  background: rgba(15, 23, 42, 0.85);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.theme-badge-score {
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.dark-theme .theme-badge-score {
  background: rgba(255, 255, 255, 0.18);
}

/* Toast Milestone Notification */
.milestone-toast {
  position: fixed;
  top: 65px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 101;
  pointer-events: none;
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
}

.milestone-toast.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(-25px);
}

/* Contrast adjustment for dark themes */
.dark-theme .runner-canvas {
  filter: invert(0.92) hue-rotate(180deg) drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
  transition: filter 0.8s ease-in-out;
}

.runner-canvas {
  transition: filter 0.8s ease-in-out;
}

/* ============================================================
   8 DISTINCT THEME BACKGROUNDS
   ============================================================ */

/* 0. 기본 (Default) */
body.bg-theme-default {
  background: #f7f7f7;
  color: #2b2b2b;
}

/* 1. 노을 (Sunset) */
body.bg-theme-sunset {
  background: linear-gradient(180deg, #1f1035 0%, #4a154b 25%, #8c2a5c 50%, #c44d4f 75%, #f38344 100%);
  color: #ffffff;
}

/* 2. 밤 (Night) */
body.bg-theme-night {
  background: linear-gradient(180deg, #030712 0%, #0b132b 50%, #1c2541 100%);
  color: #ffffff;
}

/* 3. 도시 (City) */
body.bg-theme-city {
  background: linear-gradient(180deg, #090d16 0%, #161b33 45%, #2e1065 100%);
  color: #ffffff;
}

/* 4. 사막 (Desert) */
body.bg-theme-desert {
  background: linear-gradient(180deg, #451a03 0%, #78350f 30%, #b45309 60%, #f59e0b 100%);
  color: #ffffff;
}

/* 5. 우주 (Space) */
body.bg-theme-space {
  background: radial-gradient(ellipse at bottom, #1e1b4b 0%, #090d16 65%, #02040a 100%);
  color: #ffffff;
}

/* 6. 비 (Rain) */
body.bg-theme-rain {
  background: linear-gradient(180deg, #0b131e 0%, #1e293b 50%, #334155 100%);
  color: #ffffff;
}

/* 7. 눈 (Snow) */
body.bg-theme-snow {
  background: linear-gradient(180deg, #0369a1 0%, #0284c7 45%, #38bdf8 75%, #bae6fd 100%);
  color: #0f172a;
}

/* Weather & Atmospheric Particles Layer */
.weather-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Raindrop style */
.rain-drop {
  position: absolute;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.7));
  width: 1.5px;
  height: 25px;
  opacity: 0.6;
  animation: fall-rain linear infinite;
}

@keyframes fall-rain {
  0% { transform: translateY(-30px) translateX(0); }
  100% { transform: translateY(105vh) translateX(-20px); }
}

/* Snowflake style */
.snow-flake {
  position: absolute;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  user-select: none;
  animation: fall-snow linear infinite;
}

@keyframes fall-snow {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(105vh) rotate(360deg); opacity: 0.2; }
}

/* Space Star style */
.space-star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle ease-in-out infinite alternate;
}

@keyframes twinkle {
  0% { opacity: 0.2; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.4); }
}

/* ============================================================
   GAME WRAPPER & CANVAS CONTAINER
   ============================================================ */

.game-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 60px);
  margin-top: 60px;
  padding: 40px 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.interstitial-wrapper {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

/* ============================================================
   USER AUTHENTICATION PORTAL (Login & Register)
   ============================================================ */

.auth-portal {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
  position: relative;
}

.auth-card-container {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 32px 28px;
  box-sizing: border-box;
  transition: all 0.4s ease;
}

.dark-theme .auth-card-container {
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  color: #f8fafc;
}

.auth-card-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
  margin-bottom: 12px;
  font-size: 28px;
}

.auth-main-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px 0;
  letter-spacing: -0.5px;
}

.auth-sub-title {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  font-weight: 600;
}
.dark-theme .auth-sub-title {
  color: #94a3b8;
}

/* Tabs Switcher */
.auth-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.05);
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 24px;
  gap: 4px;
}
.dark-theme .auth-tabs {
  background: rgba(255, 255, 255, 0.08);
}

.auth-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dark-theme .auth-tab {
  color: #94a3b8;
}

.auth-tab.active {
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.dark-theme .auth-tab.active {
  background: #1e293b;
  color: #f8fafc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Distinct Form Headers */
.form-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  margin-bottom: 20px;
}

.form-header h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 2px 0;
}
.form-header p {
  font-size: 12px;
  margin: 0;
  opacity: 0.85;
}

.form-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* LOGIN HEADER: Deep Indigo / Purple Theme */
.login-header {
  background: rgba(99, 102, 241, 0.1);
  color: #4f46e5;
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.login-header .form-header-icon {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
}
.dark-theme .login-header {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
}

/* REGISTER HEADER: Emerald / Cyan Theme */
.register-header {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.register-header .form-header-icon {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: white;
}
.dark-theme .register-header {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

/* Input Fields */
.input-group {
  margin-bottom: 16px;
}

.input-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #475569;
}
.dark-theme .input-group label {
  color: #cbd5e1;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  pointer-events: none;
}

.input-wrapper input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.9);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #1e293b;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.dark-theme .input-wrapper input {
  border-color: #334155;
  background: rgba(30, 41, 59, 0.7);
  color: #f8fafc;
}

.input-wrapper input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.readonly-wrapper input.readonly-input {
  background: rgba(0, 0, 0, 0.04);
  color: #64748b;
  font-weight: 600;
}
.dark-theme .readonly-wrapper input.readonly-input {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}

/* Submit Buttons */
.btn-auth {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  transition: all 0.3s ease;
}

.btn-login-submit {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}
.btn-login-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(99, 102, 241, 0.45);
}

.btn-register-submit {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}
.btn-register-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.45);
}

/* Alerts */
.auth-alert {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-alert.alert-error {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.dark-theme .auth-alert.alert-error {
  color: #fca5a5;
}

.auth-alert.alert-success {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.dark-theme .auth-alert.alert-success {
  color: #6ee7b7;
}

/* ============================================================
   SESSION HEADER BAR (Logged-in controls)
   ============================================================ */

.session-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  padding: 0 24px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}

.dark-theme .session-bar {
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}

.session-left .game-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: #6366f1;
}

.session-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-pill, .score-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.05);
  font-size: 13px;
  font-weight: 600;
}
.dark-theme .user-pill, .dark-theme .score-pill {
  background: rgba(255, 255, 255, 0.1);
}

.trophy-color {
  color: #f59e0b;
}

.btn-icon-text {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 12px;
  border: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ghost {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}
.btn-ghost:hover {
  background: rgba(99, 102, 241, 0.2);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
}

/* LEADERBOARD MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  box-sizing: border-box;
}

.modal-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  padding: 24px;
  box-sizing: border-box;
}
.dark-theme .modal-card {
  background: #1e293b;
  color: #f8fafc;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title-icon {
  color: #f59e0b;
}

.modal-header h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}

.btn-close {
  background: transparent;
  border: none;
  font-size: 24px;
  color: #94a3b8;
  cursor: pointer;
}

.leaderboard-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 8px;
  background: rgba(0, 0, 0, 0.03);
  font-weight: 600;
  font-size: 14px;
}
.dark-theme .leaderboard-item {
  background: rgba(255, 255, 255, 0.05);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  font-size: 13px;
  margin-right: 10px;
}

.rank-1 .rank-badge { background: #f59e0b; color: white; }
.rank-2 .rank-badge { background: #94a3b8; color: white; }
.rank-3 .rank-badge { background: #b45309; color: white; }

.btn-primary {
  width: 100%;
  padding: 12px;
  background: #6366f1;
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================================
   PAYMENT GATE MODAL (500-won Lifetime Pass)
   ============================================================ */

.payment-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.vip-badge {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.15));
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.dark-theme .vip-badge {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.2);
}

.crown-color {
  color: #f59e0b;
}

.payment-modal-card {
  max-width: 480px;
  text-align: center;
  padding: 36px 30px;
}

.payment-modal-header {
  margin-bottom: 24px;
}

.payment-crown-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.4);
  margin-bottom: 16px;
  font-size: 32px;
}

.payment-modal-header h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px 0;
}

.payment-modal-header p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}
.dark-theme .payment-modal-header p {
  color: #94a3b8;
}

.price-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
  border: 1.5px dashed #8b5cf6;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 24px;
}

.price-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #6366f1;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-amount-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-amount {
  font-size: 36px;
  font-weight: 900;
  color: #1e293b;
  font-family: 'Open Sans', sans-serif;
}
.dark-theme .price-amount {
  color: #f8fafc;
}

.price-currency {
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
}
.dark-theme .price-currency {
  color: #f8fafc;
}

.price-vat {
  font-size: 12px;
  color: #64748b;
  margin-left: 6px;
}

.payment-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  text-align: left;
}

.payment-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 10px;
}
.dark-theme .payment-features-list li {
  color: #cbd5e1;
}

.payment-features-list li i {
  color: #10b981;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.payment-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-toss-pay {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #0050ff, #3182f6);
  color: white;
  border: none;
  border-radius: 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(49, 130, 246, 0.35);
  transition: all 0.3s ease;
}
.btn-toss-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(49, 130, 246, 0.5);
}

.btn-test-pay {
  width: 100%;
  padding: 13px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  border-radius: 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
}
.btn-test-pay:hover {
  background: rgba(16, 185, 129, 0.22);
}
.dark-theme .btn-test-pay {
  color: #6ee7b7;
}

/* ============================================================
   GOOGLE OAUTH SOCIAL LOGIN
   ============================================================ */

.google-auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  margin: 20px 0 16px 0;
}

.google-auth-divider::before,
.google-auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.dark-theme .google-auth-divider::before,
.dark-theme .google-auth-divider::after {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.google-auth-divider span {
  padding: 0 12px;
}

.google-btn-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}




