/* CSS Design System for Stage7 TailsCity */

:root {
    --bg-main: #0b0c10;
    --bg-card: rgba(22, 26, 36, 0.65);
    --bg-card-border: rgba(255, 255, 255, 0.08);
    --color-text-primary: #f3f4f6;
    --color-text-secondary: #9ca3af;
    
    --primary: #8b5cf6;       /* Violet / Neon Purple */
    --primary-glow: rgba(139, 92, 246, 0.35);
    --accent: #ffae00;        /* Gold / Amber */
    --accent-glow: rgba(255, 174, 0, 0.25);
    
    --error: #ef4444;
    --success: #10b981;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Noto Sans KR', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--color-text-primary);
    min-height: 100vh;
    min-height: -webkit-fill-available;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

html {
    height: -webkit-fill-available;
}

/* Ambient Glow Background */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background-color: #08090d;
}

.glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.22;
    pointer-events: none;
}

.glow-violet {
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -10%;
    left: -20%;
    animation: floatGlow 18s infinite alternate;
}

.glow-gold {
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: -10%;
    right: -20%;
    animation: floatGlow 24s infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 40px) scale(1.15); }
}

/* Mobile Responsive Wrapper */
.mobile-container {
    width: 100%;
    max-width: 460px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: rgba(10, 11, 16, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--bg-card-border);
    border-right: 1px solid var(--bg-card-border);
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    position: relative;
}

/* App Header styling */
.app-header {
    padding: 24px 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.logo-accent {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

.branch-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-secondary);
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 8px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Content & SPA Steps */
.app-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.step-section {
    display: none;
    flex-direction: column;
    flex: 1;
    animation: fadeIn 0.4s ease-out forwards;
}

.step-section.active {
    display: flex;
}

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

/* Form Headings */
.section-lead {
    margin-bottom: 24px;
}

.section-lead h2 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #ffffff;
}

.section-lead p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.highlight {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
}

/* Inputs & Forms */
.form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}

.scrollable-form {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 5px;
}

.scrollable-form::-webkit-scrollbar {
    width: 4px;
}
.scrollable-form::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.input-glow-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-glow-group label {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--bg-card-border);
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
    transition: all 0.25s ease;
}

select.input-control {
    color: #ffffff;
    background-color: rgba(22, 26, 36, 0.95);
}

select.input-control option {
    background-color: #111120;
    color: #ffffff;
}

.input-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
    background: rgba(139, 92, 246, 0.06);
}

.input-control[readonly] {
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.03);
}

/* Buttons */
.btn {
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    padding: 16px 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: #ffffff;
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-primary);
    border: 1px solid var(--bg-card-border);
}

.btn-secondary:active {
    background: rgba(255, 255, 255, 0.1);
}

.btn-block {
    width: 100%;
}

.btn-glow:hover {
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-group {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
    margin-top: 15px;
}

/* Custom virtual Keypad */
.custom-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 10px 0;
}

.key-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--bg-card-border);
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 600;
    padding: 14px 0;
    cursor: pointer;
    transition: all 0.15s ease;
}

.key-btn:active {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(0.95);
}

.key-btn.text-btn {
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    color: var(--color-text-secondary);
}

/* Action card group for greeting selection */
.action-card-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0 32px;
}

.action-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.action-card:hover, .action-card:active {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translateY(-2px);
    background: rgba(139, 92, 246, 0.05);
}

.action-card.accent-gold:hover, .action-card.accent-gold:active {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
    background: rgba(255, 174, 0, 0.04);
}

.card-icon {
    font-size: 28px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-body {
    flex: 1;
}

.card-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
}

