/* ============================================================
   GoldenNumbers — Clean Modern Number Valuation Page
   ============================================================ */

.main-content {
    max-width: 760px;
    margin: 2.5rem auto 4.5rem;
    padding: 0 1.25rem;
    position: relative;
}

/* Header */
.val-header-block {
    text-align: center;
    margin-bottom: 1.8rem;
}

.val-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(246, 196, 83, 0.08);
    border: 1px solid rgba(246, 196, 83, 0.25);
    color: var(--gold-2);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.val-title {
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: clamp(1.85rem, 3.6vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.55rem;
    letter-spacing: -0.02em;
}

.val-title span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.val-subtitle {
    color: var(--text-secondary);
    font-size: 0.96rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main Valuation Card */
.valuation-form {
    background: rgba(13, 18, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    margin-bottom: 1.75rem;
}

/* Clean Number Plate Preview (Clearly not an input box) */
.val-preview-box {
    background: linear-gradient(135deg, rgba(246, 196, 83, 0.08), rgba(15, 22, 38, 0.6));
    border: 1px dashed rgba(246, 196, 83, 0.28);
    border-radius: 14px;
    padding: 0.95rem 1.25rem;
    margin-top: 1.35rem;
    margin-bottom: 0;
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
}

.val-preview-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.55rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.val-pattern-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-2);
    background: rgba(246, 196, 83, 0.12);
    border: 1px solid rgba(246, 196, 83, 0.28);
    padding: 2px 10px;
    border-radius: 999px;
}

.val-plate-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.35rem 0;
}

.val-plate-prefix {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(246, 196, 83, 0.65);
    margin-right: 0.25rem;
}

.val-digit-slots {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.val-digit-slot {
    width: 26px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 1.55rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.18);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.18s ease;
}

.val-digit-slot:nth-child(4) {
    margin-right: 0.55rem;
}

.val-digit-slot.is-filled {
    color: var(--text-primary);
    border-bottom-color: rgba(255, 255, 255, 0.35);
}

.val-digit-slot.is-lucky {
    color: var(--gold-2);
    border-bottom-color: var(--gold-2);
    text-shadow: 0 0 12px rgba(246, 196, 83, 0.35);
}

/* Input Row */
.val-input-row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    margin-bottom: 1rem;
}

.val-input-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.val-prefix {
    position: absolute;
    left: 1rem;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--gold-2);
    padding-right: 0.65rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

#phoneNumber {
    width: 100%;
    padding: 0.95rem 1rem 0.95rem 4.3rem;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    border-radius: 12px;
    background: rgba(7, 10, 19, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

#phoneNumber:focus {
    outline: none;
    border-color: var(--gold-2);
    box-shadow: 0 0 0 3px rgba(246, 196, 83, 0.14);
}

.click-button {
    padding: 0 1.6rem;
    background: var(--gold-gradient);
    color: #090d16;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    font-size: 0.96rem;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 6px 18px rgba(246, 196, 83, 0.24);
    white-space: nowrap;
}

.click-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(246, 196, 83, 0.36);
}

/* Sample Numbers */
.val-samples {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.val-sample-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.val-sample-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.val-sample-chip:hover {
    color: var(--gold-2);
    border-color: rgba(246, 196, 83, 0.45);
    background: rgba(246, 196, 83, 0.08);
}

/* Result Container */
.result-container {
    display: none;
    background: rgba(13, 18, 32, 0.88);
    border: 1px solid rgba(246, 196, 83, 0.26);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.48);
    text-align: center;
}

.loader {
    display: none;
    width: 38px;
    height: 38px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--gold-2);
    border-radius: 50%;
    margin: 1.5rem auto;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.val-result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.val-result-phone {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.val-result-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.range-values {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: clamp(1.9rem, 4.2vw, 2.7rem);
    font-weight: 700;
    margin: 0.4rem 0 1.25rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.val-gauge-box {
    background: rgba(7, 10, 19, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.25rem;
}

.range-bar {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.range-bar-fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--gold-gradient);
    opacity: 0.9;
}

.range-bar-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--gold-2);
    box-shadow: 0 0 10px rgba(246, 196, 83, 0.7);
    transform: translate(-50%, -50%);
    transition: left 0.5s ease;
}

.range-ends {
    display: flex;
    justify-content: space-between;
    margin-top: 0.65rem;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 3 Clean Value Cards */
.val-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.val-metric-card {
    background: rgba(7, 10, 19, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 0.95rem;
}

.val-metric-card.is-primary {
    border-color: rgba(246, 196, 83, 0.4);
    background: rgba(246, 196, 83, 0.06);
}

.val-metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.val-metric-value {
    display: block;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.val-metric-card.is-primary .val-metric-value {
    color: var(--gold-2);
}

/* Action Buttons */
.val-result-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 1.4rem 0 1.1rem;
}

.val-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.val-action-btn.is-gold {
    background: var(--gold-gradient);
    color: #090d16;
}

.val-action-btn.is-outline {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.val-action-btn.is-outline:hover {
    border-color: var(--gold-2);
    color: var(--gold-2);
}

.val-disclaimer {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* Inline Similar Numbers Section */
.val-similar-section {
    display: none;
    max-width: 1120px;
    margin: 2rem auto 4rem;
    padding: 0 1.25rem;
}

.val-similar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.val-similar-title {
    margin: 0;
    font-family: var(--font-display, 'Space Grotesk', sans-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.val-similar-title span {
    color: var(--gold-2);
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
}

.val-similar-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gold-2);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(246, 196, 83, 0.35);
    background: rgba(246, 196, 83, 0.08);
    transition: all 0.2s ease;
}

.val-similar-more:hover {
    background: rgba(246, 196, 83, 0.18);
    border-color: var(--gold-2);
}

@media (max-width: 640px) {
    .val-input-row {
        flex-direction: column;
    }

    .click-button {
        padding: 0.95rem;
    }

    .val-digit-slot {
        height: 44px;
        font-size: 1.15rem;
    }

    .val-metrics-grid {
        grid-template-columns: 1fr;
    }
}
