:root {
    --stone-950: #0c0a09;
    --stone-900: #1c1917;
    --stone-800: #292524;
    --stone-700: #44403c;
    --stone-600: #57534e;
    --stone-500: #78716c;
    --stone-400: #a8a29e;
    --stone-300: #d6d3d1;
    --stone-200: #e7e5e4;
    --stone-100: #f5f5f4;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --amber-300: #fcd34d;
    --red-600: #dc2626;
    --emerald-100: #d1fae5;
    --emerald-700: #047857;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--stone-950);
}

.summit-page {
    min-height: 100vh;
    background: var(--stone-950);
    color: var(--stone-100);
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
            url('/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(12, 10, 9, 0.3), var(--stone-950));
}

.hero-content {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
    padding: 3rem 1.5rem;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow,
.section-eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(251, 191, 36, 0.4);
    background: rgba(251, 191, 36, 0.1);
    color: #fde68a;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.section-eyebrow {
    border: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    color: var(--amber-300);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
}

h1 {
    max-width: 56rem;
    color: white;
    font-size: clamp(3rem, 9vw, 5.75rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin: 1.5rem 0 0;
    font-weight: 950;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.button,
.hotel-link,
.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: 0.18s ease;
}

.button-primary,
.submit-button {
    background: var(--amber-500);
    color: var(--stone-950);
    box-shadow: 0 22px 36px rgba(120, 53, 15, 0.25);
}

.button-primary:hover,
.submit-button:hover {
    background: var(--amber-400);
}

.button-secondary {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.button-dark {
    background: var(--stone-950);
    color: white;
}

.button-dark:hover {
    background: var(--stone-800);
}

.event-card-shell {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 1.25rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(18px);
}

.event-card {
    background: rgba(12, 10, 9, 0.8);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.event-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.event-date {
    margin: 0;
    color: var(--amber-300);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    font-weight: 800;
}

.event-card h2 {
    margin: 0.5rem 0 0;
    font-size: 1.875rem;
    line-height: 1.1;
    color: white;
    font-weight: 950;
}

.price-badge {
    border-radius: 1rem;
    background: var(--amber-500);
    color: var(--stone-950);
    padding: 0.85rem 1rem;
    font-weight: 950;
}

.detail-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-detail {
    display: flex;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 1rem;
    padding: 1rem;
}

.event-detail-dot {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(245, 158, 11, 0.15);
    color: var(--amber-300);
    font-weight: 900;
}

.event-detail-label {
    margin: 0;
    color: var(--stone-400);
    font-size: 0.875rem;
}

.event-detail-value {
    margin: 0.15rem 0 0;
    color: var(--stone-100);
    font-weight: 700;
}

.register-section {
    max-width: 80rem;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.register-grid {
    display: grid;
    gap: 2.5rem;
}

.register-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.register-info h2 {
    color: white;
    font-size: clamp(2.25rem, 6vw, 3rem);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.04em;
    margin: 0.75rem 0 0;
}

.hotel-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.hotel-card h3 {
    margin: 0;
    color: white;
    font-size: 1.25rem;
    font-weight: 950;
}

.hotel-link {
    margin-top: 1.25rem;
    border: 1px solid rgba(251, 191, 36, 0.5);
    color: #fde68a;
    background: transparent;
}

.hotel-link:hover {
    background: rgba(251, 191, 36, 0.1);
}

.form-shell {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2rem;
    padding: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.form-card {
    border-radius: 1.5rem;
    background: white;
    color: var(--stone-950);
    padding: 1.5rem;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-stack h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 950;
}

.form-stack p {
    margin: 0.25rem 0 0;
    color: var(--stone-500);
    font-size: 0.875rem;
}

.field-label {
    display: block;
}

.field-label span {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--stone-800);
    font-size: 0.875rem;
    font-weight: 800;
}

.form-input {
    box-sizing: border-box;
    width: 100%;
    border-radius: 1rem;
    border: 1px solid var(--stone-200);
    background: white;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    color: var(--stone-950);
    outline: none;
}

.form-input:focus {
    border-color: var(--amber-500);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.validation-message {
    margin-top: 0.25rem;
    display: block;
    font-size: 0.875rem;
    color: var(--red-600);
}

.submit-button {
    width: 100%;
}

.success-state {
    min-height: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.success-icon {
    display: flex;
    height: 5rem;
    width: 5rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--emerald-100);
    color: var(--emerald-700);
    font-size: 2.5rem;
    font-weight: 900;
}

.success-state h3 {
    margin: 1.5rem 0 0;
    font-size: 1.875rem;
    font-weight: 950;
}

.success-state .button {
    margin-top: 2rem;
}

.summit-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(28, 25, 23, 0.6);
}

.footer-grid {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    padding: 3rem 1.5rem;
}

.footer-grid h2,
.footer-grid h3 {
    margin: 0;
    color: white;
    font-weight: 950;
}

.footer-grid h2 {
    font-size: 1.5rem;
}

.footer-grid p {
    margin: 0.5rem 0 0;
    color: var(--stone-400);
    font-size: 0.875rem;
}

.footer-grid a {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--amber-300);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 800;
}

.footer-grid a:hover {
    color: #fde68a;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-content,
    .register-section,
    .footer-grid {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .hero-content {
        padding-top: 5rem;
        padding-bottom: 5rem;
        grid-template-columns: 1.08fr 0.92fr;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-card {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    .register-grid {
        grid-template-columns: 0.85fr 1.15fr;
    }
}

.payment-error {
    border-radius: 1rem;
    background: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    font-weight: 700;
}

h1:focus {
    outline: none;
}

.admin-page {
    min-height: 100vh;
    background: #0c0a09;
    color: #f5f5f4;
    padding: 2rem;
}

.admin-header {
    max-width: 80rem;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.admin-header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.admin-header p {
    color: #a8a29e;
}

.admin-button {
    background: #f59e0b;
    color: #0c0a09;
    border: 0;
    border-radius: 1rem;
    padding: 0.85rem 1.25rem;
    font-weight: 800;
    cursor: pointer;
}

.admin-grid {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 1.5rem;
}

.admin-list,
.admin-detail {
    background: white;
    color: #0c0a09;
    border-radius: 1.5rem;
    padding: 1rem;
}

.registration-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    border: 1px solid #e7e5e4;
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    text-align: left;
}

.registration-row:hover {
    background: #f5f5f4;
}

.registration-row span {
    display: block;
    color: #78716c;
    margin-top: 0.25rem;
}

.paid-badge {
    border-radius: 999px;
    background: #d1fae5;
    color: #047857;
    padding: 0.35rem 0.75rem;
    font-weight: 800;
    white-space: nowrap;
}

.detail-section {
    border-top: 1px solid #e7e5e4;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.detail-section h3 {
    margin-top: 0;
}

.detail-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f5f5f4;
}

.detail-row span {
    color: #78716c;
}

.admin-error {
    max-width: 80rem;
    margin: 0 auto 1rem;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 1rem;
    padding: 1rem;
    font-weight: 700;
}

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

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-row {
        grid-template-columns: 1fr;
    }
}