.card-body p {
    font-size: 12px;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.card-arrow {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    color: var(--color-text-secondary);
}

/* Agreement boxes */
.agreement-box {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.agreement-box.compact {
    flex: 0;
}

.agreement-content {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.agreement-content h3 {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.agreement-content h4 {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 14px;
    margin-bottom: 6px;
}

.agreement-content ul {
    list-style: none;
    margin-bottom: 12px;
}

.agreement-content ul li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 6px;
}

.agreement-content ul li::before {
    content: "•";
    position: absolute;
    left: 2px;
    color: var(--primary);
}

.warning-text {
    background: rgba(255, 174, 0, 0.08);
    border-left: 3px solid var(--accent);
    padding: 8px 12px;
    border-radius: 0 8px 8px 0;
    color: var(--color-text-primary);
    font-weight: 500;
    margin-bottom: 12px;
}

/* Custom Checkbox */
.consent-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.consent-checkbox-label input {
    display: none;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 1px solid var(--bg-card-border);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease;
}

.consent-checkbox-label input:checked + .custom-checkbox {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.consent-checkbox-label input:checked + .custom-checkbox::after {
    content: "✓";
    position: absolute;
    color: #ffffff;
    font-weight: 900;
    font-size: 13px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Electronic Signature canvas */
.signature-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.signature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-secondary);
}

.btn-sm {
    background: rgba(239, 68, 110, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 110, 0.2);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-sm:active {
    background: rgba(239, 68, 110, 0.2);
}

.canvas-container {
    width: 100%;
    background: #0d0f14;
    border: 1px dashed var(--bg-card-border);
    border-radius: 10px;
    height: 140px;
    overflow: hidden;
}

#signature-pad {
    width: 100%;
    height: 100%;
    display: block;
    cursor: crosshair;
}

/* Success Card */
.success-icon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0 20px;
}

.success-pulse {
    width: 68px;
    height: 68px;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success);
    color: var(--success);
    border-radius: 50%;
    font-size: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    animation: successPulse 1.8s infinite alternate;
}

@keyframes successPulse {
    0% { transform: scale(1); box-shadow: 0 0 15px rgba(16, 185, 129, 0.15); }
    100% { transform: scale(1.06); box-shadow: 0 0 30px rgba(16, 185, 129, 0.4); }
}

.success-title {
    font-size: 24px;
    color: var(--success);
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.receipt-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 16px;
    padding: 18px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 8px;
}

.receipt-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.receipt-row .label {
    color: var(--color-text-secondary);
    font-weight: 500;
}

.receipt-row .value {
    color: #ffffff;
    font-weight: 700;
}

.receipt-row .highlight-gold {
    color: var(--accent);
}

.welcome-badge {
    display: inline-block;
    background: var(--primary-glow);
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.2);
    font-family: 'Outfit', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.visit-counter {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 12px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.highlight-gold {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
}

.contact-info-footer {
    text-align: center;
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-top: auto;
    padding: 15px 0;
}

.contact-info-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

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

/* Phone input with fixed prefix */
.phone-input-row {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--bg-card-border);
    border-radius: 12px;
    padding: 0 16px;
    transition: all 0.25s ease;
}

.phone-input-row.active {
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
    background: rgba(139, 92, 246, 0.06);
}

.phone-prefix {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-secondary);
    margin-right: 12px;
    user-select: none;
    flex-shrink: 0;
    min-width: 60px;
    text-align: center;
}

.phone-input-row .input-control {
    background: transparent;
    border: none;
    padding: 16px 0;
    font-size: 18px;
    letter-spacing: 2px;
}

.phone-input-row .input-control:focus {
    box-shadow: none;
    background: transparent;
}

/* Dog Input rows with Add/Remove buttons */
.dog-inputs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dog-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.gender-toggle-group {
    display: flex;
    border: 1px solid var(--bg-card-border);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
    height: 52px;
}

.btn-gender {
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    height: 100%;
}

.btn-gender.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4);
}

.btn-gender[data-gender="여"].active {
    background: #ec4899; /* Cute Pink for Female */
}

.btn-icon-add {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 12px;
    width: 52px;
    height: 52px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-icon-add:active {
    background: var(--primary);
    color: #ffffff;
    transform: scale(0.95);
}

.btn-icon-remove {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 12px;
    width: 52px;
    height: 52px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-icon-remove:active {
    background: var(--error);
    color: #ffffff;
    transform: scale(0.95);
}

/* Success Wish message */
.success-wish-msg {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 12px;
    margin: 14px 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: #a78bfa;
    text-align: center;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.1);
    animation: fadeIn 0.4s ease-out forwards;
}

/* Verify Dog Screen Card */
.verify-dog-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    animation: fadeIn 0.4s ease-out forwards;
}

.dog-avatar-wrap {
    font-size: 64px;
    background: rgba(139, 92, 246, 0.1);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 15px var(--primary-glow);
}

