* {
    box-sizing: border-box;
}

:root {
    --green: #c51d2a;
    --green-dark: #25070b;
    --green-light: #fff0e8;

    --gold: #ffc247;
    --gold-dark: #e87916;

    --cream: #f8f7f2;
    --white: #ffffff;

    --text: #2b1115;
    --muted: #75656a;

    --border: #f0d8d2;

    --danger: #b42318;
    --danger-bg: #fef3f2;

    --radius: 18px;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    background: var(--cream);
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);
}


.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.main-nav {
    background: #ffffff;
    border-bottom: 1px solid #e5e9e6;
}

.main-nav .container {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
}

.main-nav a {
    text-decoration: none;
    color: #3a0b10;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 10px;
}

.main-nav a:hover,
.main-nav a.active {
    background: #c51d2a;
    color: #ffffff;
}

/* TOP BAR */

.topbar {
    background: var(--green-dark);
    color: white;
}


.topbar-inner {
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    font-weight: 900;
    letter-spacing: 1px;
}


.event-year {
    font-weight: 700;
    color: var(--gold);
}


/* HERO */

.hero {
    padding: 70px 20px 40px;
    text-align: center;
}


.hero-icon {
    font-size: 58px;
    margin-bottom: 12px;
}

.success-logo {
    width: 130px;
    height: 130px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


.event-tag {
    display: inline-block;

    padding: 7px 14px;

    background: var(--gold);
    color: #281d00;

    font-weight: 900;

    border-radius: 30px;

    font-size: 13px;
    letter-spacing: 1px;

    margin-bottom: 20px;
}


.hero h1 {
    margin: 0;

    font-size: clamp(32px, 5vw, 54px);

    line-height: 1.05;

    color: var(--green-dark);
}


.hero h1 span {
    display: block;
    color: var(--green);
}


.event-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 14px;

    margin-top: 40px;
}


.info-box {
    padding: 20px;

    border-radius: 16px;

    background: white;

    border: 1px solid var(--border);
}


.info-box small {
    display: block;

    color: var(--green);

    font-weight: 900;

    margin-bottom: 8px;
}


.info-box strong {
    display: block;

    font-size: 18px;

    margin-bottom: 5px;
}


.info-box span {
    font-size: 13px;
    color: var(--muted);
}


/* CARD */

.registration-card {
    background: white;

    padding: 38px;

    border-radius: 24px;

    box-shadow:
        0 16px 50px rgba(8, 61, 32, 0.08);

    margin-bottom: 28px;
}


.section-heading {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 30px;

    border-bottom: 1px solid var(--border);

    padding-bottom: 25px;
    margin-bottom: 28px;
}


.section-label {
    color: var(--green);

    font-size: 12px;

    letter-spacing: 1.5px;

    font-weight: 900;
}


.section-heading h2 {
    font-size: 34px;

    margin:
        6px
        0;
}


.section-heading p {
    margin: 0;
    color: var(--muted);
}


.price-badge {
    min-width: 130px;

    padding: 18px;

    text-align: center;

    border-radius: 18px;

    background: var(--green);

    color: white;

    font-size: 30px;

    font-weight: 900;
}


.price-badge small {
    display: block;

    margin-top: 2px;

    font-size: 12px;
    font-weight: 500;
}


/* FORM */

.form-section {
    margin-bottom: 38px;
}


.form-section h3 {
    margin:
        0
        0
        20px;

    font-size: 20px;
}


.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}


.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.field label {
    font-weight: 700;
}


.field label span {
    color: #cc0000;
}


input,
select {
    width: 100%;

    padding: 14px 15px;

    border:
        1px solid
        #e6c9c4;

    border-radius: 11px;

    background: white;

    font-size: 16px;

    outline: none;

    transition: 0.2s;
}


input:focus,
select:focus {
    border-color: var(--green);

    box-shadow:
        0 0 0 3px
        rgba(13, 95, 47, 0.1);
}


/* PARTICIPANT */

.participant-title {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 18px;
}


.participant-title h3 {
    margin-bottom: 5px;
}


.participant-title p {
    color: var(--muted);
    margin: 0;
}


