@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Orbitron:wght@600;700;800;900&display=swap');

:root {
    --rose: #e8175d;
    --rose-dark: #a90f46;
    --pink: #ff4f91;
    --gold: #f7c948;
    --ink: #17131a;
    --muted: #756d78;
    --surface: #ffffff;
    --soft: #fff5f8;
    --line: #f0dce4;
    --green: #1fb875;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--ink);
    font-family: Inter, Arial, sans-serif;
    background:
        radial-gradient(circle at 5% 8%, rgba(255, 95, 150, .18), transparent 28%),
        radial-gradient(circle at 94% 12%, rgba(247, 201, 72, .16), transparent 24%),
        linear-gradient(135deg, #fff8fb, #f7edf4 50%, #fff);
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    width: min(1180px, calc(100% - 28px));
    margin: 14px auto 0;
    background: rgba(255,255,255,.93);
    border: 1px solid rgba(231,23,93,.12);
    border-radius: 24px;
    box-shadow: 0 18px 60px rgba(95, 21, 55, .12);
    overflow: hidden;
}

.top-strip {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    color: white;
    background: #211a21;
    font-size: 12px;
    font-weight: 700;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff315f;
    box-shadow: 0 0 0 5px rgba(255,49,95,.13);
    animation: pulse 1.3s infinite;
}

.top-info {
    display: flex;
    gap: 22px;
}

.top-info strong {
    margin-left: 5px;
    color: #f7c948;
}

.brand {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px;
}

.brand-mark {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--rose), var(--rose-dark));
    color: white;
    font-size: 34px;
    box-shadow: 0 12px 30px rgba(232,23,93,.25);
}

.brand h1 {
    font-family: Orbitron, sans-serif;
    font-size: clamp(30px, 5vw, 58px);
    line-height: .95;
    letter-spacing: 2px;
    color: var(--rose);
}

.brand h1 span {
    color: #262029;
}

.brand p {
    margin-top: 8px;
    color: #8e6c7a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 5px;
}

.main-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #29242a;
}

.main-nav a {
    padding: 15px 10px;
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    transition: .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--rose);
}

.hero {
    width: min(1180px, calc(100% - 28px));
    min-height: 440px;
    margin: 28px auto 0;
    padding: 58px clamp(26px, 5vw, 72px);
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 30px;
    overflow: hidden;
    border-radius: 30px;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.25), transparent 30%),
        linear-gradient(120deg, #a90f46, #e8175d 52%, #ff5a9b);
    color: white;
    box-shadow: 0 25px 70px rgba(169,15,70,.25);
}

.hero::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -120px;
    bottom: -210px;
    border: 70px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

.eyebrow {
    color: var(--rose);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.hero .eyebrow {
    color: #ffd5e4;
}

.hero h2 {
    margin-top: 12px;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -2px;
}

.hero h2 strong {
    color: #ffe36d;
}

.hero p {
    max-width: 560px;
    margin-top: 18px;
    color: #ffe8f0;
    font-size: 16px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    background: white;
    color: var(--rose-dark);
    box-shadow: 0 12px 28px rgba(0,0,0,.14);
}

.btn.secondary {
    border: 1px solid rgba(255,255,255,.35);
    color: white;
    background: rgba(255,255,255,.08);
}

.hero-ticket {
    position: relative;
    min-height: 280px;
    display: grid;
    place-items: center;
}

.ticket-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    filter: blur(20px);
}

.ticket {
    width: min(390px, 100%);
    position: relative;
    transform: rotate(2deg);
    border-radius: 20px;
    background: white;
    color: var(--ink);
    box-shadow: 0 30px 50px rgba(70,0,25,.3);
    overflow: hidden;
}

.ticket-head {
    display: flex;
    justify-content: space-between;
    padding: 13px 18px;
    color: white;
    background: #262027;
    font-size: 11px;
    font-weight: 900;
}

.ticket-head small {
    color: #f7c948;
}

