/* 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;
}


/* Offline page */

.offline .interstitial-wrapper {
  color: #2b2b2b;
  font-size: 1em;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 600px;
  padding-top: 100px;
  width: 100%;
}

.offline .runner-container {
  height: 150px;
  max-width: 600px;
  overflow: hidden;
  position: absolute;
  top: 35px;
  width: 44px;
}

.offline .runner-canvas {
  height: 150px;
  max-width: 600px;
  opacity: 1;
  overflow: hidden;
  position: absolute;
  top: 0;
  z-index: 2;
}

.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;
}

/* Background & Theme System */
body {
    transition: background 1.2s cubic-bezier(0.4, 0, 0.2, 1), color 1.2s ease;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

#bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

#particles-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* 1. 기본 (Default) */
body.theme-default {
    background: linear-gradient(180deg, #eef5fc 0%, #e2ebf3 60%, #d5e0ea 100%);
    color: #2c3e50;
}
body.theme-default #bg-layer {
    background: radial-gradient(circle at 80% 20%, rgba(255, 235, 180, 0.45) 0%, transparent 45%);
}

/* 2. 노을 (Sunset) */
body.theme-sunset {
    background: linear-gradient(180deg, #2b1055 0%, #7597de 25%, #fd746c 55%, #ff8008 80%, #ffc837 100%);
    color: #ffffff;
}
body.theme-sunset #bg-layer {
    background: radial-gradient(circle at 75% 65%, rgba(255, 120, 50, 0.85) 0%, rgba(255, 200, 80, 0.35) 25%, transparent 60%);
    animation: sunsetGlow 4s ease-in-out infinite alternate;
}
@keyframes sunsetGlow {
    from { filter: brightness(1); }
    to { filter: brightness(1.15) contrast(1.05); }
}

/* 3. 밤 (Night) */
body.theme-night {
    background: linear-gradient(180deg, #050714 0%, #0d1326 50%, #1a233a 100%);
    color: #ffffff;
}
body.theme-night #bg-layer {
    background: radial-gradient(circle at 85% 18%, rgba(255, 255, 220, 0.95) 0%, rgba(255, 255, 200, 0.3) 15%, transparent 35%);
}

/* 4. 도시 (City) */
body.theme-city {
    background: linear-gradient(180deg, #08031a 0%, #170936 40%, #2f0f4a 75%, #4a154b 100%);
    color: #ffffff;
}
body.theme-city #bg-layer {
    background: radial-gradient(ellipse at 50% 90%, rgba(236, 56, 188, 0.3) 0%, rgba(115, 3, 192, 0.2) 50%, transparent 80%);
}

/* 5. 사막 (Desert) */
body.theme-desert {
    background: linear-gradient(180deg, #d35400 0%, #e67e22 35%, #f39c12 70%, #f1c40f 100%);
    color: #ffffff;
}
body.theme-desert #bg-layer {
    background: radial-gradient(circle at 50% 20%, rgba(255, 245, 180, 0.8) 0%, rgba(255, 170, 50, 0.35) 35%, transparent 70%);
}

/* 6. 우주 (Space) */
body.theme-space {
    background: linear-gradient(180deg, #02010a 0%, #08051e 40%, #17052c 70%, #02010a 100%);
    color: #ffffff;
}
body.theme-space #bg-layer {
    background: radial-gradient(circle at 30% 40%, rgba(147, 51, 234, 0.35) 0%, rgba(59, 130, 246, 0.25) 40%, transparent 70%),
                radial-gradient(circle at 70% 70%, rgba(236, 72, 153, 0.3) 0%, transparent 50%);
    animation: spaceNebula 8s ease-in-out infinite alternate;
}
@keyframes spaceNebula {
    from { opacity: 0.8; transform: scale(1); }
    to { opacity: 1; transform: scale(1.05); }
}

/* 7. 비 (Rain) */
body.theme-rain {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #ffffff;
}
body.theme-rain #bg-layer {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.85) 100%);
}

