/* Age Calculator - Premium Wedding Theme (scoped to this tool) */

.age-result-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 245, 0.9));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 169, 55, 0.15);
}

/* Big years / months / days display */
.age-big-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.25rem;
    line-height: 1;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #7f1d2d, #4c0519);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.age-big-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: #9c6b6b;
    margin-top: 0.35rem;
}

.age-big-separator {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 700;
    color: #d4a926;
    padding-bottom: 1.4rem;
}

@media (min-width: 768px) {
    .age-big-number {
        font-size: 4.25rem;
    }
}

/* Mode toggle (Age / Age Difference) */
.age-mode-toggle {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.3rem;
    background: #fff;
    border: 1px solid rgba(212, 169, 55, 0.35);
    border-radius: 9999px;
    box-shadow: 0 1px 3px rgba(76, 5, 25, 0.08);
}

.age-mode-btn {
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #7f1d2d;
    background: transparent;
    transition: all 0.25s ease;
}

.age-mode-btn:hover {
    background: #fdf6ec;
}

.age-mode-btn.age-mode-active {
    background: linear-gradient(135deg, #7f1d2d, #4c0519);
    color: #fff;
    box-shadow: 0 4px 12px rgba(76, 5, 25, 0.25);
}

/* Result entrance animation */
#ageResult.result-appear,
#ageDiffResult.result-appear {
    animation: ageFadeUp 0.5s ease both;
}

@keyframes ageFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
