:root {
    --bg: #0f172a;
    --bg-soft: #111827;
    --bg-card: #ffffff;
    --bg-muted: #eff6ff;
    --text: #0f172a;
    --muted: #64748b;
    --line: #dbe5f1;
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --primary-soft: #fff7ed;
    --success: #16a34a;
    --warning: #f59e0b;
    --dark: #334155;
    --radius: 22px;
    --radius-lg: 30px;
    --shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    --shadow-strong: 0 24px 60px rgba(15, 23, 42, 0.2);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: #f8fafc;
    overflow-x: hidden;
    line-height: 1.6;
}

main {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(219, 229, 241, 0.88);
}

.nav-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

.brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    padding: 4px;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    color: var(--dark);
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand small {
    color: var(--muted);
    font-size: 0.82rem;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    flex: 0 0 auto;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--dark);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active,
.main-nav a[aria-current="page"] {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.main-nav .nav-admin {
    background: var(--bg);
    color: #fff;
}

.main-nav .nav-admin:hover {
    background: #1e293b;
    color: #fff;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 0;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 1.15rem;
    flex-shrink: 0;
}

/* HERO */
.hero {
    padding: 56px 0 30px;
}

.hero-box {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px;
    padding: 42px;
    border-radius: 34px;
    color: #fff;
    background: linear-gradient(135deg, #0b1220, #172554 58%, #1e3a8a);
    box-shadow: var(--shadow-strong);
}

.hero-copy,
.hero-slider-shell,
.hero-slider,
.hero-slide-overlay,
.page-hero,
.feature-card,
.event-card,
.result-card,
.sponsor-card,
.gallery-card,
.highlight-card,
.info-card,
.package-card,
.payment-card,
.credit-card,
.admin-panel,
.login-card,
.cta-banner,
.stats-strip {
    min-width: 0;
}

.hero-copy h1,
.page-hero h1 {
    margin: 12px 0 14px;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.08;
}

.hero-copy p,
.page-hero p {
    margin: 0 0 20px;
    line-height: 1.8;
}

.hero-copy p {
    color: rgba(255, 255, 255, 0.86);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.82);
}

.hero-actions,
.inline-actions,
.panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-stats,
.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.stat-card,
.metric-card {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
}

.stat-card strong,
.metric-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.5rem;
    line-height: 1.1;
}

.hero-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-pill {
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.92rem;
    line-height: 1.2;
}

/* BUTTON */
.btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 16px;
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
button.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 14px 26px rgba(245, 158, 11, 0.28);
}

.btn-outline {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-dark {
    background: var(--bg);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--text);
}

/* BADGE */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.2;
}

.badge.success {
    background: #ecfdf5;
    color: var(--success);
}

.badge.warning {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.badge.dark {
    background: #e2e8f0;
    color: var(--dark);
}

/* SLIDER */
.hero-slider-shell {
    display: flex;
    align-items: stretch;
}

.hero-slider {
    position: relative;
    width: 100%;
    min-height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0) 0%, rgba(2, 6, 23, 0.82) 76%);
}

.hero-slide-overlay h3 {
    margin: 12px 0 8px;
    font-size: 1.5rem;
    line-height: 1.2;
}

.hero-slide-overlay p,
.hero-slide-overlay small {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
}

.slider-btn {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    font-size: 1.4rem;
    box-shadow: var(--shadow);
}

.slider-btn.prev {
    left: 16px;
}

.slider-btn.next {
    right: 16px;
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 6;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}

.slider-dot.active {
    background: #fff;
}

/* SECTION */
.section {
    padding: 28px 0 42px;
}

.section.section-tight {
    padding-top: 16px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.section-head h2,
.card h2 {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
}

.section-head p,
.muted {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

/* GRID */
.grid-2,
.grid-3,
.grid-4,
.card-grid,
.sponsor-grid,
.gallery-grid,
.highlight-grid,
.footer-grid,
.dashboard-grid,
.form-grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.card-grid,
.sponsor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4,
.gallery-grid,
.highlight-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-grid,
.dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* CARD */
.card,
.feature-card,
.event-card,
.result-card,
.sponsor-card,
.gallery-card,
.highlight-card,
.info-card,
.package-card,
.admin-panel,
.login-card,
.payment-card,
.credit-card,
.cta-banner,
.page-hero,
.stats-strip,
.form-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-card);
    box-shadow: var(--shadow);
}

