/* ===== CSS Variables & Design Tokens ===== */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(20, 20, 32, 0.8);
    --bg-card-hover: rgba(30, 30, 48, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    --text-primary: #f0f0f5;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --accent-gold: #f59e0b;
    --accent-amber: #d97706;
    --accent-red: #ef4444;
    --accent-emerald: #10b981;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    
    --gradient-primary: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-card: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(245, 158, 11, 0.3);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.15);
    
    /* Typography */
    --font-primary: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 80px;
    
    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Luxury Animated Dynamic Background ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 10%, #17112c 0%, #0d0c15 50%, #060609 100%);
}

#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

/* Subtle High-Tech Matrix / Fengshui Grid */
.bg-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 40%, rgba(0, 0, 0, 0.85) 0%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, rgba(0, 0, 0, 0.85) 0%, transparent 85%);
    z-index: 1;
}

/* Dynamic Aurora Nebula Orbs */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    mix-blend-mode: screen;
    pointer-events: none;
    will-change: transform, opacity;
}

.bg-orb-1 {
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, rgba(217, 119, 6, 0.14) 40%, transparent 70%);
    top: -150px;
    right: 5%;
    animation: auroraFloat1 20s ease-in-out infinite alternate;
    z-index: 2;
}

.bg-orb-2 {
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, rgba(124, 58, 237, 0.12) 45%, transparent 70%);
    bottom: 5%;
    left: -80px;
    animation: auroraFloat2 24s ease-in-out infinite alternate;
    z-index: 2;
}

.bg-orb-3 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.22) 0%, rgba(244, 63, 94, 0.08) 50%, transparent 70%);
    top: 40%;
    left: 45%;
    animation: auroraFloat3 18s ease-in-out infinite alternate;
    z-index: 2;
}

.bg-orb-4 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(5, 150, 105, 0.06) 50%, transparent 70%);
    bottom: -100px;
    right: 8%;
    animation: auroraFloat4 22s ease-in-out infinite alternate;
    z-index: 2;
}

/* Light Beam sweeping subtly */
.bg-beam {
    position: absolute;
    top: -50%;
    left: 15%;
    width: 70%;
    height: 200%;
    background: linear-gradient(120deg, transparent 40%, rgba(245, 158, 11, 0.05) 50%, transparent 60%);
    transform: rotate(-15deg);
    animation: beamSweep 14s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes auroraFloat1 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.7; }
    50% { transform: translate(-80px, 60px) scale(1.18) rotate(35deg); opacity: 0.95; }
    100% { transform: translate(60px, -40px) scale(0.92) rotate(-25deg); opacity: 0.75; }
}

@keyframes auroraFloat2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.65; }
    50% { transform: translate(90px, -70px) scale(1.15); opacity: 0.9; }
    100% { transform: translate(-50px, 50px) scale(0.95); opacity: 0.7; }
}

@keyframes auroraFloat3 {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.55; }
    50% { transform: translate(-30%, -40%) scale(1.22); opacity: 0.85; }
    100% { transform: translate(-65%, -60%) scale(0.88); opacity: 0.6; }
}

@keyframes auroraFloat4 {
    0% { transform: translate(0, 0) scale(0.95); opacity: 0.5; }
    50% { transform: translate(-70px, -60px) scale(1.2); opacity: 0.8; }
    100% { transform: translate(50px, 30px) scale(1.02); opacity: 0.55; }
}

@keyframes beamSweep {
    0%, 100% { transform: rotate(-15deg) translateX(-120px); opacity: 0.3; }
    50% { transform: rotate(-10deg) translateX(120px); opacity: 0.75; }
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gradient-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 18px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.nav-link.active {
    color: var(--accent-gold);
    background: rgba(245, 158, 11, 0.1);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    z-index: 1;
    padding: 36px 0 60px;
    text-align: center;
}

.hero-content {
    margin-bottom: 48px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--accent-gold);
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

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

/* ===== Input Card ===== */
.input-card {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.card-glow {
    position: absolute;
    inset: -1px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    opacity: 0.4;
    filter: blur(1px);
    z-index: -1;
    transition: opacity var(--transition-normal);
}

.input-card:hover .card-glow {
    opacity: 0.6;
}

.input-card-inner {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--border-subtle);
}

/* Vehicle Type Selector */
.vehicle-type-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.type-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
}

.type-btn:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
    background: rgba(245, 158, 11, 0.05);
}

