* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f5f7;
    color: #222;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px 16px;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    padding: 24px 20px;
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.admin-card {
    max-width: 520px;
    text-align: left;
}

.logo-wrap {
    margin-bottom: 16px;
}

.logo-img {
    max-width: 180px;
    height: auto;
}

.event-line {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.event-date {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 16px;
}

.hero-image-wrap {
    margin: 16px 0 20px;
}

.hero-image {
    max-width: 100%;
    border-radius: 12px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.redirect-note {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.primary-button {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}

.primary-button:hover {
    background: #000;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.full-width {
    width: 100%;
    text-align: center;
}

.footer {
    margin-top: 16px;
    font-size: 0.8rem;
    color: #888;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.form-label {
    font-size: 0.9rem;
    color: #444;
    display: block;
}

.form-input {
    margin-top: 4px;
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
}

.form-input:focus {
    outline: none;
    border-color: #111;
}

.admin-title {
    text-align: center;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.alert {
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.alert-error {
    background: #ffe5e5;
    color: #b00020;
}

.alert-success {
    background: #e6f6e6;
    color: #156c31;
}

.secondary-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
}

.secondary-link:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .card, .admin-card {
        padding: 20px 16px;
    }

    .event-line {
        font-size: 1.1rem;
    }
}