/* 8. 눈 (Snow) */
body.theme-snow {
    background: linear-gradient(180deg, #1e293b 0%, #3b82f6 40%, #93c5fd 80%, #e0f2fe 100%);
    color: #ffffff;
}
body.theme-snow #bg-layer {
    background: radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.5) 0%, transparent 55%);
}

/* Canvas contrast adjustments for dark themes */
.theme-dark .runner-canvas {
    filter: invert(0.92) hue-rotate(180deg) drop-shadow(0 0 3px rgba(255, 255, 255, 0.6));
    transition: filter 0.8s ease;
}
.runner-canvas {
    transition: filter 0.8s ease;
}

/* Glassmorphism HUD Header */
.theme-hud {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}
.theme-dark .theme-hud {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hud-current {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hud-icon {
    font-size: 24px;
    display: inline-block;
    animation: iconPulse 2s ease-in-out infinite;
}
@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.hud-info {
    display: flex;
    flex-direction: column;
}
.hud-name {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
}
.hud-desc {
    font-size: 11px;
    opacity: 0.85;
}
.hud-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
}
.hud-next {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.95;
    background: rgba(0, 0, 0, 0.15);
    padding: 5px 14px;
    border-radius: 20px;
}
.theme-dark .hud-next {
    background: rgba(255, 255, 255, 0.15);
}

/* Toast Notification */
.theme-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    z-index: 101;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
    border: 1.5px solid rgba(255, 215, 0, 0.6);
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.3);
    font-size: 15px;
    font-weight: 700;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.theme-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1.05);
}

/* Particle styles */
.rain-drop {
    position: absolute;
    top: -30px;
    width: 2px;
    height: 28px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.75));
    animation: fallRain linear infinite;
}
@keyframes fallRain {
    to { transform: translateY(110vh) translateX(-20px); }
}

.snow-flake {
    position: absolute;
    top: -20px;
    color: rgba(255, 255, 255, 0.9);
    user-select: none;
    animation: fallSnow linear infinite, swaySnow 3s ease-in-out infinite alternate;
}
@keyframes fallSnow {
    to { transform: translateY(110vh); }
}
@keyframes swaySnow {
    from { margin-left: -20px; }
    to { margin-left: 20px; }
}

.star-dot {
    position: absolute;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 6px #ffffff;
    animation: twinkleStar 2s ease-in-out infinite alternate;
}
@keyframes twinkleStar {
    from { opacity: 0.2; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1.3); }
}

/* City Skyline Graphics */
.city-skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: repeating-linear-gradient(
        90deg,
        rgba(15, 5, 29, 0.95) 0px,
        rgba(15, 5, 29, 0.95) 40px,
        transparent 40px,
        transparent 45px,
        rgba(25, 10, 45, 0.95) 45px,
        rgba(25, 10, 45, 0.95) 90px
    );
    border-top: 2px solid rgba(236, 56, 188, 0.5);
    box-shadow: 0 -10px 30px rgba(236, 56, 188, 0.3);
}

/* Authentication Lock Mode */
body.auth-locked .interstitial-wrapper,
body.auth-locked #messageBox {
    pointer-events: none;
    user-select: none;
    filter: blur(6px);
    opacity: 0.4;
    transition: filter 0.5s ease, opacity 0.5s ease;
}

/* Glassmorphic Auth Overlay */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(10, 15, 30, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding: 20px;
    box-sizing: border-box;
}

.auth-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.25);
    padding: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border-radius: 18px;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#tab-login-btn.active {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.3), rgba(0, 114, 255, 0.3));
    border: 1px solid rgba(0, 198, 255, 0.5);
}

#tab-register-btn.active {
    background: linear-gradient(135deg, rgba(138, 35, 135, 0.3), rgba(233, 64, 87, 0.3));
    border: 1px solid rgba(233, 64, 87, 0.5);
}

