.competition-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* -------------------------
   WINNERS
------------------------- */

.winner-results {
    --winner-red: #e91e3b;
    --winner-dark-red: #a9142d;
    --winner-pink: #ffb1bd;
    --winner-gold: #ffbb35;
    --winner-dark-gold: #a66a00;

    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
    padding: 10px 0 30px;
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
}

.winners-empty{

}

/* CELEBRATION BANNER */

.winners-banner {
    min-height: 117px;
    border-radius: 21px;
    background: linear-gradient(110deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 12px 25px rgba(205, 24, 54, .18);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    color: white;
}

.winners-banner::before {
    content: "";
    position: absolute;
    width: 45%;
    height: 200%;
    top: -50%;
    left: 20%;
    transform: rotate(18deg);
    background: rgba(255,255,255,.05);
}

.winners-banner::after {
    content: "▪      ✦                   ▪";
    position: absolute;
    inset: 0;
    color: rgba(255,255,255,.45);
    font-size: 22px;
    letter-spacing: 55px;
    padding: 12px;
    pointer-events: none;
}

.trophy-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #ffbd38;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    box-shadow: 0 5px 15px rgba(0,0,0,.15);
    z-index: 1;
}

.winners-banner h2 {
    font-size: 25px;
    font-weight: 900;
    margin: 0;
    z-index: 1;
}

/* SECTION DIVIDERS */

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 12px 0 15px;
    text-align: center;
}

.section-divider::before,
.section-divider::after {
    content: "";
    height: 2px;
    flex: 1;
    background: #f5dfe2;
}

.section-divider span {
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .5px;
    white-space: nowrap;
    box-shadow: 0 5px 12px rgba(0,0,0,.12);
}

.red-divider::before,
.red-divider::after {
    background: var(--primary-color);
}

.red-divider span {
    background: linear-gradient(110deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.gold-divider {
    margin-top: 32px;
}

.gold-divider::before,
.gold-divider::after {
    background: #ffe7a0;
}

.gold-divider span {
    background: linear-gradient(110deg, #ffd76a, #ffae20);
    color: #684000;
}

/* MAIN WINNER */

.main-winner-card {
    display: flex;
    min-height: 127px;
    background: white;
    border: 3px solid var(--secondary-color);
    border-radius: 21px;
    overflow: hidden;
    box-shadow: 0 7px 18px rgba(180, 30, 50, .08);
}

.ticket-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.main-ticket {
    width: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.main-ticket::after,
.neighbour-ticket::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 0;
    height: 100%;
    border-right: 5px dashed rgba(255,255,255,.75);
}

.ticket-icon {
    font-size: 30px;
    margin-bottom: 2px;
    opacity: .55;
}

.main-ticket small {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 2px;
}

.main-ticket strong {
    font-size: 31px;
    line-height: 1;
    font-weight: 900;
}

.winner-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px 25px;
    text-align: center;
}

.winner-label {
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 12px;
}

.winner-info h3 {
    font-size: 29px;
    font-weight: 900;
    margin: 0;
}

/* AUDIT */

.audit-information {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 19px;
    color: #888;
    font-size: 14px;
}

.audit-information > span:first-child {
    font-size: 16px;
}

.audit-information strong {
    font-weight: 800;
}

.audit-id {
    color: #444;
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* NEIGHBOURS */

.neighbours-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}
.neighbor-empty{
    color:#fff;
    font-weight:700;
}

.neighbour-card {
    display: flex;
    min-height: 108px;
    border: 2px solid #e1e1e1;
    border-radius: 21px;
    background: white;
    overflow: hidden;
}

.neighbour-ticket {
    width: 110px;
    background: linear-gradient(135deg, #ffd96c, #ffb12d);
    color: #674000;
}

.direction-icon {
    font-size: 23px;
    margin-bottom: 3px;
}

.neighbour-ticket strong {
    font-size: 24px;
    font-weight: 900;
}

.neighbour-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 12px;
}

.neighbour-info span {
    color: #a66a00;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 7px;
}

.neighbour-info h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
}

/* RESPONSIVE */

@media(max-width: 650px) {

    .winner-results {
        padding: 8px 10px 25px;
    }

    .winners-banner {
        min-height: 90px;
        border-radius: 14px;
        gap: 12px;
    }

    .trophy-icon {
        width: 55px;
        height: 55px;
        font-size: 27px;
    }

    .winners-banner h2 {
        font-size: 20px;
    }

    .section-divider {
        gap: 7px;
    }

    .section-divider span {
        font-size: 11px;
        padding: 11px 13px;
        letter-spacing: 0;
    }

    .main-winner-card {
        min-height: 105px;
        border-radius: 14px;
    }

    .main-ticket {
        width: 100px;
    }

    .main-ticket strong {
        font-size: 25px;
    }

    .winner-info {
        padding: 10px;
    }

    .winner-label {
        font-size: 13px;
        margin-bottom: 9px;
    }

    .winner-info h3 {
        font-size: 22px;
    }

    .audit-information {
        font-size: 11px;
        margin-top: 14px;
    }

    .neighbours-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .neighbour-card {
        min-height: 90px;
        border-radius: 14px;
    }

    .neighbour-ticket {
        width: 85px;
    }

    .neighbour-ticket strong {
        font-size: 21px;
    }

    .neighbour-info span {
        font-size: 12px;
    }

    .neighbour-info h3 {
        font-size: 18px;
    }
}

@media(max-width: 360px) {

    .winners-banner h2 {
        font-size: 17px;
    }

    .main-ticket {
        width: 80px;
    }

    .winner-info h3 {
        font-size: 19px;
    }

    .section-divider span {
        font-size: 10px;
        padding: 10px;
    }
}


/* -------------------------
   HERO
------------------------- */

.competition-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
    gap: 30px;
    align-items: start;
}