.verify-question {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.6;
}

/* Dog checklist selection cards */
.dog-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.dog-check-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 2px solid var(--bg-card-border);
    border-radius: 16px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.dog-check-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.06);
}

.dog-check-card.selected {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.12);
    box-shadow: 0 0 14px var(--primary-glow);
}

.dog-check-card .dog-card-avatar {
    font-size: 32px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.dog-check-card.female-dog .dog-card-avatar {
    background: rgba(236, 72, 153, 0.1);
}

.dog-card-info {
    flex: 1;
}

.dog-card-info .dog-card-name {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}

.dog-card-info .dog-card-gender {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-top: 2px;
}

.dog-check-card .dog-card-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--bg-card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.dog-check-card.selected .dog-card-check {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
}

/* ── VIP Welcome Modal ────────────────────────────────────────── */
.vip-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.vip-modal-content {
    background: linear-gradient(145deg, #1e1b4b 0%, #0f172a 60%, #1e102d 100%);
    border: 2px solid #ffd700;
    border-radius: 28px;
    padding: 36px 28px;
    width: 100%;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.4), inset 0 0 20px rgba(255, 215, 0, 0.1);
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.vip-modal-crown {
    font-size: 56px;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.8));
    animation: crownFloat 2s ease-in-out infinite alternate;
}

@keyframes crownFloat {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-8px) scale(1.05); }
}

.vip-modal-title {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #ffe600 50%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.vip-modal-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ff9800);
    color: #0f172a;
    font-weight: 900;
    font-size: 13px;
    padding: 5px 16px;
    border-radius: 20px;
    letter-spacing: 0.08em;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    margin-bottom: 20px;
}

.vip-modal-body {
    font-size: 15px;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.03);
    padding: 18px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.vip-pass-glow {
    display: inline-block;
    color: #ffd700;
    font-weight: 800;
    font-size: 17px;
    margin-top: 6px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.btn-vip-confirm {
    width: 100%;
    background: linear-gradient(135deg, #ffd700 0%, #ff9800 50%, #f43f5e 100%);
    color: #0f172a;
    font-size: 17px;
    font-weight: 800;
    padding: 16px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-vip-confirm:active {
    transform: scale(0.97);
}

@keyframes modalPop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ── VIP Greeting Banner on Action Cards ──────────────────────── */
.vip-greeting-banner {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 140, 0, 0.12) 50%, rgba(230, 0, 126, 0.12) 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.6);
    border-radius: 18px;
    padding: 16px 18px;
    margin-top: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.25);
    animation: vipGlowPulse 2.5s infinite alternate;
}

@keyframes vipGlowPulse {
    0% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.2); border-color: rgba(255, 215, 0, 0.5); }
    100% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.5); border-color: #ffd700; }
}

.vip-banner-crown {
    font-size: 32px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
    flex-shrink: 0;
}

.vip-banner-info {
    flex: 1;
    text-align: left;
}

.vip-banner-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffd700;
    letter-spacing: -0.01em;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.vip-banner-sub {
    font-size: 12px;
    color: #e2e8f0;
    margin-top: 2px;
    line-height: 1.3;
}

.vip-banner-notice {
    font-size: 12px;
    font-weight: 700;
    color: #f43f5e;
    margin-top: 5px;
    background: rgba(244, 63, 94, 0.12);
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
}

