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

html {
    background: #050505;
}

body {
    display: flex;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    min-height: 100vh;
    color: #ffffff;
    background: linear-gradient(180deg, #050505 0%, #0f0f0f 50%, #050505 100%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
}

.fireflies {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.firefly {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #d4af37;
    border-radius: 50%;
    box-shadow: 0 0 10px #d4af37, 0 0 20px #d4af37;
    opacity: 0;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
    }
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 30px;
    text-align: center;
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #d4af37);
}

.mask-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.event-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: #d4af37;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    margin-bottom: 10px;
}

.event-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: #ffffff;
    letter-spacing: 0.2em;
    opacity: 0.9;
}

.divider {
    color: #d4af37;
    font-size: 1.2rem;
    margin: 40px 0;
    opacity: 0.8;
}

.info-section {
    margin: 30px 0;
}

.info-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #d4af37;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.date-time {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.date-time .day {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0.8;
}

.date-time .date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 0.1em;
}

.date-time .time {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #ffffff;
    opacity: 0.9;
}

.program-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.program-list li {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: #ffffff;
    letter-spacing: 0.1em;
}

.program-list li::before {
    content: '✦';
    color: #d4af37;
    margin-right: 10px;
    font-size: 0.8rem;
}

.program-section {
    width: 100%;
}

.program-grid {
    display: flex;
    gap: 30px 40px;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.program-item {
    padding: 20px 15px;
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 140px;
}

.program-item:nth-child(3) {
    flex-basis: 100%;
}

.program-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

.program-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.venue-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.venue-address {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #d4af37;
    opacity: 0.9;
}

.payment-section .price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 5px;
}

.payment-section .payment-method {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #ffffff;
    opacity: 0.8;
    margin-bottom: 20px;
}

.payment-button {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0a0a0a;
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a1 50%, #d4af37 100%);
    padding: 15px 40px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.payment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
}

.footer-masks {
    width: 50px;
    height: 50px;
    margin-top: 50px;
    opacity: 0.6;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
    position: relative;
    z-index: 1;
}

/* Remove decorative line for photos container */
.photos-container::after {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        padding: 40px 20px;
    }
    
    .event-title {
        font-size: 2rem;
        letter-spacing: 0.2em;
    }
    
    .event-subtitle {
        font-size: 1.1rem;
    }
    
    .date-time .date {
        font-size: 2rem;
    }
    
    .mask-icon {
        width: 60px;
        height: 60px;
        margin-top: 20px;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 
                0 0 60px rgba(212, 175, 55, 0.1),
                inset 0 1px 0 rgba(212, 175, 55, 0.1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #d4af37;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    opacity: 0.7;
}

.modal-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #d4af37;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 5px;
}

.modal-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: #ffffff;
    text-align: center;
    opacity: 0.8;
    margin-bottom: 30px;
}

.modal-section {
    margin-bottom: 25px;
}

.modal-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #d4af37;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    text-align: center;
}

.allergy-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.allergy-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.allergy-checkbox:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.allergy-checkbox input {
    display: none;
}

.allergy-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.allergy-checkbox input:checked + .checkmark {
    background: #d4af37;
    border-color: #d4af37;
}

.allergy-checkbox input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0a0a0a;
    font-size: 12px;
    font-weight: bold;
}

.allergy-checkbox .label-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.custom-allergy-input {
    display: none;
    width: 100%;
    margin-top: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.custom-allergy-input:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.custom-allergy-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.name-input {
    display: none;
    width: 100%;
    margin-top: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.name-input:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.name-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.important-notice {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    padding: 20px;
    text-align: center;
}

.notice-badge {
    display: inline-block;
    background: #d4af37;
    color: #0a0a0a;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.important-notice p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
}

.important-notice p strong {
    color: #d4af37;
    font-weight: 600;
}

.notice-example {
    margin-top: 10px !important;
    font-style: italic;
    opacity: 0.7;
    font-size: 0.85rem !important;
}

.vipps-button-wrapper {
    display: block;
    width: 100%;
    margin-top: 10px;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.vipps-button-wrapper vipps-mobilepay-button {
    width: 100%;
    pointer-events: none;
}

/* Confirmation Modal Styles */
.confirmation-modal .confirmation-content {
    max-width: 420px;
    text-align: center;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(255, 59, 48, 0.5));
}

.confirmation-message {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0 25px;
}

.confirmation-message p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.7;
    margin: 0 0 15px 0;
}

.confirmation-message p strong {
    color: #d4af37;
    font-weight: 600;
}

.confirmation-example-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-top: 15px;
    display: block;
}

.confirmation-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.confirm-vipps-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.confirm-vipps-btn vipps-mobilepay-button {
    width: 100%;
    pointer-events: none;
}

.confirm-vipps-btn:disabled {
    filter: brightness(0.5);
    cursor: not-allowed;
}

.countdown-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 10;
    border-radius: 4px;
    pointer-events: none;
}

.cancel-btn {
    display: block;
    width: 100%;
    padding: 14px 30px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

/* Modal responsive */
@media (max-width: 600px) {
    .modal-overlay {
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 0;
        max-width: 100%;
        width: 100%;
        max-height: 100dvh;
        border-radius: 0;
        border: none;
        overflow-y: auto;
    }

    .modal-title {
        font-size: 1.6rem;
    }

    .allergy-options {
        grid-template-columns: 1fr;
    }
}