.participant-card {
    display: grid;

    grid-template-columns:
        55px
        minmax(180px, 1.5fr)
        minmax(90px, .6fr)
        minmax(130px, .9fr)
        minmax(130px, .9fr)
        55px;

    gap: 18px;

    align-items: end;

    background: #fff8f5;

    border: 1px solid var(--border);

    padding: 20px;

    border-radius: 15px;

    margin-bottom: 14px;
}


.participant-number {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--green);

    color: white;

    font-size: 20px;
    font-weight: 900;
}


.btn {
    border: none;
    cursor: pointer;

    font-weight: 900;

    border-radius: 11px;

    transition: 0.2s;
}


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


.btn-add {
    background: var(--gold);

    color: #2b2004;

    padding: 13px 18px;
}


.btn-remove {
    width: 48px;
    height: 48px;

    background: #ffe8e3;
    color: #b42318;

    font-size: 20px;
}


.btn-remove:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}


/* SUMMARY */

.summary {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    background: var(--green-dark);

    color: white;

    padding: 24px 28px;

    border-radius: 16px;

    margin-bottom: 22px;
}


.summary-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.summary-item span {
    opacity: 0.85;
}


.summary-item strong {
    font-size: 27px;
}


.summary-item.total {
    text-align: right;
}


.summary-item.total strong {
    color: var(--gold);
}


/* TERMS */

.terms {
    background: var(--green-light);

    border-radius: 12px;

    padding: 17px;

    margin-bottom: 20px;
}


.terms label {
    display: flex;

    gap: 12px;

    align-items: flex-start;

    cursor: pointer;

    line-height: 1.5;
}


.terms input {
    width: auto;

    margin-top: 4px;
}


.btn-submit {
    width: 100%;

    background: var(--green);

    color: white;

    padding: 17px;

    font-size: 16px;
}


.btn-submit:hover {
    background: var(--green-dark);
}


.btn-submit:disabled {
    opacity: 0.6;

    cursor: wait;
}


/* ALERT */

.alert {
    padding: 15px;

    border-radius: 10px;

    margin-bottom: 24px;
}


.alert.error {
    color: var(--danger);

    background: var(--danger-bg);

    border:
        1px solid
        #fecdca;
}


.alert.success {
    color: var(--green-dark);

    background: var(--green-light);

    border:
        1px solid
        #a9d5ba;
}


.hidden {
    display: none;
}


/* INFO */

.event-notes {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;

    margin:
        20px
        0
        50px;
}


.event-notes div {
    padding: 20px;

    border-radius: 14px;

    background: white;

    text-align: center;

    border:
        1px solid
        var(--border);
}


.event-notes strong {
    display: block;

    margin-bottom: 5px;
}


.event-notes span {
    color: var(--muted);

    font-size: 13px;
}


/* FOOTER */

footer {
    text-align: center;

    padding: 35px 20px;

    background: var(--green-dark);

    color: white;
}


footer p {
    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.75);
}


/* MOBILE */

@media (max-width: 850px) {

    .event-info,
    .event-notes {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .participant-card {
        grid-template-columns:
            55px
            1fr;

        align-items: start;
    }

    .participant-card .age-field,
    .participant-card .gender-field,
    .participant-card .category-field {
        grid-column: 2;
    }

    .participant-card .remove-wrap {
        grid-column: 2;
    }

}


@media (max-width: 650px) {

    .container {
        width:
            min(
                100% - 20px,
                1180px
            );
    }


    .hero {
        padding:
            45px
            10px
            30px;
    }


    .registration-card {
        padding: 22px 16px;

        border-radius: 18px;
    }


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


    .price-badge {
        width: 100%;
    }


    .form-grid {
        grid-template-columns: 1fr;
    }


    .event-info,
    .event-notes {
        grid-template-columns: 1fr;
    }


    .participant-title {
        flex-direction: column;

        align-items: stretch;
    }


    .participant-card {
        grid-template-columns: 1fr;
    }


    .participant-number {
        width: 42px;
        height: 42px;
    }


    .participant-card .age-field,
    .participant-card .gender-field,
    .participant-card .category-field,
    .participant-card .remove-wrap {
        grid-column: auto;
    }


    .summary {
        flex-direction: column;
    }


    .summary-item.total {
        text-align: left;
    }

}

/* =========================================================
   PARTICIPANT FILTER
========================================================= */

.participant-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}


