/* -------------------------------------------------
   VK Marathon – Registration Form Stylesheet
   Author: VK Marathon
-------------------------------------------------- */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #16a34a;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e5e7eb;
    --danger: #ef4444;
}

/* Reset & base */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background: linear-gradient(
        135deg,
        #1a0000 0%,     /* deep black-red */
        #7f0000 35%,    /* dark red */
        #b91c1c 55%,    /* maroon red */
        #000000 100%    /* black */
    );
    
    color: var(--text-main);
}

 


/* Layout */
.page-wrapper {
    min-height: 100vh;
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card */
.card {
    max-width: 860px;
    width: 100%;
    background: var(--bg-card);
    border-radius: 18px;
    padding: 28px 26px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

/* Header */
.card-header {
    text-align: center;
    margin-bottom: 20px;
}

.card-header h1 {
    font-size: 1.85rem;
    margin: 0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-main);
}

.card-header p {
    margin: 6px 0 0;
    font-size: .9rem;
    color: var(--text-muted);
}

/* Form */
form {
    margin-top: 10px;
}

/* Grid layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Full width utility */
.full-width {
    grid-column: 1 / -1;
}

/* Form groups */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-main);
}

/* Inputs & selects */
.form-control,
.form-select {
    padding: 11px 12px;
    font-size: .9rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    outline: none;
    transition: border .18s ease, box-shadow .18s ease;
    background: #ffffff;
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

/* Radio buttons */
.radio-group {
    display: flex;
    gap: 18px;
}

.radio-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    cursor: pointer;
}

/* Notes */
.note {
    margin-top: 4px;
    font-size: .75rem;
    color: var(--text-muted);
}

/* Required star */
.required {
    color: var(--danger);
    margin-left: 2px;
}

/* Buttons */
.btn-row {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.btn-primary {
    padding: 12px 32px;
    border-radius: 999px;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.42);
    opacity: .96;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
}

.brochure-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.45);
}



/* Message box */
.message {
    border-radius: 12px;
    padding: 10px 14px;
    font-size: .85rem;
    margin-bottom: 12px;
}

.message.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.message.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #7f1d1d;
}

/* Small devices */
@media (max-width: 480px) {
    .card {
        padding: 22px 18px;
    }
    .card-header h1 {
        font-size: 1.5rem;
    }
}
