﻿:root { --primary-blue: #1a237e; --primary-pink: #d81b60; --primary-green: #00c853; --bg-light: #f8f9fc; --text-dark: #2d3748; --text-muted: #718096; --white: #ffffff; --shadow-sm: 0 4px 6px rgba(0,0,0,0.05); --shadow-lg: 0 15px 35px rgba(0,0,0,0.08); --radius: 16px; }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: 'Segoe UI', system-ui, sans-serif;
            background:
                radial-gradient(38rem 38rem at 8% 10%, rgba(236, 64, 122, 0.16), transparent 60%),
                radial-gradient(34rem 34rem at 92% 8%, rgba(26, 35, 126, 0.15), transparent 58%),
                radial-gradient(28rem 28rem at 14% 78%, rgba(63, 81, 181, 0.11), transparent 56%),
                radial-gradient(24rem 24rem at 88% 68%, rgba(216, 27, 96, 0.08), transparent 54%),
                linear-gradient(180deg, #ffffff 0%, #eef3fb 55%, #f8f9fc 100%);
            background-attachment: fixed;
            position: relative;
            overflow-x: hidden;
            isolation: isolate;
            color: var(--text-dark);
            line-height: 1.6;
        }
        body::before,
        body::after {
            content: '';
            position: fixed;
            border-radius: 999px;
            pointer-events: none;
            filter: blur(4px);
            z-index: 0;
        }
        body::before {
            width: 260px;
            height: 260px;
            top: -90px;
            right: -70px;
            background: linear-gradient(135deg, rgba(216, 27, 96, 0.18), rgba(236, 64, 122, 0.02));
        }
        body::after {
            width: 220px;
            height: 220px;
            left: -60px;
            bottom: -80px;
            background: linear-gradient(135deg, rgba(26, 35, 126, 0.14), rgba(63, 81, 181, 0.02));
        }
        body > * { position: relative; z-index: 1; }
        .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
        header { background: var(--white); padding: 12px 0; box-shadow: var(--shadow-sm); margin-bottom: 25px; position: relative; z-index: 10; }
        .header-content { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
        .logo { font-size: 28px; font-weight: 900; color: var(--primary-blue); text-decoration: none; letter-spacing: -1px; }
        .logo span { color: var(--primary-pink); }
        .header-actions { display: flex; align-items: center; gap: 12px; }
        .back-link { color: var(--text-muted); text-decoration: none; font-weight: 600; transition: color 0.2s; font-size: 0.95rem; }
        .back-link:hover { color: var(--primary-blue); }
        .btn-alert { background-color: var(--primary-pink); color: white; border: none; padding: 10px 16px; border-radius: 8px; font-weight: bold; font-size: 0.95rem; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background 0.2s; white-space: nowrap; text-decoration: none; }
        .btn-alert:hover { background-color: #ad1457; }
        .page-title { text-align: center; color: var(--primary-blue); margin: 0 0 22px; font-size: clamp(2rem, 4vw, 2.7rem); letter-spacing: -0.02em; }
        .calc-widget { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); margin-bottom: 35px; display: flex; overflow: hidden; }
        .calc-controls { flex: 1; padding: 25px 30px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
        .control-group { position: relative; }
        .value-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 10px; }
        .value-header label { font-size: 1.05rem; font-weight: 600; color: var(--text-muted); }
        .current-val { font-size: 2rem; font-weight: 800; color: var(--primary-blue); line-height: 1; }
        input[type=range] { appearance: none; -webkit-appearance: none; width: 100%; background: transparent; }
        input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 26px; width: 26px; border-radius: 50%; background: var(--primary-pink); cursor: pointer; margin-top: -10px; box-shadow: 0 4px 8px rgba(216, 27, 96, 0.4); border: 3px solid var(--white); transition: transform 0.1s; }
        input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.1); }
        input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 6px; cursor: pointer; background: #e2e8f0; border-radius: 4px; }
        .tip-box { background-color: #e8f5e9; border-left: 4px solid var(--primary-green); padding: 12px 15px; border-radius: 8px; display: flex; align-items: flex-start; gap: 12px; margin-top: 10px; }
        .tip-box i { font-size: 1.2rem; font-style: normal; }
        .tip-box p { margin: 0; font-size: 0.85rem; color: #1b5e20; line-height: 1.4; }
        .calc-result { width: 340px; background: linear-gradient(145deg, var(--primary-blue), #283593); color: var(--white); padding: 30px; display: flex; flex-direction: column; justify-content: center; text-align: center; position: relative; transition: 0.3s; }
        .result-badge { align-self: center; background: rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; margin-bottom: 18px; }
        .result-title { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.9; margin-bottom: 8px; }
        .payment-amount { font-size: 3rem; font-weight: 900; line-height: 1; margin-bottom: 5px; color: #64ffda; transition: 0.3s; }
        .payment-amount span { font-size: 1.3rem; opacity: 0.8; font-weight: 600; color: white; }
        .payment-note { font-size: 0.85rem; opacity: 0.8; margin-top: 15px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.1); }
        .best-bank-name { font-weight: bold; font-size: 1.05rem; color: #fff; display: block; margin-top: 5px; }
        .section-title { margin-bottom: 20px; color: var(--primary-blue); font-size: 1.4rem; }
        #results-container { display: flex; flex-direction: column; }
        .bank-card { background: var(--white); border-radius: 12px; box-shadow: var(--shadow-sm); margin-bottom: 20px; border: 1px solid #edf2f7; transition: transform 0.2s, box-shadow 0.2s; overflow: hidden; }
        .bank-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
        .bank-card.best-choice { border: 2px solid var(--primary-green); }
        .bank-card-premium { box-shadow: 0 16px 36px rgba(143, 107, 22, 0.14); }
        .bank-card-expired { filter: grayscale(1); opacity: 0.72; box-shadow: 0 10px 24px rgba(60, 66, 87, 0.1); }
        .bank-card-expired:hover { transform: none; }
        .bank-card-expired .btn-primary,
        .bank-card-expired .btn-secondary { background: linear-gradient(135deg, #a7afbf, #c5cad4); color: #fff; border-color: #a7afbf; box-shadow: none; }
        .promo-bar { background: #5c6bc0; color: white; padding: 8px 25px; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 10px; }
        .promo-tag { background: rgba(255,255,255,0.25); padding: 2px 8px; border-radius: 4px; text-transform: uppercase; font-size: 0.7rem; }
        .card-body { display: grid; grid-template-columns: 160px 1fr 160px 200px; padding: 20px 25px; align-items: center; gap: 20px; }
        .bank-info img { max-width: 120px; margin-bottom: 6px; }
        .bank-info strong { font-size: 1.05rem; color: var(--primary-blue); }
        .premium-badge { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, #8f6b16, #f4d57a); color: #3f2f06; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
        .details-list { border-left: 2px solid #f7fafc; padding-left: 15px; }
        .details-list p { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 6px; border-bottom: 1px dashed #edf2f7; padding-bottom: 4px; }
        .details-list span { font-weight: 700; color: var(--text-dark); }
        .yield-box { text-align: center; background: #f0fdf4; padding: 12px; border-radius: 10px; border: 1px solid #bbf7d0; }
        .yield-value { font-size: 1.8rem; font-weight: 900; color: var(--primary-green); line-height: 1; }
        .yield-label { font-size: 0.75rem; color: #166534; font-weight: 600; text-transform: uppercase; margin-top: 5px; }
        .action-box { display: flex; flex-direction: column; gap: 10px; }
        .btn-primary { background: linear-gradient(135deg, var(--primary-blue), #3f51b5); color: white; border: none; padding: 12px; border-radius: 8px; font-weight: bold; font-size: 1rem; cursor: pointer; width: 100%; transition: transform 0.1s, box-shadow 0.2s; box-shadow: 0 4px 10px rgba(26, 35, 126, 0.2); }
        .btn-primary:hover { box-shadow: 0 6px 15px rgba(26, 35, 126, 0.3); transform: translateY(-2px); }
        .btn-secondary { background: transparent; color: var(--primary-pink); border: 2px solid var(--primary-pink); padding: 10px; border-radius: 8px; font-weight: bold; font-size: 0.9rem; cursor: pointer; width: 100%; transition: background 0.2s; }
        .btn-secondary:hover { background: #fce4ec; }
        @media (max-width: 950px) { .calc-widget { flex-direction: column; } .calc-result { width: 100%; } .card-body { grid-template-columns: 1fr 1fr; gap: 20px; } .details-list { border-left: none; padding-left: 0; } }
