:root {
    --rusties-maroon: #7b1026;
    --rusties-maroon-dark: #510814;
    --rusties-blue: #1759a3;
    --rusties-gold: #f5b52b;
    --rusties-black: #101010;
    --rusties-cream: #f5f0e8;
    --rusties-white: #ffffff;
}

body {
    background: var(--rusties-cream);
    color: var(--rusties-black);
}

/* HEADER */

.rusties-navbar {
    width: 100%;
    min-height: 86px;
    padding: 8px 0;
    border-bottom: 4px solid var(--rusties-gold);
    background: linear-gradient(
        90deg,
        #050505,
        var(--rusties-black) 55%,
        var(--rusties-maroon-dark)
    );
}

.rusties-navbar .rusties-logo {
    display: block !important;
    width: 105px !important;
    height: 64px !important;
    max-width: 105px !important;
    max-height: 64px !important;
    object-fit: contain !important;
}

.rusties-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.rusties-brand-text {
    color: white;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 2px;
}

.rusties-nav-link {
    color: white !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

.rusties-nav-link:hover {
    color: var(--rusties-gold) !important;
}

.rusties-buy-button {
    padding: 11px 20px;
    border: 2px solid var(--rusties-gold);
    border-radius: 6px;
    background: var(--rusties-gold);
    color: var(--rusties-black);
    font-weight: 900;
}

.rusties-buy-button:hover {
    background: var(--rusties-maroon);
    color: white;
}

/* HERO */

.rusties-hero {
    width: 100%;
    color: white;
    background:
        radial-gradient(
            circle at 85% 45%,
            rgba(123, 16, 38, .8),
            transparent 38%
        ),
        linear-gradient(
            125deg,
            #050505 0%,
            #151515 55%,
            #510814 100%
        );
}

.rusties-open {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--rusties-gold);
    color: var(--rusties-black);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
}

.rusties-kicker {
    margin-top: 24px;
    color: var(--rusties-gold);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 3px;
}

.rusties-main-heading {
    margin: 8px 0;
    color: white;
    font-size: clamp(64px, 8vw, 120px);
    line-height: .9;
    font-weight: 900;
    letter-spacing: -3px;
}

.rusties-support-line {
    color: #5c82ff;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
}

.major-offer {
    display: inline-block;
    margin: 24px 0;
    padding: 18px 24px;
    border: 1px solid rgba(245,181,43,.5);
    border-radius: 12px;
    background: rgba(123,16,38,.6);
}

.major-offer-small {
    color: var(--rusties-gold);
    font-size: 12px;
    font-weight: 900;
}

.major-offer-main {
    font-size: 30px;
    font-weight: 900;
}

.raffle-summary {
    padding: 32px;
    border: 1px solid rgba(245,181,43,.4);
    border-radius: 18px;
    background: rgba(0,0,0,.55);
}

.summary-price {
    color: var(--rusties-gold);
    font-size: 76px;
    font-weight: 900;
}

/* PRIZES */

.prize-card {
    border: 0;
    border-top: 5px solid var(--rusties-maroon);
    border-radius: 12px;
    background: white;
}

.prize-number {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--rusties-blue);
    color: white;
    font-size: 12px;
    font-weight: 800;
}

/* MAJOR DRAW */

.major-draw-section {
    color: white;
    background: linear-gradient(
        125deg,
        #050505,
        var(--rusties-maroon-dark)
    );
}

.major-example {
    height: 100%;
    padding: 20px;
    border: 1px solid rgba(245,181,43,.4);
    border-radius: 12px;
    background: rgba(255,255,255,.07);
}

.major-example strong {
    color: var(--rusties-gold);
    font-size: 32px;
}

/* BUTTONS */

.btn-warning {
    border-color: var(--rusties-gold);
    background: var(--rusties-gold);
    color: var(--rusties-black);
}

.btn-success {
    border-color: var(--rusties-maroon);
    background: var(--rusties-maroon);
    color: white;
}

.btn-outline-success {
    border-color: var(--rusties-maroon);
    color: var(--rusties-maroon);
}

@media (max-width: 576px) {
    .rusties-navbar .rusties-logo {
        width: 80px !important;
        height: 50px !important;
    }

    .rusties-main-heading {
        font-size: 60px;
    }

    .rusties-support-line {
        font-size: 18px;
    }
}

/* Typography and spacing refinements */

.rusties-hero .lead {
    display: block;
    margin-top: 18px !important;
    margin-bottom: 8px !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
}

