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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 500px;
    width: 100%;
    background-color: #000;
    border-radius: 30px;
    padding: 30px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.header {
    text-align: center;
    margin-bottom: 30px;
    user-select: none;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    cursor: pointer;
}

.header h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
}

.event-box {
    background: linear-gradient(135deg, #2563b5, #1e4a8a);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.event-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.event-title {
    font-size: 32px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 10px;
}

.event-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 20px;
}

.event-for {
    font-size: 18px;
    color: #fbbf24;
    margin-bottom: 15px;
}

.event-details {
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
    white-space: pre-line;
}

.form-section {
    margin-bottom: 30px;
}

.date-selector {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.date-selector:hover {
    border-color: #fbbf24;
}

.date-selector.selected {
    border-color: #fbbf24;
    background: #3a3a3a;
}

.date-selector input[type="radio"] {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    cursor: pointer;
    accent-color: #fbbf24;
}

.date-text {
    font-size: 20px;
    font-weight: 600;
}

.input-field {
    width: 100%;
    background: #2a2a2a;
    border: none;
    border-radius: 8px;
    padding: 15px;
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
    transition: background 0.3s;
}

.input-field:focus {
    outline: none;
    background: #3a3a3a;
}

.input-field::placeholder {
    color: #888;
}

.info-box {
    background: linear-gradient(135deg, #2563b5, #1e4a8a);
    padding: 15px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 30px;
    white-space: pre-line;
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-info {
    background: transparent;
    color: #fbbf24;
    border: 3px solid #fbbf24;
}

.btn-info:hover {
    background: #fbbf24;
    color: #000;
}

.btn-reserve {
    background: #ec4899;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-reserve:hover {
    background: #db2777;
    transform: translateY(-2px);
}

.screen {
    display: none;
}

.screen.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 64px;
    color: #10b981;
    margin-bottom: 20px;
}

.success-message h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #10b981;
}

.success-message p {
    font-size: 16px;
    color: #888;
    line-height: 1.6;
}

.date-highlight {
    background: #000;
    border: 3px solid #fbbf24;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Admin Panel Styles */
.admin-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 999;
    overflow-y: auto;
    padding: 20px;
}

.admin-content {
    max-width: 800px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #333;
}

.admin-header h2 {
    font-size: 28px;
    color: #fbbf24;
}

.admin-close {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.admin-close:hover {
    background: #b91c1c;
}

.admin-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #2a2a2a;
    border-radius: 8px;
}

.admin-section h3 {
    font-size: 20px;
    color: #fbbf24;
    margin-bottom: 15px;
}

.admin-field {
    margin-bottom: 20px;
}

.admin-field label {
    display: block;
    margin-bottom: 8px;
    color: #aaa;
    font-size: 14px;
}

.admin-field input[type="text"],
.admin-field input[type="email"],
.admin-field input[type="url"],
.admin-field input[type="file"],
.admin-field input[type="password"],
.admin-field textarea {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 12px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
}

.admin-field textarea {
    min-height: 150px;
    resize: vertical;
}

.admin-field input:focus,
.admin-field textarea:focus {
    outline: none;
    border-color: #fbbf24;
}

.admin-save {
    background: #10b981;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    width: 100%;
    margin-top: 20px;
}

.admin-save:hover {
    background: #059669;
}

.image-preview {
    max-width: 100%;
    max-height: 200px;
    margin-top: 10px;
    border-radius: 8px;
}

.admin-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.admin-export,
.admin-import {
    flex: 1;
    background: #6366f1;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.admin-export:hover,
.admin-import:hover {
    background: #4f46e5;
}

.password-section {
    margin-bottom: 20px;
    padding: 20px;
    background: #2a2a2a;
    border-radius: 8px;
}

.password-info {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }

    .event-title {
        font-size: 26px;
    }

    .event-subtitle {
        font-size: 22px;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .admin-content {
        padding: 20px;
    }
}
