* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0d0d0d;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Efekt podwodny w tle dla formularza */
body.login-active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

body.login-active::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(0, 150, 136, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 188, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Formularz logowania */
.login-box {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 188, 212, 0.1);
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    backdrop-filter: blur(10px);
}

.login-box .title-wrapper {
    margin-bottom: 40px;
}

.login-box h1 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.4;
}

.login-box h1 .part-two {
    display: block;
    color: #00bcd4;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 3px;
    margin-top: 10px;
}

.login-box .title-separator {
    display: inline-block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00bcd4, transparent);
    margin: 15px 0 25px 0;
}

.login-box p {
    color: #999;
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.6;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 188, 212, 0.3);
    border-radius: 10px;
    font-size: 16px;
    color: #ffffff;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    font-weight: 500;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    text-transform: none;
    letter-spacing: normal;
}

.input-group input:focus {
    outline: none;
    border-color: #00bcd4;
    background: rgba(0, 188, 212, 0.05);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.2);
}

.btn {
    width: 100%;
    padding: 18px;
    background: transparent;
    color: #ffffff;
    border: 2px solid #00bcd4;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 188, 212, 0.2);
    transition: left 0.3s;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    border-color: #00e5ff;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.5);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Toast notification */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(26, 26, 26, 0.98);
    border: 1px solid rgba(0, 188, 212, 0.3);
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
    max-width: 400px;
    backdrop-filter: blur(10px);
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    border-left: 4px solid #ff5252;
}

.toast.success {
    border-left: 4px solid #00e676;
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-message {
    color: #ffffff;
    font-size: 15px;
}

/* Główna treść strony - FULL WIDTH na desktop */
.content {
    display: none;
    animation: fadeIn 0.8s ease;
}

.content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Hero z grafiką FULL WIDTH na desktop (>1024px) */
.hero-image-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d0d0d;
}

.hero-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

/* Przyciski na grafice - DESKTOP (>1024px) - wyżej, żeby nie nachodziły na tekst */
.ticket-buttons-overlay {
    position: absolute;
    bottom: 29%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 10;
}
picture {
    width: 100%;
}

.ticket-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 12px 45px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.ticket-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.4s;
}

.ticket-btn:hover::before {
    left: 100%;
}

.ticket-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ticket-btn .label {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.ticket-btn .time {
    font-size: 36px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.ticket-btn .date {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 1px;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 188, 212, 0.3);
    border-top-color: #00bcd4;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

/* MOBILE (≤1024px): dedykowane zdjęcie pionowe + przyciski POD zdjęciem */
@media (max-width: 1024px) {
    /* Formularz logowania */
    .login-box {
        padding: 40px 30px;
    }

    .login-box h1 {
        font-size: 26px;
        letter-spacing: 3px;
    }

    .login-box h1 .part-two {
        font-size: 18px;
    }

    /* MOBILE: Dedykowane zdjęcie pionowe + przyciski POD zdjęciem */
    .hero-image-container {
        min-height: auto;
        flex-direction: column;
        padding: 0;
        background: #0d0d0d;
    }

    .hero-image {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 0;
        max-height: none;
        margin-top: -60px;
    }

    /* Przyciski POD zdjęciem mobilnym */
    .ticket-buttons-overlay {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        flex-direction: column;
        gap: 15px;
        margin-top: 0;
        padding: 30px 20px 40px 20px;
        width: 100%;
        max-width: none;
        background: #0d0d0d;
    }

    .ticket-btn {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        min-width: auto;
        padding: 25px 40px;
    }

    .ticket-btn .time {
        font-size: 32px;
    }

    .ticket-btn .date {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    body.login-active {
        padding: 15px;
    }

    .login-box {
        padding: 30px 20px;
    }

    .login-box h1 {
        font-size: 22px;
    }

    .login-box h1 .part-two {
        font-size: 16px;
    }

    .ticket-buttons-overlay {
        padding: 25px 15px 35px 15px;
    }

    .ticket-btn {
        padding: 20px 30px;
        max-width: 100%;
    }

    .ticket-btn .label {
        font-size: 11px;
    }

    .ticket-btn .time {
        font-size: 28px;
    }
}