.ticket-body {
    padding: 28px 20px;
    text-align: center;
    background: linear-gradient(180deg, #fff, #fff5f8);
}

.ticket-label {
    color: #927482;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.ticket-number {
    margin: 14px 0;
    font-family: Orbitron, monospace;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    letter-spacing: 5px;
    color: var(--rose);
}

.ticket-footer {
    color: #88727d;
    font-size: 9px;
    font-weight: 800;
}

.draw-section,
.info-section,
.schedule-section,
.contact-section {
    width: min(1180px, calc(100% - 28px));
    margin: 70px auto 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 22px;
}

.section-heading h2,
.schedule-title h2,
.contact-section h2 {
    margin-top: 7px;
    font-size: clamp(27px, 4vw, 42px);
    letter-spacing: -1px;
}

.section-heading p,
.contact-section p {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.6;
}

.draw-meta {
    min-width: 120px;
    padding: 12px 18px;
    border-radius: 15px;
    text-align: center;
    background: white;
    border: 1px solid var(--line);
}

.draw-meta span {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.draw-meta strong {
    display: block;
    margin-top: 3px;
    color: var(--rose);
    font-size: 15px;
}

.draw-board {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 18px;
    align-items: start;
}

.draw-card.featured {
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, #2b2028, #17131a);
    color: white;
    border: 0;
    box-shadow: 0 20px 50px rgba(50,15,30,.16);
}

.draw-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.small-label {
    color: var(--rose);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.featured .small-label {
    color: #f7c948;
}

.draw-card h3 {
    margin-top: 4px;
    font-size: 19px;
}

.prize {
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--rose-dark);
    background: #fff0f5;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.featured .prize {
    color: #241b20;
    background: #f7c948;
}

.number-stage {
    height: 104px;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    border-radius: 17px;
    background: linear-gradient(180deg, #f8eef3, #fff);
    border: 1px solid var(--line);
}

.featured .number-stage {
    background: linear-gradient(180deg, #30252d, #17131a);
    border-color: rgba(255,255,255,.09);
}

.digit-window {
    width: clamp(40px, 7vw, 66px);
    height: 78px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    background: #241d23;
    border: 1px solid #46363f;
}

.digit-reel {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    transform: translateY(0);
    will-change: transform;
}

.digit {
    width: 100%;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Orbitron, monospace;
    font-size: clamp(22px, 4vw, 39px);
    font-weight: 900;
    color: #fff;
}

.featured .digit {
    color: #ffe36d;
}

.draw-card-foot {
    display: flex;
    justify-content: space-between;
    color: #a995a0;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}

/* RESULTS TABLE */

.results-table-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 15px 40px rgba(77,20,45,.07);
    min-width: 0;
}

.results-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.results-table-head h3 {
    margin-top: 4px;
    font-size: 19px;
}

.results-date {
    padding: 7px 10px;
    border-radius: 9px;
    color: var(--rose-dark);
    background: var(--soft);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.results-table-wrap {
    max-height: 485px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 390px;
}

.results-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 12px 14px;
    text-align: left;
    color: #fff;
    background: #29242a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
}

.results-table td {
    padding: 11px 14px;
    border-bottom: 1px solid #f3e7ec;
    font-size: 12px;
}

.results-table tbody tr:last-child td {
    border-bottom: 0;
}

.results-table tbody tr:hover {
    background: #fff8fb;
}

.table-number {
    display: inline-block;
    min-width: 72px;
    font-family: Orbitron, monospace;
    color: var(--rose-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
}

.result-status {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 800;
}

.result-status.completed {
    color: #fff;
    background: var(--green);
}

.result-status.pending {
    color: #8b6410;
    background: #fff2c9;
}

.result-status.upcoming {
    color: #756c72;
    background: #f2edf0;
}

.info-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.info-card {
    padding: 26px;
    border-radius: 22px;
    background: white;
    border: 1px solid var(--line);
}

.info-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: white;
    background: var(--rose);
    font-size: 11px;
    font-weight: 900;
}

.info-card h3 {
    margin-top: 18px;
    font-size: 18px;
}

.info-card p {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.65;
    font-size: 13px;
}

.contact-section {
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-radius: 25px;
    background: #fff;
    border: 1px solid var(--line);
}

footer {
    width: min(1180px, calc(100% - 28px));
    margin: 50px auto 25px;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid var(--line);
    color: #8b7a83;
    font-size: 11px;
}

.footer-brand {
    color: var(--rose);
    font-weight: 900;
}

@keyframes pulse {
    50% {
        opacity: .35;
        transform: scale(.8);
    }
}

@media (max-width: 900px) {
    .draw-board {
        grid-template-columns: 1fr;
    }

    .results-table-wrap {
        max-height: 440px;
    }
}

@media (max-width: 760px) {
    .site-header,
    .hero,
    .draw-section,
    .info-section,
    .schedule-section,
    .contact-section,
    footer {
        width: min(100% - 18px, 1180px);
    }

    .brand {
        min-height: 95px;
    }

    .brand-mark {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        font-size: 25px;
    }

    .brand h1 {
        font-size: 29px;
    }

    .brand p {
        font-size: 8px;
        letter-spacing: 3px;
    }

    .main-nav a {
        padding: 13px 4px;
        font-size: 10px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 42px 25px 30px;
    }

    .hero-ticket {
        min-height: 220px;
    }

    .section-heading {
        align-items: start;
    }

    .info-section {
        grid-template-columns: 1fr;
    }

    .contact-section {
        align-items: flex-start;
        flex-direction: column;
    }

    footer {
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    .top-strip {
        min-height: 50px;
        padding: 7px 10px;
        font-size: 9px;
    }

    .top-strip,
    .top-info {
        gap: 7px;
    }

    .top-info {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
    }

    .brand {
        gap: 10px;
    }

    .brand-mark {
        width: 43px;
        height: 43px;
        font-size: 21px;
    }

    .brand h1 {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .section-heading {
        flex-direction: column;
    }

    .draw-meta {
        width: 100%;
    }

    .draw-card.featured,
    .results-table-card {
        padding: 17px;
    }

    .number-stage {
        gap: 4px;
        height: 86px;
    }

    .digit-window {
        width: 39px;
        height: 68px;
    }

    .digit {
        height: 68px;
        font-size: 22px;
    }

    .results-table-card {
        overflow: hidden;
    }

    .results-table-wrap {
        overflow-x: auto;
    }

    .results-table {
        min-width: 360px;
    }

    .results-table th,
    .results-table td {
        padding: 10px 9px;
    }

    .results-table th {
        font-size: 9px;
    }

    .table-number {
        min-width: 62px;
        font-size: 11px;
    }

    .result-status {
        font-size: 8px;
        padding: 4px 6px;
    }
}
