/* assets/css/custom-theme.css */

:root {
    --primary-color: #0b1220;
    --secondary-color: #020617;
    --accent-color: #0f172a;
    --gold-accent: #eab308;
    --accent-strong: #e94560;
    --text-light: #e5e7eb;
    --success-color: #22c55e;
    --danger-color: #ef4444;
    --warning-color: #f97316;
    --info-color: #0ea5e9;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top left, #1e293b 0, #020617 40%, #000 100%);
    color: var(--text-light);
    min-height: 100vh;
}

/* Hero / background animation */

.hero-section {
    background: linear-gradient(-45deg, #0f172a, #1e1b4b, #6b21a8, #e11d48);
    background-size: 400% 400%;
    animation: gradient-shift 18s ease infinite;
    padding: 100px 0;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glass panels */

.glass-card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.8);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(234, 179, 8, 0.15), transparent 60%);
    opacity: 0.7;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.95);
}

/* Buttons */

.btn-premium {
    background: linear-gradient(135deg, #eab308, #e94560);
    border: none;
    padding: 12px 30px;
    border-radius: 999px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0b1120;
    box-shadow: 0 15px 35px rgba(234, 179, 8, 0.35);
    transition: all 0.25s ease;
}

.btn-premium:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 20px 45px rgba(234, 179, 8, 0.5);
    color: #020617;
}

.btn-outline-light {
    border-radius: 999px;
}

/* Forms */

.form-control, .form-select {
    background-color: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: #e5e7eb;
    border-radius: 999px;
    padding: 10px 16px;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(15, 23, 42, 1);
    border-color: #eab308;
    color: #f9fafb;
    box-shadow: 0 0 0 1px rgba(234, 179, 8, 0.5);
}

.input-group-text {
    background-color: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: #9ca3af;
}

/* Auth layout */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: radial-gradient(circle at top, #1f2937 0%, #020617 55%, #000000 100%);
}

.auth-logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.auth-logo span {
    color: #eab308;
}

.auth-subtitle {
    color: #9ca3af;
}

/* Badges & labels */

.badge-soft {
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge-soft-gold {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
}

.text-gold {
    color: #eab308 !important;
}

/* Calculator-specific bits (we'll reuse later) */

.preset-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.preset-card:hover {
    transform: translateY(-3px);
    border-color: #eab308;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.preset-card.selected {
    border-color: #eab308;
    box-shadow: 0 20px 50px rgba(234, 179, 8, 0.4);
}

.preset-roi {
    font-size: 1.7rem;
    font-weight: 700;
    color: #eab308;
}

/* Scrollbar */

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #020617;
}
::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Utility */

.text-muted {
    color: #9ca3af !important;
}

a {
    color: #eab308;
    text-decoration: none;
}

a:hover {
    color: #facc15;
    text-decoration: underline;
}