/* Form Container Views */
.auth-form-view {
    display: none;
    padding: 28px 32px 32px 32px;
    animation: fadeInForm 0.4s ease;
}

.auth-form-view.active {
    display: block;
}

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

/* Auth Headers */
.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-badge {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px auto;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ffffff;
}

.cyan-glow {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    box-shadow: 0 8px 25px rgba(0, 198, 255, 0.4);
}

.violet-glow {
    background: linear-gradient(135deg, #8a2387, #e94057, #f27121);
    box-shadow: 0 8px 25px rgba(233, 64, 87, 0.4);
}

.auth-header h2 {
    margin: 0 0 6px 0;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

.auth-header p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* Input Groups */
.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 13px 16px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-group input:focus {
    border-color: #00c6ff;
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.3);
    background: rgba(0, 0, 0, 0.45);
}

#register-form .input-group input:focus {
    border-color: #e94057;
    box-shadow: 0 0 15px rgba(233, 64, 87, 0.3);
}

/* Auth Buttons */
.auth-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 16px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.4);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 198, 255, 0.6);
}

.btn-register {
    background: linear-gradient(135deg, #8a2387, #e94057, #f27121);
    box-shadow: 0 6px 20px rgba(233, 64, 87, 0.4);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 64, 87, 0.6);
}

.auth-error-msg {
    color: #ff4d4d;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
    min-height: 18px;
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-footer a {
    color: #00c6ff;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

#register-form-container .auth-footer a {
    color: #f27121;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* User Section in HUD Header */
.hud-user-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 12px;
    border-radius: 20px;
}

.high-score-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 13px;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.15);
    padding: 5px 12px;
    border-radius: 20px;
}

.hud-btn {
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.hud-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.logout-btn:hover {
    background: rgba(255, 77, 77, 0.8);
}

/* Modal Overlay & Card */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 600;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-card {
    width: 90%;
    max-width: 420px;
    background: rgba(20, 25, 45, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    margin: 0;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffd700;
}

.modal-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.modal-body {
    padding: 20px 24px;
    max-height: 350px;
    overflow-y: auto;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rank-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
}

.rank-item.top-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 165, 0, 0.15));
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.rank-item.top-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.25), rgba(169, 169, 169, 0.15));
    border: 1px solid rgba(192, 192, 192, 0.4);
}

.rank-item.top-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.25), rgba(160, 82, 45, 0.15));
    border: 1px solid rgba(205, 127, 50, 0.4);
}

.rank-badge {
    width: 28px;
    font-weight: 800;
}

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

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

/* Glassmorphic Payment Overlay */
.pay-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 550;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(10, 15, 30, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding: 20px;
    box-sizing: border-box;
}

.pay-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.pay-card {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.09);
    border: 1.5px solid rgba(255, 215, 0, 0.4);
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.2);
    overflow: hidden;
    padding: 30px;
    box-sizing: border-box;
    color: #ffffff;
    animation: fadeInPay 0.4s ease;
}

@keyframes fadeInPay {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.pay-header {
    text-align: center;
    margin-bottom: 22px;
}

.gold-glow {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #111;
}

.pay-header h2 {
    margin: 0 0 8px 0;
    font-size: 23px;
    font-weight: 800;
    color: #ffffff;
}

.pay-header p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.price-box {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.15));
    border: 1px dashed rgba(255, 215, 0, 0.5);
    border-radius: 18px;
    padding: 16px;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-amount {
    font-size: 32px;
    font-weight: 900;
    color: #ffd700;
    letter-spacing: -1px;
}

.price-tag {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.pay-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pay-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.pay-features li i {
    color: #00c6ff;
}

.pay-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #111111;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #ffe033, #ffa01a);
}

/* Pass Status Badge in HUD Header */
.pass-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 16px;
}

.pass-badge.paid {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.25), rgba(39, 174, 96, 0.15));
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.4);
}

.pass-badge.unpaid {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.25), rgba(192, 57, 43, 0.15));
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.4);
}