.filter-btn {
    border: 1px solid #e8ceca;
    background: #ffffff;
    color: #555;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition:
        all 0.2s ease;
}


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


.filter-btn.active {
    background: #c51d2a;
    color: #ffffff;
    border-color: #c51d2a;
}



/* =========================================================
   DASHBOARD - 3 BOX
========================================================= */

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

/* =========================================================
   INFO PERTANDINGAN
========================================================= */

.competition-info {
    width: 100%;
    max-width: 1000px;
    margin: 28px auto 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    padding: 16px 22px;

    background: rgba(255, 255, 255, 0.82);

    border: 1px solid rgba(13, 95, 47, 0.12);

    border-radius: 16px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   ITEM
========================================================= */

.competition-info-item {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    color: #c51d2a;

    white-space: nowrap;
}


.competition-icon {
    font-size: 20px;

    line-height: 1;
}


.competition-info-item strong {
    font-size: 14px;

    font-weight: 800;

    letter-spacing: 0.3px;
}


.competition-info-item small {
    font-size: 11px;

    font-weight: 700;

    color: #806e70;

    letter-spacing: 0.5px;
}


/* =========================================================
   DIVIDER
========================================================= */

.competition-divider {
    width: 1px;

    height: 30px;

    background: #efd8d1;
}


/* =========================================================
   FEE
========================================================= */

.competition-info-item.fee strong {
    font-size: 17px;
}


.competition-info-item.fee small {
    color: #c51d2a;
}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .competition-info {

        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 12px;

        padding: 15px;

    }


    .competition-divider {
        display: none;
    }


    .competition-info-item {

        padding: 8px 4px;

        flex-wrap: wrap;

        text-align: center;

    }


    .competition-info-item strong {

        font-size: 12px;

    }


    .competition-icon {

        font-size: 18px;

    }


    .competition-info-item small {

        width: 100%;

        margin-top: -3px;

    }

}
.competition-text {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #c51d2a;
    letter-spacing: 0.3px;
}

.competition-text span {
    margin: 0 10px;
    color: #9a8588;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

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


    .participant-filter {
        display: grid;
        grid-template-columns:
            repeat(3, 1fr);
        gap: 8px;
    }


    .filter-btn {
        padding: 10px 8px;
        font-size: 12px;
    }

}

/* =========================================================
   PARTICIPANT LIST
========================================================= */

.participant-search {
    margin-bottom: 24px;
}

.participant-search input {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 18px;
    border: 1px solid #e8ceca;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    background: #fff8f5;
}

.participant-search input:focus {
    border-color: #c51d2a;
    background: #ffffff;
}


.participants-table {
    width: 100%;
    overflow: hidden;
    border: 1px solid #efd8d1;
    border-radius: 14px;
}


.table-header,
.table-row {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr) 75px 150px;
    align-items: center;
}


.table-header {
    padding: 15px 18px;
    background: #c51d2a;
    color: white;
    font-weight: 700;
}


.table-row {
    padding: 16px 18px;
    border-top: 1px solid #f7e9e5;
    background: #ffffff;
}


.table-row:nth-child(even) {
    background: #fff8f5;
}


.participant-name {
    font-weight: 700;
}


.participant-gender {
    color: #75656a;
}


.participant-loading {
    text-align: center;
    padding: 40px 20px;
    color: #68776f;
}


.empty-state {
    text-align: center;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #68776f;
}


.empty-state div {
    font-size: 42px;
}


.empty-state strong {
    color: #3a0b10;
    font-size: 20px;
}


.participant-footer {
    margin-top: 30px;
}


.hidden {
    display: none !important;
}