.vip-banner-tag {
    background: linear-gradient(135deg, #ffd700, #ff9800);
    color: #0f172a;
    font-weight: 900;
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 12px;
    letter-spacing: 0.05em;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
    flex-shrink: 0;
}

/* ── Digital VIP Pass Card Modal ────────────────────────────────────── */
.vip-card-modal-container {
    width: 90%;
    max-width: 380px;
    animation: cardModalPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cardModalPop {
    0% { transform: scale(0.7) translateY(30px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.digital-vip-card {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 40%, #1e1b4b 100%);
    border: 2px solid #ffd700;
    border-radius: 20px;
    padding: 24px 20px;
    position: relative;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.35), inset 0 0 25px rgba(255, 215, 0, 0.15);
    overflow: hidden;
}

.digital-vip-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.vip-card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.vip-card-brand-logo {
    font-size: 13px;
    font-weight: 900;
    color: #ffd700;
    letter-spacing: 0.1em;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.vip-card-gold-chip {
    background: linear-gradient(135deg, #ffd700, #d97706);
    color: #000;
    font-size: 10px;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.vip-card-center {
    text-align: center;
    margin: 15px 0 25px 0;
}

.vip-card-crown-big {
    font-size: 48px;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.9));
    margin-bottom: 8px;
    animation: floatCrown 2s infinite ease-in-out alternate;
}

@keyframes floatCrown {
    0% { transform: translateY(0); }
    100% { transform: translateY(-6px); }
}

.vip-card-user-name {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.vip-card-user-name span {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.vip-card-pass-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(244, 63, 94, 0.2));
    border: 1px solid #ffd700;
    color: #ffd700;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.vip-card-bottom-info {
    border-top: 1px dashed rgba(255, 215, 0, 0.3);
    padding-top: 16px;
}

.vip-card-expiry-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 12px;
}

.expiry-label {
    color: rgba(255, 255, 255, 0.6);
}

.expiry-value {
    color: #ffd700;
    font-weight: 800;
    font-size: 14px;
}

.vip-card-staff-notice {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), rgba(225, 29, 72, 0.3));
    border: 1px solid #f43f5e;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.3);
}

/* Screenshot Prevention & Security Overlays */
body.screen-protected {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body.blur-protected .mobile-container {
    filter: blur(25px) grayscale(100%);
    transition: filter 0.15s ease;
}

/* Watermark Overlay for Live VIP Protection */
.vip-watermark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    opacity: 0.18;
}

.watermark-line {
    font-size: 13px;
    font-weight: 900;
    color: #ffd700;
    white-space: nowrap;
    transform: rotate(-15deg) scale(1.1);
    text-align: center;
    letter-spacing: 2px;
    animation: marquee 15s linear infinite;
}

@keyframes marquee {
    0% { transform: rotate(-15deg) translateX(0); }
    100% { transform: rotate(-15deg) translateX(-20%); }
}

/* Anti-Screenshot Overlay Warning */
.screenshot-blocked-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.screenshot-blocked-box {
    background: rgba(30, 10, 20, 0.9);
    border: 2px solid #ef4444;
    box-shadow: 0 0 50px rgba(239, 68, 68, 0.5);
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    max-width: 380px;
    width: 100%;
    color: #ffffff;
}

.screenshot-icon {
    font-size: 54px;
    margin-bottom: 12px;
}

.screenshot-title {
    font-size: 22px;
    font-weight: 800;
    color: #f87171;
    margin-bottom: 10px;
}

.screenshot-desc {
    font-size: 14px;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 20px;
    word-break: keep-all;
}

/* Security Multi-Device Warning Overlay */
.security-warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 5, 12, 0.98);
    backdrop-filter: blur(30px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.security-warning-card {
    background: linear-gradient(135deg, rgba(30, 15, 25, 0.95), rgba(15, 10, 20, 0.95));
    border: 2px solid #ef4444;
    box-shadow: 0 0 60px rgba(239, 68, 68, 0.6), inset 0 0 30px rgba(239, 68, 68, 0.2);
    border-radius: 28px;
    padding: 40px 28px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    color: #ffffff;
    animation: alertPulse 2s infinite alternate;
}

@keyframes alertPulse {
    0% { border-color: #ef4444; box-shadow: 0 0 40px rgba(239, 68, 68, 0.5); }
    100% { border-color: #dc2626; box-shadow: 0 0 70px rgba(220, 38, 38, 0.8); }
}

.security-icon {
    font-size: 60px;
    margin-bottom: 14px;
}

.security-title {
    font-size: 24px;
    font-weight: 900;
    color: #fca5a5;
    margin-bottom: 12px;
}

.security-desc {
    font-size: 14.5px;
    color: #e5e7eb;
    line-height: 1.6;
    margin-bottom: 24px;
    word-break: keep-all;
    background: rgba(239, 68, 68, 0.1);
    border: 1px dashed rgba(239, 68, 68, 0.3);
    padding: 14px;
    border-radius: 14px;
}

.admin-call-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.admin-call-box p {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.admin-phone-link {
    font-size: 20px;
    font-weight: 800;
    color: #ffd700;
    text-decoration: none;
    letter-spacing: 1px;
}