.rusties-support-line {
    display: block;
    margin-top: 10px !important;
    margin-bottom: 12px !important;
    color: #6687ff !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: 2px !important;
}

.major-offer {
    display: block !important;
    width: 100%;
    max-width: 620px;
    margin-top: 28px !important;
    margin-bottom: 28px !important;
    padding: 24px 28px !important;
}

.major-offer-small {
    display: block;
    margin-bottom: 8px !important;
    color: var(--rusties-gold) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    letter-spacing: 1.5px !important;
}

.major-offer-main {
    display: block;
    margin-bottom: 10px !important;
    color: white !important;
    font-size: 30px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
}

.major-offer div:last-child {
    display: block;
    color: white !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.rusties-hero .btn {
    min-width: 165px;
    padding: 13px 28px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: center;
    white-space: nowrap;
}

.rusties-main-heading {
    margin-bottom: 12px !important;
}

@media (max-width: 576px) {
    .rusties-support-line {
        font-size: 19px !important;
    }

    .rusties-hero .lead {
        font-size: 16px !important;
    }

    .major-offer-main {
        font-size: 25px !important;
    }

    .major-offer div:last-child {
        font-size: 19px !important;
    }
}

/* Fix duplicated/overlapping CTA text */

.rusties-hero .btn,
.rusties-buy-button {
    text-shadow: none !important;
    box-shadow: none;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}

.rusties-hero .btn::before,
.rusties-hero .btn::after,
.rusties-buy-button::before,
.rusties-buy-button::after {
    content: none !important;
    display: none !important;
}

.major-offer,
.major-offer * {
    text-shadow: none !important;
}

.major-offer::before,
.major-offer::after,
.major-offer *::before,
.major-offer *::after {
    content: none !important;
    display: none !important;
}

.major-offer > div {
    position: static !important;
    transform: none !important;
}

.major-offer div:last-child {
    display: block !important;
    margin-top: 8px !important;
    font-size: 22px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
}

.rusties-hero .btn-warning {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    min-height: 52px;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

/* Sponsors */

.rusties-sponsors {
    background: #ffffff;
    border-top: 4px solid var(--rusties-gold);
}

.sponsor-kicker {
    color: var(--rusties-maroon);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
}

.sponsor-heading {
    margin-top: 8px;
    color: var(--rusties-black);
    font-size: 36px;
    font-weight: 900;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.sponsor-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    padding: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dedede;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.sponsor-card img {
    display: block;
    width: 100%;
    height: 115px;
    object-fit: contain;
}

.sponsor-card:hover {
    border-color: var(--rusties-gold);
    box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

@media (max-width: 991px) {
    .sponsor-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .sponsor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .sponsor-card {
        min-height: 130px;
        padding: 15px;
    }

    .sponsor-card img {
        height: 90px;
    }

    .sponsor-heading {
        font-size: 28px;
    }
}

/* Draw schedule */

.draw-schedule {
    margin-top: 24px;
}

.draw-schedule-title {
    margin-bottom: 14px;
    color: var(--rusties-white);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
}

.draw-schedule-title.major {
    color: var(--rusties-gold);
}

.draw-divider {
    margin: 24px 0;
    border-color: rgba(255, 255, 255, .3);
}

.major-draw-rule {
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(245, 181, 43, .15);
    color: var(--rusties-gold);
    font-weight: 800;
}

.draw-schedule strong {
    margin-left: 20px;
    text-align: right;
}

/* Full raffle title in header */

.rusties-brand-text {
    max-width: 420px;
    color: var(--rusties-white);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: normal;
}

@media (max-width: 576px) {
    .rusties-brand-text {
        max-width: 190px;
        font-size: 10px;
        line-height: 1.2;
        letter-spacing: .7px;
    }
}

/* Admin dashboard */

.admin-stat-card {
    height: 100%;
    padding: 22px;
    border-top: 5px solid var(--rusties-maroon);
    border-radius: 12px;
    background: white;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.admin-stat-card span {
    display: block;
    color: #666;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-stat-card strong {
    display: block;
    margin-top: 6px;
    color: var(--rusties-black);
    font-size: 32px;
    font-weight: 900;
}

.admin-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid #eeeeee;
}

.admin-row:last-child {
    border-bottom: 0;
}

.admin-table-header {
    padding: 16px 20px;
    background: var(--rusties-maroon);
    color: white;
    font-size: 18px;
}