.type-btn.active {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

/* Plate Display */
.plate-display {
    margin-bottom: 24px;
}

.plate-frame {
    background: linear-gradient(145deg, #ffffff, #e8e8e8);
    border-radius: var(--radius-md);
    padding: 12px 24px;
    text-align: center;
    border: 3px solid #333;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1), var(--shadow-md);
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.plate-country {
    font-size: 9px;
    font-weight: 700;
    color: #c0392b;
    letter-spacing: 3px;
    margin-bottom: 4px;
}

.plate-number {
    font-family: var(--font-mono);
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 2px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Input Group */
.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.input-field {
    width: 100%;
    padding: 16px 48px 16px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    outline: none;
    transition: var(--transition-normal);
}

.input-field::placeholder {
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: none;
    font-weight: 400;
}

.input-field:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    opacity: 0;
    pointer-events: none;
}

.clear-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.clear-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.input-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Birth Date Input Group */
.birthdate-group {
    margin-bottom: 24px;
}

.input-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
}

.label-icon {
    margin-right: 4px;
}

.label-badge-magic {
    font-size: 11px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(245, 158, 11, 0.25));
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #c084fc;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.birthdate-wrapper {
    position: relative;
}

.birthdate-input {
    letter-spacing: 0.5px;
    font-family: var(--font-primary);
    font-size: 15px;
    color-scheme: dark;
    cursor: pointer;
}

.birthdate-input::-webkit-calendar-picker-indicator {
    filter: invert(0.8) sepia(100%) saturate(500%) hue-rotate(5deg);
    cursor: pointer;
    margin-right: 8px;
    opacity: 0.8;
}

.birthdate-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.clear-birth-btn {
    right: 40px;
}

.birth-quick-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.birth-chips-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.birth-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
}

.birth-chip:hover, .birth-chip.active {
    background: rgba(168, 85, 247, 0.2);
    border-color: #a855f7;
    color: #e9d5ff;
    transform: translateY(-1px);
}

/* Analyze Button */
.analyze-btn {
    position: relative;
    width: 100%;
    padding: 16px 24px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.analyze-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(245, 158, 11, 0.4);
}

.analyze-btn:active {
    transform: translateY(0);
}

.analyze-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.btn-icon {
    display: flex;
    transition: transform var(--transition-normal);
}

.analyze-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Quick Samples for SEO & UX */
.quick-samples {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.quick-samples-title {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.quick-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.quick-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
}

.quick-tag:hover {
    background: rgba(245, 158, 11, 0.12);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

/* ===== Results Section ===== */
.results-section {
    position: relative;
    z-index: 1;
    padding: 40px 0 var(--section-padding);
    animation: fadeInUp 0.6s ease;
}

/* Result Header */
.result-header {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
    backdrop-filter: blur(20px);
}

.score-ring-wrapper {
    flex-shrink: 0;
}

.score-ring {
    position: relative;
    width: 140px;
    height: 140px;
}

.score-ring svg {
    width: 100%;
    height: 100%;
}

#score-circle {
    transition: stroke-dashoffset 1.5s ease;
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-size: 36px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 60%);
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}

.result-summary {
    flex: 1;
}

.result-plate {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.result-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.rating-stars {
    display: flex;
    gap: 2px;
    font-size: 20px;
}

.rating-text {
    font-size: 15px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-gold);
}

.result-price-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px;
    background: var(--gradient-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
}

.price-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.price-value {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-range {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ===== Analysis Grid ===== */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.analysis-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
    animation: fadeInUp 0.6s ease both;
}

.analysis-card:nth-child(1) { animation-delay: 0.1s; }
.analysis-card:nth-child(2) { animation-delay: 0.2s; }
.analysis-card:nth-child(3) { animation-delay: 0.3s; }
.analysis-card:nth-child(4) { animation-delay: 0.4s; }
.analysis-card:nth-child(5) { animation-delay: 0.5s; }
.analysis-card:nth-child(6) { animation-delay: 0.6s; }

.analysis-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.fengshui-icon { background: rgba(245, 158, 11, 0.15); color: var(--accent-gold); }
.meaning-icon { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.sum-icon { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }
.market-icon { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.province-icon { background: rgba(236, 72, 153, 0.15); color: var(--accent-pink); }
.pattern-icon { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }
.destiny-icon { background: rgba(168, 85, 247, 0.2); color: #c084fc; }

.destiny-header-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.4);
}

/* ===== Destiny Card (Hợp Tuổi & Bản Mệnh) ===== */
.destiny-card {
    grid-column: 1 / -1;
    background: linear-gradient(145deg, rgba(20, 16, 32, 0.85), rgba(26, 20, 40, 0.7));
    border: 1.5px solid rgba(168, 85, 247, 0.35);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.1);
}

.destiny-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a855f7, #f59e0b, #ef4444);
}

.destiny-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.destiny-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.destiny-box-title {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.destiny-box-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.destiny-box-sub {
    font-size: 12px;
    color: var(--text-secondary);
}

.destiny-score-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    gap: 18px;
    flex-wrap: wrap;
}

