@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --brand-500: #c21d72;
    --brand-600: #a61961;
    --brand-700: #8a1450;
    --brand-dark: #111827;
    --brand-muted: #6b7280;
    --brand-light: #f9fafb;
    --brand-border: #e5e7eb;
    --brand-white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06);
    --shadow-md: 0 8px 24px rgba(17, 24, 39, 0.08);
    --shadow-lg: 0 20px 40px rgba(194, 29, 114, 0.12);
    --radius: 12px;
    --radius-pill: 999px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--brand-white);
    color: var(--brand-dark);
    line-height: 1.6;
}

.text-brand {
    color: var(--brand-500) !important;
}

.bg-brand {
    background: var(--brand-500) !important;
}

/* ── Navbar ── */
.site-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--brand-border);
    padding: 0.75rem 0;
}

.site-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--brand-dark);
    letter-spacing: -0.02em;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo:hover {
    opacity: 0.9;
}

.brand-logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.brand-logo-img-footer {
    height: 52px;
}

.brand-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--brand-500);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 8px;
    letter-spacing: -0.05em;
}

.brand-logo-text span {
    color: var(--brand-500);
}

.site-navbar .nav-link {
    color: var(--brand-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-pill);
    transition: color 0.2s, background 0.2s;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--brand-500);
    background: rgba(194, 29, 114, 0.06);
}

/* ── Buttons ── */
.btn-brand {
    background: var(--brand-500);
    border-color: var(--brand-500);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: 0.6rem 1.4rem;
    transition: background 0.2s, transform 0.15s;
}

.btn-brand:hover {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-brand {
    border: 2px solid var(--brand-500);
    color: var(--brand-500);
    background: transparent;
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: 0.6rem 1.4rem;
}

.btn-outline-brand:hover {
    background: var(--brand-500);
    color: #fff;
}

.btn-accent {
    background: var(--brand-500);
    border-color: var(--brand-500);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-pill);
}

.btn-accent:hover {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #fff;
}

.btn-ghost-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    background: transparent;
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: 0.75rem 1.5rem;
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: #fff;
}

/* ── Hero ── */
.hero-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1020 0%, #111827 40%, #0f172a 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(194, 29, 114, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(194, 29, 114, 0.15) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: cover, cover, 20px 20px;
    opacity: 0.9;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero-section .lead {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-highlight {
    color: var(--brand-500);
}

.page-hero {
    background: linear-gradient(135deg, #1a1020, #111827);
    color: #fff;
    padding: 3.5rem 0;
    margin-bottom: 2rem;
}

.page-hero h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ── Sections ── */
.section-title {
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--brand-muted);
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.section-gray {
    background: var(--brand-light);
}

/* ── Service / Category cards ── */
.service-card {
    background: var(--brand-light);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card .icon-wrap {
    width: 56px;
    height: 56px;
    background: rgba(194, 29, 114, 0.1);
    color: var(--brand-500);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--brand-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ── Stats ── */
.stat-block {
    text-align: center;
    padding: 1.5rem;
}

.stat-block .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-500);
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-block .stat-label {
    color: var(--brand-muted);
    font-weight: 500;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

/* ── Event cards ── */
.event-card {
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-sm);
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.event-card .card-img-top {
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #fce7f3, #f3f4f6);
}

.event-card .card-body {
    padding: 1.25rem;
}

.event-card .badge-category {
    background: rgba(194, 29, 114, 0.1);
    color: var(--brand-500);
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.75rem;
}

.event-card .badge-city {
    background: var(--brand-dark);
    color: #fff;
    font-weight: 500;
    font-size: 0.75rem;
    border-radius: var(--radius-pill);
}

.event-card .card-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0.75rem 0 0.5rem;
}

/* ── Featured platform card (large) ── */
.platform-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--brand-border);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: block;
    text-decoration: none;
    color: inherit;
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.platform-card .platform-img {
    height: 220px;
    background: linear-gradient(135deg, #1a1020, var(--brand-500));
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    color: #fff;
}

.platform-card .platform-body {
    padding: 1.25rem;
}

.platform-card h5 {
    font-weight: 700;
}

/* ── Upcoming event row ── */
.upcoming-row {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s;
}

.upcoming-row:hover {
    box-shadow: var(--shadow-md);
}

.upcoming-row .upcoming-img {
    min-height: 220px;
    background: linear-gradient(135deg, #111827, #c21d72);
}

.upcoming-row .upcoming-body {
    padding: 2rem;
}

.upcoming-row h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ── CTA banner ── */
.cta-section {
    background: linear-gradient(135deg, #111827, #1a1020);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ── Forms & panels ── */
.auth-card,
.form-panel {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(194, 29, 114, 0.15);
}

.panel-sidebar {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.panel-sidebar .nav-link {
    color: var(--brand-muted);
    border-radius: 8px;
    margin-bottom: 4px;
    font-weight: 500;
}

.panel-sidebar .nav-link.active,
.panel-sidebar .nav-link:hover {
    background: rgba(194, 29, 114, 0.08);
    color: var(--brand-500);
}

.stat-card {
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.ticket-box {
    border: 2px solid var(--brand-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: border-color 0.2s, background 0.2s;
}

.ticket-box:hover {
    border-color: var(--brand-500);
    background: rgba(194, 29, 114, 0.03);
}

.event-banner {
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius);
    width: 100%;
    background: linear-gradient(135deg, #fce7f3, #f3f4f6);
}

.ticket-print {
    border: 2px dashed var(--brand-500);
    border-radius: var(--radius);
    padding: 2rem;
    background: #fff;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--brand-muted);
    text-align: center;
    border: 1px solid var(--brand-border);
}

/* ── Footer ── */
.site-footer {
    background: var(--brand-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 2rem;
}

.site-footer h5,
.site-footer h6 {
    color: #fff;
    font-weight: 700;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--brand-500);
}

.site-footer .footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.site-footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    margin-right: 0.5rem;
    font-size: 1rem;
}

.site-footer .social-links a:hover {
    background: var(--brand-500);
    color: #fff;
}

/* ── Search bar in hero ── */
.hero-search {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-pill);
    padding: 0.35rem;
    box-shadow: var(--shadow-lg);
    max-width: 720px;
    margin: 0 auto;
}

.hero-search .form-control {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0.75rem 1.25rem;
}

.hero-search .form-control:focus {
    box-shadow: none;
}

.hero-search .btn {
    border-radius: var(--radius-pill);
    padding: 0.75rem 1.75rem;
}

/* ── Misc ── */
main:not(:has(.hero-section)) {
    min-height: 50vh;
}

.breadcrumb-nav {
    font-size: 0.875rem;
    color: var(--brand-muted);
}

.alert {
    border-radius: var(--radius);
    border: none;
}

.pagination .page-item.active .page-link {
    background: var(--brand-500);
    border-color: var(--brand-500);
}

.pagination .page-link {
    color: var(--brand-500);
    border-radius: 8px;
    margin: 0 2px;
}

.site-footer .brand-logo-text {
    color: #fff;
}

.site-footer .brand-logo-text span {
    color: var(--brand-500);
}
    .hero-section {
        min-height: 420px;
        text-align: center;
    }

    .upcoming-row .upcoming-body {
        padding: 1.25rem;
    }
}