.competition-image {
    min-height: 650px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e3e5e8;
}

.image-placeholder {
    height: 100%;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            #eceff1,
            #ffffff
        );
    color: #a0a5aa;
    font-size: 13px;
    letter-spacing: 1px;
}
.image-placeholder img{
    width:100%;
    height:100%;
    object-fit: cover;
}


/* -------------------------
   PURCHASE PANEL
------------------------- */

.competition-panel {
    position: sticky;
    top: 20px;
}

.competition-category {
    color: #7d8389;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.competition-panel h1 {
    margin: 0 0 20px;
    font-size: 34px;
    line-height: 1.1;
    text-transform: uppercase;
}

.ticket-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 15px 18px;
    border-radius: 10px;
    border: 1px solid #e2e4e7;
    margin-bottom: 15px;
}

.ticket-price span {
    color: #72777d;
    font-size: 13px;
}

.ticket-price strong {
    font-size: 25px;
}


/* Ticket box */

.ticket-box {
    background:#FAF5DF;
    padding: 25px;
    border-radius: 16px;
}

.ticket-box h2 {
    margin: 0;
    font-size: 20px;
    text-transform: uppercase;
    color:var(--primary-color);
}

.ticket-subtitle {
    margin: 5px 0 22px;
    color: var(--secondary-color);
    font-size: 14px;
}

.ticket-summary {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.ticket-summary > div {
    flex: 1;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    border:2px solid var(--secondary-color);
}

.ticket-summary span {
    display: block;
    color: #a0a0a0;
    font-size: 11px;
    margin-bottom: 4px;
}

.ticket-summary strong {
    font-size: 15px;
}

.ticket-summary small {
    color: #9da2a7;
}


/* Quick quantity */

.quantity-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    margin-bottom: 12px;
}

.quantity-selector button {
    border: 2px solid var(--secondary-color);
    background: #fff;
    color: var(--secondary-color);
    border-radius: 7px;
    padding: 10px 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight:600;
}

.quantity-selector button:hover {
     background: var(--secondary-color);
     color:#fff;
}


/* Quantity */

.quantity-control {
    display: flex;
    height: 48px;
    margin-bottom: 20px;
}

.quantity-control button {
    width: 48px;
    border: 0;
    background: #303438;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

.quantity-control button:first-child {
    border-radius: 8px 0 0 8px;
}

.quantity-control button:last-child {
    border-radius: 0 8px 8px 0;
}

.quantity-control input {
    min-width: 0;
    width: 100%;
    border: 0;
    background: #24272a;
    color: white;
    text-align: center;
    font-size: 18px;
    outline: none;
}


/* Total */

.purchase-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #34373a;
    padding-top: 17px;
    margin-bottom: 15px;
}

.purchase-total > span {
    color: #a0a0a0;
}

.purchase-total strong {
    font-size: 19px;
}


/* Add */

.add-button {
    width: 100%;
    border: 0;
    background: #d4af37;
    color: #151515;
    border-radius: 9px;
    padding: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
}

.add-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.postal-entry {
    display: block;
    text-align: center;
    margin: 17px 0;
    color: #555b61;
    font-size: 13px;
}

.trustpilot {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}

.trustpilot span {
    margin-left: 5px;
    color: #62676c;
}


/* -------------------------
   STATUS
------------------------- */

.competition-status {
    margin-top: 25px;
    background: #FAF5DF;
    border: 1px solid #e2e4e7;
    border-radius: 14px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.status-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.status-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: #000;
    border-radius: 9px;
    color:#fff;
}

.status-item small {
    display: block;
    color: #858b91;
    font-size: 14px;
    margin-bottom: 3px;
}

.status-item strong {
    display: block;
    font-size: 14px;
}

.progress-wrap {
    grid-column: 1 / -1;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    font-size: 12px;
}

.progress {
    height: 8px;
    background: #000;
    border-radius: 99px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--secondary-color);
}


.sales-indicator {
    padding: 8px 0;
    border:1px solid red;
}

.sales-track {
    width: 100%;
    height: 14px;
    background: #e9e9ed;
    border-radius: 20px;
}