.destiny-score-banner.rating-excellent {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(16, 185, 129, 0.18));
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.destiny-score-banner.rating-great {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.destiny-score-banner.rating-good {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.destiny-score-banner.rating-neutral {
    background: rgba(107, 114, 128, 0.15);
    border: 1px solid rgba(107, 114, 128, 0.35);
}

.destiny-score-banner.rating-bad {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.destiny-score-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.destiny-score-num {
    font-family: var(--font-mono);
    font-size: 38px;
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 1;
}

.destiny-score-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.destiny-score-stars {
    font-size: 14px;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

.destiny-score-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 580px;
}

.destiny-details-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.destiny-numbers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.destiny-num-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-mono);
}

.destiny-num-pill.lucky {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.destiny-num-pill.unlucky {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.destiny-advice-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.destiny-advice-item {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.destiny-advice-item strong {
    color: var(--text-primary);
}

/* Prompt box when birthdate was not provided */
.destiny-prompt-box {
    text-align: center;
    padding: 28px 20px;
    background: rgba(168, 85, 247, 0.06);
    border: 1.5px dashed rgba(168, 85, 247, 0.35);
    border-radius: var(--radius-md);
}

.destiny-prompt-icon {
    font-size: 34px;
    margin-bottom: 10px;
}

.destiny-prompt-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.destiny-prompt-desc {
    font-size: 13px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 18px;
    line-height: 1.6;
}

.destiny-inline-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 460px;
    margin: 0 auto;
}

.destiny-inline-input {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    color-scheme: dark;
}

.destiny-inline-input:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.2);
}

.destiny-inline-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #a855f7, #f59e0b);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.destiny-inline-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.card-title {
    font-size: 16px;
    font-weight: 700;
}

