* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    height: 100%;
}

.top-banner,
.bottom-banner {
    min-height: 90px;
    max-height: 250px;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.ad-space {
    background: #ddd;
    color: #333;
    border: 1px dashed #888;
    width: 95%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0066cc;
    color: #fff;
    padding: 10px 20px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: color .3s;
}

.nav-links a:hover {
    color: #010056;
}

.hamburger {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

.main-container {
    display: flex;
    min-height: 66vh;
}

.left-banner {
    min-width: 160px;
    max-width: 300px;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-shrink: 0;
}

.dlc-section {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 24px 24px;
    background: linear-gradient(120deg, #e3f2fd 0%, #f5f5f5 100%);
}

.dlc-card {
    background: none;
    max-width: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.dlc-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    position: relative;
    flex-wrap: wrap;
}

.dlc-title {
    font-size: 2.15rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #0066cc;
}

.dlc-info-trigger {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #0066cc;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #e3f2fd 70%);
    color: #0066cc;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    transition: transform .35s, box-shadow .35s;
}

.dlc-info-trigger:hover,
.dlc-info-trigger:focus-visible {
    transform: translateY(-3px) scale(1.06);
    outline: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}

.dlc-info-trigger:active {
    transform: scale(.93);
}

.dlc-info-flyout {
    position: absolute;
    top: 55px;
    left: 0;
    background: #ffffffee;
    backdrop-filter: blur(6px);
    border: 1px solid #c5d8e6;
    border-radius: 18px;
    padding: 18px 20px 16px;
    width: min(620px, 90vw);
    box-shadow: 0 10px 36px rgba(0, 0, 0, .15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(.98);
    transition: opacity .55s, transform .55s;
    z-index: 40;
}

.dlc-title-row:hover .dlc-info-flyout,
.dlc-info-trigger:focus+.dlc-info-flyout,
.dlc-info-trigger:focus-visible+.dlc-info-flyout {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.dlc-info-flyout h2 {
    font-size: 1.15rem;
    color: #0066cc;
    margin-bottom: 6px;
}

.dlc-info-flyout p {
    font-size: .9rem;
    color: #222;
    line-height: 1.35;
    margin-bottom: 10px;
}

.dlc-info-flyout ul {
    list-style: disc;
    margin: 0 0 10px 18px;
    padding: 0;
    font-size: .8rem;
}

.dlc-info-flyout .disclaimer {
    font-size: .62rem;
    letter-spacing: .6px;
    text-transform: uppercase;
    opacity: .85;
}

.dlc-interaction-row {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 28px;
    flex-wrap: wrap;
}

@media (min-width:980px) {
    .dlc-interaction-row {
        flex-wrap: nowrap;
    }
}

.dlc-form {
    width: 100%;
    max-width: auto;;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #e3f2fd;
    border-radius: 14px;
    padding: 18px 16px 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.dlc-form .input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dlc-form label {
    font-size: .95rem;
    font-weight: 500;
    color: #333;
}

.dlc-form .input-row {
    display: flex;
    gap: 8px;
}

.dlc-form input[type=text],
.dlc-form select {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1.5px solid #b0bec5;
    font-size: .95rem;
    background: #f7fafd;
    color: #222;
    transition: border .3s;
}

.dlc-form input:focus,
.dlc-form select:focus {
    border: 1.5px solid #0066cc;
    outline: none;
}

.dlc-btn {
    margin-top: 4px;
    padding: 11px 0;
    background: linear-gradient(90deg, #0066cc 60%, #333 100%);
    color: #fff;
    font-size: 1.02rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transition: background .35s, transform .25s;
}

.dlc-btn:hover {
    background: linear-gradient(90deg, #004a94 60%, #111 100%);
    transform: translateY(-2px) scale(1.03);
}

.dlc-result-container {
    width: 100%;
    max-width: 360px;
    background: linear-gradient(140deg, #f0f7ff 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 18px 16px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
    display: none;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: scale(.95) translateY(40px);
    pointer-events: none;
    transition: opacity .7s cubic-bezier(.42, 0, .58, 1), transform .7s cubic-bezier(.42, 0, .58, 1);
}

.dlc-result-container.show {
    display: flex;
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    animation: acPop 1.05s cubic-bezier(.42, 0, .58, 1);
}

.dlc-main-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 14px;
    width: 100%;
}

.dlc-result-label {
    font-size: .9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #0066cc;
    letter-spacing: .6px;
}

.dlc-result-value {
    font-size: 2.1rem;
    font-weight: 800;
    color: #222;
    letter-spacing: 1px;
    margin-bottom: 4px;
    animation: fadeInNum 1.1s;
}

.dlc-breakdown {
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dlc-row {
    display: flex;
    justify-content: space-between;
    font-size: .72rem;
    background: #e8f3fb;
    padding: 6px 8px;
    border-radius: 8px;
    letter-spacing: .4px;
    color: #1d3f55;
}

.dlc-row span:last-child {
    font-weight: 600;
}

.dlc-disclaimer {
    margin-top: 10px;
    font-size: .55rem;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #555;
    text-align: center;
}

@keyframes acPop {
    0% {
        opacity: 0;
        transform: scale(.8) translateY(60px);
    }

    60% {
        opacity: 1;
        transform: scale(1.05) translateY(-8px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeInNum {
    from {
        opacity: 0;
        transform: scale(.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hide bottom banner on desktop (850px and above) */
@media (min-width:850px) {
    .bottom-banner {
        display: none;
    }
}

/* Hide left banner on mobile (below 900px) */
@media (max-width:900px) {
    .left-banner {
        display: none;
    }

    /* Show bottom banner on mobile */
    .bottom-banner {
        display: flex;
    }

    .dlc-section {
        padding: 30px 18px 18px;
    }
}

@media (max-width:700px) {
    .dlc-form {
        max-width: 100%;
    }

    .dlc-result-container {
        max-width: 100%;
    }

    .dlc-title {
        font-size: 1.7rem;
    }
}

@media (max-width:850px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        background: #0066cc;
        position: absolute;
        top: 157px;
        width: 30%;
        padding: 10px 0 10px 14px;
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }
}

.layout-shell {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content-row {
    flex: 1 1 auto;
    display: flex;
    min-height: 0;
}

.scroll-panel {
    background: linear-gradient(120deg, #e3f2fd 0%, #f5f5f5 100%);
    flex: 1 1 auto;
    min-width: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 0 30% 0;
}