.sales-progress {
    height: 100%;
    background: var(--secondary-color);
    border-radius: 20px;
    transition: width 0.4s ease;
}

.sales-label {
    position: absolute;
    top: 50%;
    transform: translate(-12%, -50%);
    background: #191919;
    color: #fff;
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    z-index: 2;
    transition: left 0.4s ease;
}


/* -------------------------
   PRIZE SUMMARY
------------------------- */

.prize-summary {
    margin-top: 45px;
}

.section-heading {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 15px;
}

.section-heading > span {
    font-size: 25px;
}

.section-heading small {
    display: block;
    color: #888e94;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.section-heading h2 {
    margin: 2px 0 0;
    font-size: 25px;
}

.prize-card {
    background: #151719;
    color: white;
    border-radius: 14px;
    padding: 25px;
}

.prize-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.prize-card p {
    color: #adb2b6;
}

.cash-value {
    display: inline-block;
    margin-top: 8px;
    color: #d4af37;
}

.neighbour-card {
    display: flex;
    gap: 15px;
    margin-top: 12px;
    padding: 20px;
    background: var(--secondary-color);
    border: 1px solid #e1e3e6;
    border-radius: 14px;
}

.neighbour-card h3 {
    margin: 0 0 5px;
    font-size:17px;
}

.neighbour-card p {
    margin: 0;
    color: #fff;
    font-size: 16px;
}

.card-icon {
    font-size: 25px;
}


/* -------------------------
   TABS
------------------------- */

.competition-info {
    margin-top: 50px;
}

.tabs {
    display: flex;
    gap: 4px;
    border: 1px solid #dfe1e4;
    margin-bottom: 25px;
    border-radius: 10px;
}

.tab {
    border: 0;
    background: transparent;
    padding: 13px 18px;
    color: #777d83;
    cursor: pointer;
    font-weight: 700;
}

.tab:first-child{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.tab.active {
    color: #000;
    background: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    margin-top: 0;
}


/* Draw banner */

.draw-banner {
    padding: 20px;
    background: #151719;
    color: white;
    border-radius: 12px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.draw-banner span {
    display: block;
    color: #d4af37;
    font-size: 13px;
    font-weight: 700;
}


/* Prize details */

.prize-details {
    background: white;
    border: 1px solid #e1e3e6;
    border-radius: 14px;
    padding: 25px;
    margin-top:10px;
}

.prize-details h3 {
    font-size: 27px;
    text-transform: uppercase;
    margin-top: 0;
}

.prize-details h4 {
    color: #777;
}

.large-image-placeholder {
    width:100%;
    height: 400px;
    margin: 25px 0;
    background: #f1f2f3;
    display: grid;
    place-items: center;
    color: #9da2a7;
    border-radius: 10px;
}

.large-image-placeholder img{
    width:100%;
    height:400px;
    object-fit: cover;
    border-radius: 10px;
}

.prize-details p {
    max-width: 800px;
    line-height: 1.7;
    color: #60666b;
}


/* -------------------------
   RULES
------------------------- */

.rules-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    margin-top:10px;
}

.rule {
    background: white;
    border: 1px solid #e1e3e6;
    border-radius: 12px;
    padding: 20px;
}
.rule-icon{
    width:40px;
    height:40px;
    border-radius: 50%;
    margin-right:10px;
}

.rule span {
    display: block;
    font-size: 30px;
}

.rule small {
    display: block;
    color: #858b91;
    margin-bottom: 5px;
    font-size:14px;
    text-transform: uppercase;
}

.rule strong {
    font-size: 17px;
}


/* -------------------------
   FAQ
------------------------- */
#faq h2{
    margin-bottom: 10px;
}
.faq {
    background: white;
    border: 1px solid #e1e3e6;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.faq-question {
    width: 100%;
    border: 0;
    background: white;
    padding: 18px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    cursor: pointer;
}

.faq-answer {
    display: none;
    padding: 0 18px 18px;
    color: #666;
    line-height: 1.6;
}

.faq.open .faq-answer {
    display: block;
}

.faq.open .faq-question span {
    transform: rotate(45deg);
}


/* -------------------------
   MOBILE
------------------------- */

@media (max-width: 800px) {

    .competition-page {
        padding: 20px 12px 50px;
    }

    .competition-hero {
        grid-template-columns: 1fr;
    }

    .competition-image {
        min-height: 380px;
    }

    .image-placeholder {
        min-height: 380px;
    }

    .competition-panel {
        position: static;
    }

    .competition-panel h1 {
        font-size: 28px;
    }

    .competition-status {
        grid-template-columns: 1fr;
    }

    .progress-wrap {
        grid-column: auto;
    }

    .rules-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tabs {
        overflow-x: auto;
    }

    .tab {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {

    .rules-grid {
        grid-template-columns: 1fr;
    }

    .ticket-box {
        padding: 18px;
    }

    .competition-image {
        min-height: 300px;
    }

    .image-placeholder {
        min-height: 300px;
    }
}