.card-body {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Card Body Elements */
.analysis-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.analysis-item:last-child {
    border-bottom: none;
}

.analysis-key {
    font-weight: 500;
    color: var(--text-secondary);
}

.analysis-val {
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.tag-good { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.tag-great { background: rgba(245, 158, 11, 0.15); color: var(--accent-gold); }
.tag-excellent { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }
.tag-neutral { background: rgba(107, 114, 128, 0.15); color: var(--text-secondary); }
.tag-bad { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }

.meaning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
}

.meaning-item {
    text-align: center;
    padding: 10px 6px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.meaning-item:hover {
    border-color: var(--border-accent);
}

.meaning-digit {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.meaning-text {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

.market-source {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    transition: var(--transition-fast);
}

.market-source:hover {
    border-color: var(--border-accent);
}

.market-source:last-child {
    margin-bottom: 0;
}

.source-name {
    font-weight: 500;
    font-size: 13px;
}

.source-price {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    color: var(--accent-gold);
}

.pattern-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--gradient-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-gold);
    margin: 4px;
}

.pattern-tag-neutral {
    border-color: var(--border-subtle);
    color: var(--text-secondary);
    background: var(--bg-glass);
}

.element-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.element-kim { background: rgba(192, 192, 192, 0.15); color: #c0c0c0; }
.element-moc { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.element-thuy { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.element-hoa { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.element-tho { background: rgba(217, 119, 6, 0.15); color: #d97706; }

.fengshui-detail {
    margin-top: 8px;
    padding: 8px 0;
    border-top: 1px solid var(--border-subtle);
}

.fengshui-detail-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-size: 13px;
}

.fengshui-detail-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.province-info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.province-info-item:last-child {
    border-bottom: none;
}

.province-info-label {
    font-size: 13px;
    color: var(--text-muted);
    min-width: 100px;
    flex-shrink: 0;
}

.province-info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Analyze Another Button */
.analyze-another {
    text-align: center;
}

.analyze-another-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--bg-glass);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    color: var(--accent-gold);
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.analyze-another-btn:hover {
    background: rgba(245, 158, 11, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ===== Guide Section ===== */
.guide-section {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -1px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.guide-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.guide-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.guide-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.guide-item:hover::before {
    opacity: 1;
}

.guide-step {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 16px;
}

.guide-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.guide-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== About Section ===== */
.about-section {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 40px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value::after {
    content: '+';
    font-size: 24px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    z-index: 1;
    padding: 32px 0;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-note {
    margin-top: 8px;
    font-style: italic;
    opacity: 0.7;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    position: relative;
    z-index: 10;
    margin-top: 72px;
    padding: 10px 0;
    background: rgba(10, 10, 15, 0.75);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(8px);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    color: var(--text-muted);
    opacity: 0.4;
}

.breadcrumb-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb-list a:hover {
    color: var(--accent-gold);
}

.breadcrumb-list li:last-child {
    color: var(--accent-gold);
    font-weight: 500;
}

/* ===== SEO Content Section ===== */
.seo-content-section {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.seo-intro-text {
    max-width: 800px;
    margin: -24px auto 36px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.seo-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    margin-bottom: 40px;
}

.seo-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.seo-table th,
.seo-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.seo-table th {
    background: rgba(245, 158, 11, 0.08);
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.seo-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.seo-table tbody tr:last-child td {
    border-bottom: none;
}

.seo-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.seo-pairs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.seo-pair-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.seo-pair-item strong {
    color: var(--accent-gold);
    font-size: 16px;
    font-family: var(--font-mono);
}

.seo-pair-item:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ===== FAQ Section ===== */
.faq-section {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--border-accent);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    user-select: none;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    color: var(--accent-gold);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
}

.faq-answer strong {
    color: var(--accent-gold);
}

/* ===== Footer Nav ===== */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
        gap: 8px;
    }

    .nav {
        gap: 4px;
    }

    .nav-link {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero {
        padding: 120px 0 40px;
    }

    .input-card-inner {
        padding: 24px 16px;
    }

    .plate-number {
        font-size: 22px;
    }

    .result-header {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
        gap: 24px;
    }

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

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

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .price-value {
        font-size: 22px;
    }

    .result-plate {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .input-field {
        font-size: 16px;
        padding: 14px 40px 14px 16px;
    }
}

/* ===== Loading Animation ===== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    animation: fadeIn 0.3s ease;
}

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

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

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(245, 158, 11, 0.2);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

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

.loading-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    animation: pulse 1.5s ease-in-out infinite;
}

/* ===== Error Shake ===== */
.shake {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ===== Nav Contact & Admin Badges ===== */
.nav-btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.nav-btn-contact:hover {
    background: var(--accent-gold);
    color: #0a0a0f;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
    transform: translateY(-1px);
}

.nav-link-admin {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.nav-link-admin:hover {
    background: #a855f7;
    color: #fff;
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.45);
    transform: translateY(-1px);
}

/* ===== Contact Expert CTA Banner ===== */
.contact-expert-banner {
    position: relative;
    margin: 40px auto 30px;
    max-width: 900px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.7) 0%, rgba(20, 20, 32, 0.95) 100%);
    border: 1px solid rgba(168, 85, 247, 0.35);
    padding: 32px 36px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 35px rgba(168, 85, 247, 0.12);
    overflow: hidden;
}

.banner-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25), transparent 70%);
    pointer-events: none;
}

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

.banner-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
    margin-bottom: 12px;
}

.banner-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 30%, #fcd34d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 22px;
    max-width: 720px;
}

.banner-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.banner-contact-btn {
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
    transition: all var(--transition-fast);
}

.banner-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.5);
}

.banner-hotline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.banner-hotline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--accent-gold);
}

/* ===== Floating Contact Button ===== */
.floating-contact-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 990;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45), 0 0 20px rgba(239, 68, 68, 0.25);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-contact-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.6), 0 0 30px rgba(239, 68, 68, 0.4);
}

.floating-icon {
    font-size: 18px;
    line-height: 1;
}

.floating-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-full);
    border: 2px solid rgba(245, 158, 11, 0.6);
    animation: floatingRipple 2.2s infinite;
    pointer-events: none;
}

@keyframes floatingRipple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.3, 1.4); opacity: 0; }
}

/* ===== Contact Modal Overlay & Box ===== */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(14px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.contact-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.contact-modal-box {
    background: #12121a;
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 30px 24px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(245, 158, 11, 0.12);
    transform: scale(0.92) translateY(10px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-modal-overlay.active .contact-modal-box {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: var(--accent-red);
}

.modal-header {
    margin-bottom: 22px;
}

.modal-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
    margin-bottom: 8px;
}

.modal-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 580px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    .banner-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .banner-contact-btn {
        justify-content: center;
    }
    .banner-hotline {
        justify-content: center;
    }
    .floating-contact-btn .floating-label {
        display: none;
    }
    .floating-contact-btn {
        padding: 14px;
        bottom: 20px;
        right: 20px;
    }
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.contact-form .required {
    color: var(--accent-red);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(20, 20, 32, 0.9);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.contact-form select {
    cursor: pointer;
}

.contact-form select option {
    background: #12121a;
    color: var(--text-primary);
}

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.form-feedback {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.form-feedback.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.form-feedback.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.submit-contact-btn {
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius-md);
    cursor: pointer;
    margin-top: 4px;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.3);
}

.modal-footer-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
    font-size: 11px;
    color: var(--text-muted);
}