.page-hero {
    margin-top: 28px;
    padding: 28px;
    color: #fff;
    background: linear-gradient(135deg, #111827, #1e293b);
}

.feature-card,
.event-card,
.result-card,
.sponsor-card,
.highlight-card,
.info-card,
.package-card,
.payment-card,
.credit-card {
    padding: 22px;
}

.form-card {
    padding: 24px;
}

.feature-card {
    height: 100%;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    border-color: rgba(245, 158, 11, 0.28);
}

.feature-card h3 {
    margin: 14px 0 10px;
    font-size: 1.08rem;
    line-height: 1.4;
    color: #0f172a;
}

.gallery-card {
    overflow: hidden;
}

.gallery-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.gallery-card-body {
    padding: 18px;
}

/* ICON */
.icon-badge,
.sponsor-mark {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sponsor-mark {
    font-size: 1rem;
    font-weight: 800;
}

.modern-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: #ea580c;
    border: 1px solid rgba(234, 88, 12, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 24px rgba(234, 88, 12, 0.12);
}

.modern-icon svg {
    width: 30px;
    height: 30px;
    display: block;
}

/* TYPO */
.event-card h3,
.result-card h3,
.feature-card h3,
.sponsor-card h3,
.gallery-card h3,
.package-card h3,
.info-card h3,
.highlight-card h3,
.credit-card h3 {
    margin: 0 0 10px;
    line-height: 1.35;
}

/* META */
.event-meta,
.meta-list {
    display: grid;
    gap: 8px;
    margin: 14px 0;
    color: var(--muted);
}

.class-tags,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
}

.class-tag,
.tag {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--dark);
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.2;
}