@media (max-width: 700px) {

    .table-header,
    .table-row {
        grid-template-columns: 32px minmax(0, 1fr) 42px 88px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .participant-name {
        font-size: 14px;
    }

    .participant-gender {
        font-size: 13px;
    }

}
/* =========================================================
   BOWLING BERTAM LAKESIDE 2026
   PARTICIPANT PAGE - FINAL MOBILE DESIGN
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.hero {
    padding: 55px 20px 35px;
    text-align: center;
}


/* =========================================================
   LOGO
   ========================================================= */

.success-logo {
    width: 125px;
    height: 125px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.success-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    display: block;
}


/* =========================================================
   EVENT TAG
   ========================================================= */

.event-tag {
    display: inline-block;

    padding: 8px 17px;

    margin-bottom: 17px;

    background: var(--gold);
    color: #281d00;

    border-radius: 30px;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 1.2px;
}


/* =========================================================
   TITLE
   ========================================================= */

.hero h1 {
    max-width: 800px;

    margin: 0 auto;

    color: var(--green-dark);

    font-size: clamp(34px, 5vw, 54px);

    line-height: 1.05;

    letter-spacing: -0.8px;

    text-align: center;
}

.hero h1 span {
    display: block;
    color: var(--green);
}


/* =========================================================
   EVENT DETAILS
   2 BARIS
   ========================================================= */

.competition-text {
    width: 100%;
    max-width: 800px;

    margin: 18px auto 0;

    color: var(--green);

    text-align: center;

    font-weight: 800;

    letter-spacing: 0.2px;
}


.competition-line {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 12px;

    line-height: 1.5;
}


.competition-line.location {
    margin-top: 2px;

    display: flex;

    justify-content: center;

    font-size: 15px;
}


/* =========================================================
   DASHBOARD
   ========================================================= */

.event-info {
    width: 100%;
    max-width: 760px;

    margin: 25px auto 0;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}


/* =========================================================
   STAT CARD
   ========================================================= */

.info-box {
    min-height: 125px;

    padding: 22px 15px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 18px;

    text-align: center;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    box-shadow:
        0 5px 18px rgba(8, 61, 32, 0.04);
}


/* JUMLAH PESERTA FULL WIDTH */

.info-box.total-box {
    grid-column: 1 / -1;

    min-height: 135px;
}


/* LABEL */

.info-box small {
    display: block;

    margin-bottom: 8px;

    color: var(--green);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 0.5px;
}


/* NUMBER */

.info-box strong {
    display: block;

    margin-bottom: 5px;

    color: var(--text);

    font-size: 30px;

    line-height: 1;

    font-weight: 900;
}


/* DESCRIPTION */

.info-box span {
    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   PARTICIPANT SECTION
   ========================================================= */

.registration-card {
    width: 100%;

    margin-bottom: 35px;

    padding: 32px;

    background: #ffffff;

    border-radius: 24px;

    box-shadow:
        0 12px 40px rgba(8, 61, 32, 0.07);
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.section-heading {
    margin-bottom: 22px;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border);
}


.section-label {
    color: var(--green);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 1.5px;
}


.section-heading h2 {
    margin: 6px 0;

    color: var(--text);

    font-size: 30px;

    line-height: 1.1;
}


.section-heading p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================================
   FILTER
   ========================================================= */

.participant-filter {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 8px;

    margin-bottom: 15px;
}


.filter-btn {
    width: 100%;

    border: 1px solid #e8ceca;

    background: #ffffff;

    color: #555;

    padding: 11px 10px;

    border-radius: 10px;

    font-size: 12px;

    font-weight: 800;

    cursor: pointer;

    transition: all 0.2s ease;
}


.filter-btn.active {
    background: var(--green);

    color: #ffffff;

    border-color: var(--green);
}


/* =========================================================
   SEARCH
   ========================================================= */

.participant-search {
    margin-bottom: 18px;
}


.participant-search input {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #e8ceca;

    border-radius: 12px;

    background: #fff8f5;

    font-size: 15px;

    outline: none;
}


.participant-search input:focus {
    border-color: var(--green);

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(13, 95, 47, 0.08);
}


/* =========================================================
   TABLE
   ========================================================= */

.participants-table {
    width: 100%;

    overflow: hidden;

    border: 1px solid #efd8d1;

    border-radius: 14px;
}


.table-header,
.table-row {
    display: grid;

    grid-template-columns:
        45px
        minmax(0, 1fr)
        60px
        110px;

    align-items: center;
}


.table-header {
    padding: 14px 16px;

    background: var(--green);

    color: white;

    font-size: 13px;

    font-weight: 800;
}


.table-row {
    padding: 14px 16px;

    border-top: 1px solid #f7e9e5;

    background: #ffffff;
}


.table-row:nth-child(even) {
    background: #fff8f5;
}


.participant-name {
    font-weight: 700;

    color: var(--text);
}


.participant-gender {
    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   LOADING
   ========================================================= */

.participant-loading {
    text-align: center;

    padding: 35px 20px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   EMPTY
   ========================================================= */

.empty-state {
    text-align: center;

    padding: 45px 20px;

    display: flex;

    flex-direction: column;

    gap: 8px;

    color: var(--muted);
}


.empty-state div {
    font-size: 42px;
}


.empty-state strong {
    color: var(--text);

    font-size: 18px;
}


/* =========================================================
   FOOTER BUTTON
   ========================================================= */

.participant-footer {
    margin-top: 25px;
}


.participant-footer .btn-submit {
    display: block;

    text-align: center;

    text-decoration: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    /* -----------------------------------------
       BODY
       ----------------------------------------- */

    body {
        overflow-x: hidden;
    }


    /* -----------------------------------------
       CONTAINER
       ----------------------------------------- */

    .container {
        width: 100%;

        max-width: 100%;

        margin: 0 auto;

        padding-left: 12px;
        padding-right: 12px;
    }


    /* -----------------------------------------
       NAVIGATION
       ----------------------------------------- */

    .main-nav .container {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 8px;

        padding: 10px 12px;
    }


    .main-nav a {
        padding: 9px 6px;

        border-radius: 9px;

        font-size: 13px;

        text-align: center;

        white-space: nowrap;
    }


    /* -----------------------------------------
       HERO
       ----------------------------------------- */

    .hero {
        padding: 30px 8px 22px;
    }


    /* -----------------------------------------
       LOGO
       ----------------------------------------- */

    .success-logo {
        width: 85px;
        height: 85px;

        margin-bottom: 16px;
    }


    /* -----------------------------------------
       TAG
       ----------------------------------------- */

    .event-tag {
        padding: 7px 15px;

        margin-bottom: 13px;

        font-size: 10px;

        letter-spacing: 1px;
    }


    /* -----------------------------------------
       TITLE
       ----------------------------------------- */

    .hero h1 {
        max-width: 330px;

        font-size: 25px;

        line-height: 1.08;

        letter-spacing: -0.4px;
    }


    .hero h1 span {
        display: block;
    }


    /* -----------------------------------------
       EVENT INFO
       EXACTLY 2 LINES
       ----------------------------------------- */

    .competition-text {
        width: 100%;

        margin-top: 13px;

        font-size: 11px;

        line-height: 1.35;
    }


    .competition-line {
        display: flex;

        justify-content: center;

        align-items: center;

        gap: 7px;

        white-space: nowrap;
    }


    .competition-line.location {
        margin-top: 2px;

        font-size: 11px;

        font-weight: 800;
    }


    /* -----------------------------------------
       DASHBOARD
       ----------------------------------------- */

    .event-info {
        width: 100%;

        margin-top: 20px;

        display: grid !important;

        grid-template-columns: 1fr 1fr !important;

        gap: 9px;
    }


    /* -----------------------------------------
       STAT CARD
       ----------------------------------------- */

    .info-box {
        min-height: 84px;

        padding: 12px 8px;

        border-radius: 14px;
    }


    .info-box.total-box {
        grid-column: 1 / -1;

        min-height: 85px;
    }


    .info-box small {
        margin-bottom: 5px;

        font-size: 10px;

        letter-spacing: 0.3px;
    }


    .info-box strong {
        margin-bottom: 4px;

        font-size: 21px;
    }


    .info-box span {
        font-size: 10px;
    }


    /* -----------------------------------------
       PARTICIPANT CARD
       ----------------------------------------- */

    .registration-card {
        margin-top: 0;

        padding: 18px 12px;

        border-radius: 17px;
    }


    /* -----------------------------------------
       SECTION HEADER
       ----------------------------------------- */

    .section-heading {
        margin-bottom: 16px;

        padding-bottom: 15px;
    }


    .section-label {
        font-size: 11px;

        letter-spacing: 1.3px;
    }


    .section-heading h2 {
        margin: 5px 0;

        font-size: 23px;
    }


    .section-heading p {
        font-size: 12px;

        line-height: 1.4;
    }


    /* -----------------------------------------
       FILTER
       ----------------------------------------- */

    .participant-filter {
        grid-template-columns: repeat(4, 1fr);

        gap: 6px;

        margin-bottom: 12px;
    }


    .filter-btn {
        padding: 9px 4px;

        font-size: 10px;

        border-radius: 9px;
    }


    /* -----------------------------------------
       SEARCH
       ----------------------------------------- */

    .participant-search {
        margin-bottom: 14px;
    }


    .participant-search input {
        padding: 12px 13px;

        font-size: 14px;

        border-radius: 10px;
    }


    /* -----------------------------------------
       TABLE
       ----------------------------------------- */

    .participants-table {
        border-radius: 11px;
    }


    .table-header,
    .table-row {
        grid-template-columns:
            28px
            minmax(0, 1fr)
            38px
            82px;

        gap: 4px;

        padding-left: 10px;
        padding-right: 10px;
    }


    .table-header {
        padding-top: 11px;
        padding-bottom: 11px;

        font-size: 10px;
    }


    .table-row {
        padding-top: 12px;
        padding-bottom: 12px;
    }


    .participant-name {
        font-size: 13px;

        overflow-wrap: anywhere;
    }


    .participant-gender {
        font-size: 10px;

        text-align: right;
    }


    /* -----------------------------------------
       FOOTER BUTTON
       ----------------------------------------- */

    .participant-footer {
        margin-top: 18px;
    }


    .participant-footer .btn-submit {
        padding: 13px 10px;

        font-size: 13px;
    }

}


/* =========================================================
   VERY SMALL PHONE
   ========================================================= */

@media (max-width: 380px) {

    .main-nav a {
        font-size: 12px;
    }


    .hero {
        padding-left: 5px;
        padding-right: 5px;
    }


    .success-logo {
        width: 78px;
        height: 78px;
    }


    .hero h1 {
        font-size: 23px;
    }


    .competition-text {
        font-size: 10px;
    }


    .competition-line {
        gap: 5px;
    }


    .competition-line.location {
        font-size: 10px;
    }


    .info-box {
        min-height: 80px;

        padding: 11px 5px;
    }


    .info-box.total-box {
        min-height: 82px;
    }


    .info-box strong {
        font-size: 20px;
    }


    .info-box small {
        font-size: 9px;
    }


    .info-box span {
        font-size: 9px;
    }

}

/* =========================================================
   LARA BOWLING TOURNAMENT 2026 - RED / GOLD THEME
   Inspired by the official tournament poster and LARA logo
========================================================= */

:root {
    --green: #c51d2a;
    --green-dark: #25070b;
    --green-light: #fff0e8;
    --gold: #ffc247;
    --gold-dark: #e87916;
    --cream: #fff8f5;
    --white: #ffffff;
    --text: #2b1115;
    --muted: #75656a;
    --border: #f0d8d2;
}

body {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255,194,71,.14), transparent 34%),
        linear-gradient(180deg, #fff8f5 0%, #fff1ec 100%);
}

.topbar {
    background: linear-gradient(110deg, #160306 0%, #650b13 55%, #25070b 100%);
    border-bottom: 2px solid #d98a24;
}

.main-nav {
    background: linear-gradient(90deg, #25070b, #650b13, #25070b);
    border-bottom: 1px solid rgba(255,194,71,.45);
}

.main-nav .container {
    gap: 12px;
}

.main-nav a {
    color: #fff4ed;
    border: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: #25070b;
    background: linear-gradient(135deg, #ffe7a0, #ffc247 55%, #e87916);
    border-color: #ffe7a0;
    box-shadow: 0 4px 16px rgba(255,153,31,.25);
}

.hero {
    position: relative;
    overflow: hidden;
    margin-top: 22px;
    padding: 48px 24px 38px;
    border: 1px solid rgba(255,194,71,.55);
    border-radius: 26px;
    color: #fff;
    background:
        radial-gradient(circle at 50% 105%, rgba(255,174,35,.34), transparent 36%),
        radial-gradient(circle at 12% 10%, rgba(255,80,36,.28), transparent 30%),
        linear-gradient(135deg, #180306 0%, #650b13 48%, #240408 100%);
    box-shadow: 0 18px 45px rgba(86,7,15,.2), inset 0 0 35px rgba(255,166,38,.09);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255,194,71,.24);
    border-radius: 19px;
    pointer-events: none;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.success-logo {
    width: min(220px, 52vw);
    height: 130px;
    padding: 8px 16px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 0 0 1px rgba(255,194,71,.7), 0 8px 28px rgba(0,0,0,.22);
}

.success-logo img {
    object-fit: contain;
}

.event-tag {
    color: #2b090d;
    background: linear-gradient(135deg, #fff0b8, #ffc247 58%, #e87916);
    box-shadow: 0 3px 15px rgba(255,170,35,.28);
}

.hero h1,
.hero h1 span {
    color: #fff;
    text-shadow: 0 3px 0 rgba(0,0,0,.28), 0 0 22px rgba(255,172,48,.2);
}

.hero h1 span {
    color: #ffc247;
}

.competition-info,
.competition-info-item {
    color: #fff4e8;
}

.competition-info {
    background: rgba(20,3,6,.55);
    border: 1px solid rgba(255,194,71,.7);
    box-shadow: 0 8px 28px rgba(0,0,0,.2), inset 0 0 18px rgba(255,194,71,.08);
}

.competition-info-item small {
    color: #ffd98b;
}

.competition-divider {
    background: rgba(255,194,71,.55);
}

.competition-text {
    color: #ffe5a3;
}

.event-info {
    gap: 12px;
}

.info-box {
    border: 1px solid #f0c9b7;
    box-shadow: 0 8px 22px rgba(75,8,16,.07);
}

.info-box small,
.section-label {
    color: #b51c29;
}

.registration-card {
    border: 1px solid #f0d0c5;
    box-shadow: 0 16px 45px rgba(79,8,17,.09);
}

.section-heading {
    border-bottom-color: #f0d8d2;
}

.section-heading h2,
.form-section h3 {
    color: #390b11;
}

.price-badge,
.summary,
.table-header {
    background: linear-gradient(125deg, #30070d, #8f101d 65%, #c51d2a);
    border: 1px solid rgba(255,194,71,.35);
}

.price-badge,
.summary {
    box-shadow: 0 8px 22px rgba(93,8,18,.16);
}

.summary-item.total strong {
    color: #ffc247;
}

.btn-add {
    color: #2b090d;
    background: linear-gradient(135deg, #ffe7a0, #ffc247 60%, #e87916);
}

.btn-submit {
    color: #fff;
    background: linear-gradient(110deg, #8f101d, #c51d2a 60%, #e14a25);
    box-shadow: 0 7px 18px rgba(153,17,31,.2);
}

.btn-submit:hover {
    background: linear-gradient(110deg, #650b13, #a91422 60%, #c83a20);
}

input:focus,
select:focus,
.participant-search input:focus {
    border-color: #c51d2a;
    box-shadow: 0 0 0 3px rgba(197,29,42,.12);
}

.terms {
    background: #fff0e8;
    border: 1px solid #f0d0c5;
}

.capacity-panel {
    border-color: #f0c9b7 !important;
    background: #fff8f5 !important;
}

.capacity-title,
.capacity-item strong,
.capacity-status {
    color: #a91422 !important;
}

.capacity-item {
    border-color: #f0d8d2 !important;
}

.filter-btn.active {
    background: linear-gradient(110deg, #8f101d, #c51d2a);
    border-color: #c51d2a;
}

.participants-table {
    border-color: #efd8d1;
}

.table-row:nth-child(even) {
    background: #fff8f5;
}

footer {
    background: linear-gradient(110deg, #160306, #650b13 55%, #25070b);
    border-top: 2px solid #d98a24;
}

footer strong {
    color: #ffe2a0;
}

@media (max-width: 650px) {
    .hero {
        margin-top: 12px;
        padding: 38px 14px 28px;
        border-radius: 20px;
    }
    .success-logo {
        height: 105px;
        margin-bottom: 16px;
    }
    .competition-info {
        padding: 13px;
        gap: 8px;
    }
}


/* LARA / Limonia Lakeside identity */
.lara-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 18px;
    width: min(300px, 72vw);
    min-height: 112px;
}
.lara-logo {
    display: block;
    width: 100%;
    max-height: 118px;
    object-fit: contain;
}
.success-logo {
    width: min(220px, 65vw);
    height: 125px;
    padding: 12px;
    margin: 0 auto 24px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #f0d8d2;
}
.success-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
