* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

.container {
    width: min(100% - 40px, 1000px);
    margin: 0 auto;
}

/* -------------------------
       HERO
    ------------------------- */

.hero {
    text-align: center;
    border-bottom: 5px solid #000;
    padding: 24px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px 24px;
}

.logo {
    margin: 0;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.tagline {
    margin: 0;
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.3;
    font-weight: 700;
}

.intro {
    max-width: 680px;
    margin: 0 auto 40px;
    font-size: 20px;
    text-align: center;
}

/* -------------------------
       STATUS
    ------------------------- */

.status-box {
    max-width: 650px;
    margin: 40px auto 0;
    border: 5px solid #000;
    padding: 30px;
    text-align: center;
}

.status-small {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.current-price {
    margin: 10px 0;
    font-size: clamp(60px, 10vw, 100px);
    line-height: 1;
    font-weight: 900;
}

.buy-button {
    display: inline-block;
    margin-top: 20px;
    padding: 18px 30px;
    background: #000;
    color: #fff;
    border: 3px solid #000;
    text-decoration: none;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    transition: 0.15s ease;
}

.buy-button:hover {
    background: #fff;
    color: #000;
}

.revenue {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 700;
}

/* -------------------------
       GENERAL SECTIONS
    ------------------------- */

section {
    padding: 90px 0;
    border-bottom: 3px solid #000;
}

.section-title {
    margin: 0 0 50px;
    text-align: center;
    font-size: clamp(42px, 7vw, 75px);
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -3px;
}

.section-intro {
    max-width: 700px;
    margin: -25px auto 50px;
    text-align: center;
    font-size: 19px;
}

/* -------------------------
       BANNERS
    ------------------------- */

#banners {
    padding: 28px 0 50px;
}

#banners .section-intro {
    margin: 0 auto 22px;
    font-size: 16px;
}

.banner-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* Keep only banners #1 and #2 visible. */
.banner-list > .banner:nth-last-child(n + 3) {
    display: none;
}

.banner {
    width: min(100%, 728px);
    height: 90px;
    flex-shrink: 0;
    border: 4px solid #000;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 140px;
    align-items: center;
    padding: 8px 16px;
}

.banner-number {
    font-size: 34px;
    font-weight: 900;
}

.banner-price {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 900;
}

.banner-name {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.banner-status {
    text-align: right;
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
}

.locked {
    background:
        repeating-linear-gradient(-45deg,
            #fff,
            #fff 10px,
            #f2f2f2 10px,
            #f2f2f2 20px);
}

.available {
    border-width: 7px;
}

.available .banner-status {
    font-size: 22px;
}

.banner-small {
    width: min(100%, 468px);
    height: 60px;
    grid-template-columns: 50px minmax(0, 1fr) 100px;
    padding: 4px 10px;
}

.banner-small .banner-number {
    font-size: 22px;
}

.banner-small .banner-price {
    font-size: 20px;
    line-height: 1.1;
}

.banner-small .banner-name {
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0;
}

.banner-small .banner-status {
    font-size: 12px;
}

.sold {
    background: #000;
    color: #fff;
}

.sold a {
    color: #fff;
}

.advertiser {
    font-size: 22px;
    font-weight: 900;
}

.advertiser-sub {
    margin-top: 4px;
    font-size: 14px;
}

/* -------------------------
       HOW IT WORKS
    ------------------------- */

.rules {
    max-width: 800px;
    margin: 0 auto;
}

.rule {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 25px;
    padding: 35px 0;
    border-bottom: 2px solid #000;
}

.rule:last-child {
    border-bottom: 0;
}

.rule-number {
    font-size: 60px;
    line-height: 1;
    font-weight: 900;
}

.rule h3 {
    margin: 0 0 8px;
    font-size: 25px;
}

.rule p {
    margin: 0;
    font-size: 18px;
}

/* -------------------------
       PRICE LADDER
    ------------------------- */

.price-ladder {
    max-width: 700px;
    margin: 0 auto;
    border-top: 4px solid #000;
}

.price-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 5px;
    border-bottom: 2px solid #000;
    font-size: 20px;
    font-weight: 700;
}

.price-row:last-child {
    font-size: 27px;
    font-weight: 900;
}

.total {
    margin-top: 50px;
    text-align: center;
}

.total-label {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.total-number {
    margin-top: 10px;
    font-size: clamp(45px, 9vw, 90px);
    line-height: 1;
    font-weight: 900;
}

/* -------------------------
       HISTORY
    ------------------------- */

.history {
    max-width: 800px;
    margin: 0 auto;
}

.history-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 2px solid #000;
}

.history-number {
    font-size: 25px;
    font-weight: 900;
}

.history-name {
    font-weight: 900;
    font-size: 18px;
}

.history-details {
    font-size: 14px;
}

.history-status {
    font-weight: 900;
    text-transform: uppercase;
}

/* -------------------------
       FINAL CTA
    ------------------------- */

.final-cta {
    text-align: center;
}

.purchase-contact {
    margin-top: 25px;
    text-align: center;
}

#purchase a:not(.buy-button) {
    overflow-wrap: anywhere;
}

.final-cta p {
    max-width: 650px;
    margin: 0 auto 25px;
    font-size: 20px;
}

/* -------------------------
       FOOTER
    ------------------------- */

#advertising-rules .section-title {
    font-size: clamp(28px, 5vw, 42px);
    letter-spacing: -1px;
    margin-bottom: 30px;
}

#advertising-rules .section-intro {
    font-size: 16px;
    margin: 0 auto 24px;
}

.advertising-rules-list {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 24px;
    font-size: 15px;
}

.advertising-rules-list li {
    padding-left: 4px;
    margin-bottom: 16px;
}

.advertising-rules-list li:last-child {
    margin-bottom: 0;
}

footer {
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    margin: 0 10px;
    font-weight: 700;
}

/* -------------------------
       MOBILE
    ------------------------- */

@media (max-width: 700px) {

    .container {
        width: min(100% - 24px, 1000px);
    }

    .logo {
        letter-spacing: -2px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero {
        padding: 18px 0;
    }

    .banner {
        grid-template-columns: 40px minmax(0, 1fr) 74px;
        gap: 8px;
        padding: 8px;
    }

    .banner-number {
        font-size: 22px;
    }

    .banner-small {
        padding: 4px 8px;
    }

    .banner-price {
        font-size: clamp(18px, 4vw, 28px);
    }

    .banner-name {
        font-size: 10px;
        letter-spacing: 0;
    }

    .banner-status {
        font-size: 12px;
    }

    .available .banner-status {
        font-size: 13px;
    }

    .rule {
        grid-template-columns: 60px 1fr;
    }

    .rule-number {
        font-size: 45px;
    }

    .history-item {
        grid-template-columns: 55px 1fr;
    }

    .history-status {
        grid-column: 2;
    }
}

.status-small.banner-availability {
    margin-top: 20px;
}