.event-foot,
.sponsor-foot,
.gallery-foot,
.result-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.result-podium {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.podium-item {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f8fafc;
}

/* LIST */
.list,
.site-footer ul {
    margin: 0;
    padding-left: 18px;
}

.list li,
.site-footer li {
    margin-bottom: 8px;
    color: var(--muted);
}

/* CTA */
.cta-banner,
.stats-strip {
    padding: 28px;
}

.cta-banner {
    color: #fff;
    background: linear-gradient(135deg, #111827, #172554);
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.82);
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.stats-strip .metric-card {
    border: 1px solid var(--line);
    background: #f8fafc;
}

/* FORM */
.form-group {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.form-group label {
    font-weight: 700;
}

.input,
.select,
.textarea,
input[type="text"],
input[type="url"],
input[type="password"],
textarea,
select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: none;
    background: #fff;
    color: var(--text);
}

.input:focus,
.select:focus,
.textarea:focus,
input[type="text"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

textarea,
.textarea {
    min-height: 120px;
    resize: vertical;
}

.notice,
.flash {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 16px;
}

.notice.success,
.flash.success {
    border: 1px solid #bbf7d0;
    background: #ecfdf5;
    color: #166534;
}

.notice.warning,
.flash.warning {
    border: 1px solid #fdba74;
    background: #fff7ed;
    color: #9a3412;
}

/* TABLE */
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.table th {
    background: #f8fafc;
    font-size: 0.9rem;
}

.table tr:last-child td {
    border-bottom: 0;
}

.filter-input {
    margin-bottom: 18px;
}

/* FOOTER */
.site-footer {
    margin-top: 32px;
    padding: 34px 0 18px;
    background: #0f172a;
    color: #fff;
}

.site-footer h3,
.site-footer h4 {
    margin-top: 0;
    margin-bottom: 12px;
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* LOGIN / ADMIN */
.login-wrap,
.admin-wrap {
    min-height: 100vh;
    padding: 40px 0;
    background: #f8fafc;
}

.login-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 28px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.admin-panel {
    padding: 22px;
}

.admin-panel h3 {
    margin-top: 0;
}

.empty-state {
    padding: 20px;
    border: 1px dashed var(--line);
    border-radius: 18px;
    background: #f8fafc;
    color: var(--muted);
}

.inline-form {
    display: inline;
}

.admin-note {
    color: var(--muted);
    font-size: 0.92rem;
}

/* GALLERY MODAL */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.84);
}

.gallery-modal.show {
    display: flex;
}

.gallery-modal-dialog {
    width: 100%;
    max-width: 900px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}

.gallery-modal-dialog img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #000;
}

.gallery-modal-body {
    padding: 18px;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
}

.credit-card small,
.gallery-card small,
.hero-slide-overlay small {
    display: block;
    margin-top: 8px;
}

/* LARGE TABLET / LAPTOP KECIL */
@media (max-width: 1200px) {
    .container {
        width: min(1120px, calc(100% - 28px));
    }

    .hero-box {
        padding: 34px;
    }

    .hero-slider {
        min-height: 460px;
    }

    .grid-4,
    .gallery-grid,
    .highlight-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* TABLET */
@media (max-width: 1024px) {
    .container {
        width: min(100%, calc(100% - 24px));
    }

    .hero {
        padding-top: 40px;
    }

    .hero-box {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 30px;
    }

    .hero-slider {
        min-height: 400px;
    }

    .grid-3,
    .card-grid,
    .sponsor-grid,
    .footer-grid,
    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-4,
    .gallery-grid,
    .highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-2,
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* TABLET KECIL / HP BESAR */
@media (max-width: 860px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: #fff;
        box-shadow: var(--shadow);
        z-index: 40;
    }

    .main-nav.show {
        display: grid;
        gap: 8px;
    }

    .main-nav a {
        width: 100%;
        justify-content: flex-start;
        border-radius: 14px;
    }

    .hero-box,
    .grid-2,
    .grid-3,
    .grid-4,
    .card-grid,
    .sponsor-grid,
    .gallery-grid,
    .highlight-grid,
    .footer-grid,
    .dashboard-grid,
    .form-grid,
    .stats-strip,
    .hero-stats,
    .quick-stats {
        grid-template-columns: 1fr;
    }

    .hero-box {
        padding: 26px;
        border-radius: 28px;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.6rem);
    }

    .hero-slider {
        min-height: 320px;
    }

    .section-head,
    .admin-topbar,
    .event-foot,
    .sponsor-foot,
    .gallery-foot,
    .result-foot,
    .inline-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-head .btn,
    .inline-actions .btn,
    .event-foot .btn,
    .sponsor-foot .btn,
    .gallery-foot .btn,
    .result-foot .btn {
        width: 100%;
    }

    .page-hero,
    .form-card,
    .cta-banner,
    .stats-strip,
    .admin-panel,
    .login-card {
        padding: 22px;
    }
}

/* HP */
@media (max-width: 640px) {
    .container {
        width: calc(100% - 20px);
    }

    .nav-wrap {
        padding: 12px 0;
    }

    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .brand strong {
        font-size: 0.94rem;
    }

    .brand small {
        font-size: 0.72rem;
    }

    .hero {
        padding-top: 28px;
    }

    .hero-box {
        padding: 20px;
        border-radius: 24px;
    }

    .hero-actions,
    .inline-actions,
    .panel-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn,
    .inline-actions .btn,
    .panel-actions .btn,
    .btn,
    button.btn {
        width: 100%;
    }

    .hero-slider {
        min-height: 260px;
        border-radius: 20px;
    }

    .hero-slide-overlay {
        padding: 16px;
    }

    .hero-slide-overlay h3 {
        font-size: 1.15rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.15rem;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .slider-dots {
        bottom: 12px;
    }

    .section {
        padding: 22px 0 34px;
    }

    .section-head {
        margin-bottom: 18px;
    }

    .feature-card,
    .event-card,
    .result-card,
    .sponsor-card,
    .highlight-card,
    .info-card,
    .package-card,
    .payment-card,
    .credit-card,
    .form-card {
        padding: 18px;
        border-radius: 18px;
    }

    .feature-card {
        padding: 20px;
    }

    .modern-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }

    .modern-icon svg {
        width: 26px;
        height: 26px;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .gallery-card img {
        height: 200px;
    }

    .gallery-card-body {
        padding: 16px;
    }

    .icon-badge,
    .sponsor-mark {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .badge {
        padding: 7px 10px;
        font-size: 0.78rem;
    }

    .class-tag,
    .tag,
    .hero-pill {
        font-size: 0.8rem;
    }

    .stats-strip .metric-card,
    .stat-card,
    .metric-card {
        padding: 16px;
    }

    .table {
        min-width: 680px;
    }

    .gallery-modal {
        padding: 12px;
    }

    .gallery-modal-dialog {
        border-radius: 18px;
    }

    .gallery-modal-body {
        padding: 14px;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }
}

/* HP KECIL */
@media (max-width: 420px) {
    .container {
        width: calc(100% - 16px);
    }

    .brand strong {
        font-size: 0.9rem;
    }

    .brand small {
        font-size: 0.68rem;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .hero-box {
        padding: 16px;
    }

    .page-hero,
    .form-card,
    .cta-banner,
    .stats-strip,
    .admin-panel,
    .login-card {
        padding: 18px;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 1.55rem;
    }

    .hero-slider {
        min-height: 220px;
    }

    .hero-slide-overlay {
        padding: 14px;
    }

    .hero-slide-overlay p,
    .hero-slide-overlay small {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .section-head h2,
    .card h2 {
        font-size: 1.3rem;
    }

    .table {
        min-width: 620px;
    }
}
.premium-hero {
    position: relative;
    overflow: hidden;
}

.premium-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0) 70%);
    pointer-events: none;
}

.premium-lead {
    max-width: 720px;
    font-size: 1.02rem;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.trust-item {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
}

.trust-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.trust-item span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    line-height: 1.5;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.kicker-light {
    color: rgba(255, 255, 255, 0.82);
}

.premium-highlight-grid .highlight-card,
.premium-sponsor-card,
.premium-gallery-card,
.premium-event-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.premium-highlight-grid .highlight-card:hover,
.premium-sponsor-card:hover,
.premium-gallery-card:hover,
.premium-event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.premium-highlight-card {
    position: relative;
    overflow: hidden;
}

.premium-highlight-card::after {
    content: "";
    position: absolute;
    inset: auto -30px -30px auto;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.10) 0%, rgba(245, 158, 11, 0) 70%);
}

.event-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.event-price {
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.95rem;
}

.premium-event-card {
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
}

.premium-meta span {
    position: relative;
    padding-left: 14px;
}

.premium-meta span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    transform: translateY(-50%);
}

.premium-cta {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-gallery-card img {
    transition: transform 0.35s ease;
}

.premium-gallery-card:hover img {
    transform: scale(1.04);
}

@media (max-width: 860px) {
    .trust-strip {
        grid-template-columns: 1fr;
    }

    .event-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
}