/* =========================================================
   DJ SKALATA — CINEMATIC GLOBAL APP.CSS
========================================================= */

:root {
    --bg: #03040b;
    --bg-2: #070915;
    --bg-3: #0b1022;

    --text: #ffffff;
    --text-soft: #f4f6ff;
    --muted: #aeb4c8;

    --purple: #a855f7;
    --purple-2: #7c3aed;
    --pink: #ff3eb5;
    --blue: #35a7ff;
    --cyan: #37e7ff;
    --green: #25d366;
    --gold: #f3c66b;

    --card: rgba(255, 255, 255, 0.055);
    --card-strong: rgba(255, 255, 255, 0.095);
    --line: rgba(255, 255, 255, 0.13);
    --line-strong: rgba(255, 255, 255, 0.24);

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;

    --shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
    --shadow-neon: 0 0 42px rgba(168, 85, 247, 0.34);

    --transition: .26s ease;
}

/* RESET */

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 6%, rgba(168, 85, 247, .20), transparent 28%),
        radial-gradient(circle at 78% 10%, rgba(53, 167, 255, .16), transparent 30%),
        radial-gradient(circle at 92% 70%, rgba(255, 62, 181, .13), transparent 32%),
        linear-gradient(180deg, #02030a 0%, #070915 48%, #02030a 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 82%);
    z-index: -1;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* GLOBAL */

.page,
.cinematic-page {
    width: 100%;
}

.container {
    width: min(1360px, calc(100% - 48px));
    margin: 0 auto;
}

.card {
    position: relative;
    padding: 28px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(168,85,247,.16), transparent 36%),
        radial-gradient(circle at 90% 10%, rgba(53,167,255,.14), transparent 34%);
    pointer-events: none;
}

.page-title {
    margin: 0 0 18px;
    font-size: clamp(42px, 6vw, 92px);
    line-height: .92;
    letter-spacing: -3px;
    text-transform: uppercase;
    color: var(--text);
}

.page-subtitle {
    max-width: 650px;
    color: var(--muted);
    line-height: 1.75;
    font-size: 17px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--purple), var(--pink), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--purple);
    font-weight: 900;
    font-size: 15px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.mini-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: white;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    box-shadow: 0 0 26px rgba(255,62,181,.36);
}

.mini-icon svg {
    width: 15px;
    height: 15px;
}

/* ATMOSPHERE */

.site-atmosphere {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -20;
}

.ambient {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .22;
}

.ambient-one {
    width: 520px;
    height: 520px;
    left: -140px;
    top: -140px;
    background: var(--purple);
    animation: floatAmbient 16s ease-in-out infinite;
}

.ambient-two {
    width: 460px;
    height: 460px;
    right: -120px;
    top: 10%;
    background: var(--blue);
    animation: floatAmbient 18s ease-in-out infinite reverse;
}

.ambient-three {
    width: 380px;
    height: 380px;
    left: 40%;
    bottom: -140px;
    background: var(--pink);
    animation: floatAmbient 20s ease-in-out infinite;
}

@keyframes floatAmbient {
    0% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-40px) translateX(20px);
    }

    100% {
        transform: translateY(0) translateX(0);
    }
}

/* HEADER */

.site-header {
    position: fixed;
    top: 18px;
    left: 24px;
    right: 24px;
    z-index: 99999;
    border-radius: 28px;
    background: rgba(7, 9, 18, .50);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 18px 60px rgba(0,0,0,.30),
        0 0 0 1px rgba(255,255,255,.03);
    transition:
        background .35s ease,
        border .35s ease,
        transform .35s ease,
        box-shadow .35s ease;
}

.site-header.is-scrolled {
    background: rgba(7,9,18,.78);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    box-shadow:
        0 24px 80px rgba(0,0,0,.45),
        0 0 0 1px rgba(255,255,255,.04);
}

.header-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
}

.header-glow::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 20% 50%, rgba(168,85,247,.24), transparent 28%),
        radial-gradient(circle at 80% 50%, rgba(53,167,255,.18), transparent 26%);
}

.nav {
    position: relative;
    width: 100%;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

/* BRAND */

.brand {
    position: relative;
    z-index: 100002;
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

.brand-logo {
    height: 60px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    transition:
        transform .35s ease,
        filter .35s ease;
    filter:
        drop-shadow(0 0 18px rgba(168,85,247,.34))
        drop-shadow(0 0 22px rgba(53,167,255,.16));
}

.brand:hover .brand-logo {
    transform: scale(1.05) translateY(-2px);
    filter:
        drop-shadow(0 0 32px rgba(168,85,247,.52))
        drop-shadow(0 0 30px rgba(255,62,181,.20));
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    font-size: 18px;
    font-weight: 950;
    letter-spacing: -.05em;
    color: #fff;
}

.brand-text span {
    margin-top: 6px;
    color: rgba(255,255,255,.56);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 10px;
    font-weight: 900;
}

/* MENU DESKTOP BASE */

.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 26px;
}

.menu-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    margin-left: auto;
    margin-right: auto;
}

.menu-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.auth-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu a {
    position: relative;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition:
        color .3s ease,
        transform .3s ease;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--purple), var(--blue), var(--pink));
    transform: translateX(-50%);
    transition: width .35s ease;
}

.menu a:hover,
.menu a.active {
    color: #fff;
    transform: translateY(-2px);
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

/* BURGER */

.menu-toggle {
    display: none;
    position: relative;
    z-index: 100003;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 99px;
    background: #fff;
    transition: .3s ease;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* BUTTONS */

.btn,
.booking-btn,
.login-btn,
.logout-btn,
.admin-link {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.06);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    transition:
        transform .35s ease,
        background .35s ease,
        border .35s ease,
        box-shadow .35s ease;
}

.btn:hover,
.booking-btn:hover,
.login-btn:hover,
.logout-btn:hover,
.admin-link:hover {
    transform: translateY(-3px);
}

.btn-primary,
.booking-btn {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    border-color: rgba(255,62,181,.32);
    box-shadow: 0 20px 60px rgba(255,62,181,.24);
}

.nav-icon,
.btn-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
}

.nav-icon svg,
.btn-icon svg {
    width: 18px;
    height: 18px;
}

/* LANG */

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
}

.lang-switcher a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.lang-switcher a.active,
.lang-switcher a:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
}

/* FORMS */

input,
textarea,
select {
    width: 100%;
    padding: 15px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: white;
    outline: none;
    transition: border var(--transition), box-shadow var(--transition), background var(--transition);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(168,85,247,.75);
    background: rgba(255,255,255,.085);
    box-shadow:
        0 0 0 4px rgba(168,85,247,.12),
        0 0 34px rgba(53,167,255,.10);
}

input::placeholder,
textarea::placeholder {
    color: rgba(174,180,200,.72);
}

/* ALERTS */

.alert-success,
.alert-error {
    width: min(1280px, calc(100% - 40px));
    margin: 20px auto;
    padding: 16px 18px;
    border-radius: 16px;
    font-weight: 800;
    box-shadow: var(--shadow);
}

.alert-success {
    color: #eafff1;
    background: rgba(37, 211, 102, .13);
    border: 1px solid rgba(37, 211, 102, .35);
}

.alert-error {
    color: #fff0f4;
    background: rgba(255, 62, 181, .13);
    border: 1px solid rgba(255, 62, 181, .35);
}

/* FOOTER */

.cinema-footer {
    position: relative;
    overflow: hidden;
    padding: 140px 7vw 40px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bg-word {
    position: absolute;
    left: 50%;
    top: 40px;
    transform: translateX(-50%);
    font-size: clamp(100px,22vw,320px);
    line-height: .8;
    font-weight: 950;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.05);
    pointer-events: none;
}

.footer-atmosphere {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(168,85,247,.14), transparent 30%),
        radial-gradient(circle at 80% 10%, rgba(53,167,255,.12), transparent 28%);
    pointer-events: none;
}

.footer-main {
    position: relative;
    z-index: 3;
}

.footer-brand-block {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 26px;
    align-items: center;
    max-width: 860px;
    margin: 0 auto 100px;
}

.footer-brand-logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(168,85,247,.34));
}

.footer-brand-copy span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 11px;
    font-weight: 900;
}

.footer-brand-copy h2 {
    margin: 12px 0;
    font-size: clamp(42px,6vw,90px);
    line-height: .9;
    letter-spacing: -.08em;
}

.footer-brand-copy p {
    max-width: 620px;
    color: rgba(255,255,255,.58);
    line-height: 1.8;
}

.footer-links-cinema {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 80px;
}

.footer-links-cinema a {
    color: rgba(255,255,255,.56);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
    font-weight: 900;
    transition:
        color .3s ease,
        transform .3s ease;
}

.footer-links-cinema a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.footer-social-cinema {
    display: grid;
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-social-cinema a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: #fff;
    font-size: clamp(28px,5vw,72px);
    line-height: .9;
    font-weight: 950;
    letter-spacing: -.06em;
    transition:
        padding .35s ease,
        color .35s ease;
}

.footer-social-cinema a:hover {
    color: var(--gold);
    padding-left: 30px;
}

.footer-bottom-cinema {
    position: relative;
    z-index: 3;
    margin-top: 44px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    color: rgba(255,255,255,.42);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cinema-whatsapp {
    position: fixed;
    right: 26px;
    bottom: 24px;
    z-index: 99999;
    min-height: 58px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--green), #1ebe57);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    box-shadow: 0 20px 60px rgba(37,211,102,.32);
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.cinema-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 80px rgba(37,211,102,.42);
}

/* AUTH */

.auth-page {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.auth-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(168,85,247,.22), transparent 35%),
        radial-gradient(circle at bottom right, rgba(53,167,255,.18), transparent 35%);
    pointer-events: none;
}

.auth-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    padding: 42px;
    border-radius: 32px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.logo-circle {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#a855f7,#35a7ff);
    box-shadow:
        0 0 30px rgba(168,85,247,.45),
        0 0 60px rgba(53,167,255,.25);
}

.logo-circle i {
    color: #fff;
    font-size: 30px;
}

.auth-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #9fdcff;
    font-size: .9rem;
    margin-bottom: 14px;
}

.auth-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: #fff;
}

.auth-subtitle {
    text-align: center;
    color: rgba(255,255,255,.72);
    margin-bottom: 32px;
    line-height: 1.7;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-form label {
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-form input {
    height: 58px;
    border-radius: 18px;
    padding: 0 18px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    font-size: 1rem;
    transition: .25s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: rgba(168,85,247,.7);
    box-shadow: 0 0 0 4px rgba(168,85,247,.14);
}

.auth-form input::placeholder {
    color: rgba(255,255,255,.35);
}

.auth-btn {
    height: 58px;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 6px;
}

/* DESKTOP FIT */

@media (max-width: 1240px) and (min-width: 921px) {
    .brand-text {
        display: none;
    }

    .menu-links {
        gap: 22px;
    }

    .menu a {
        font-size: 12px;
        letter-spacing: .12em;
    }

    .booking-btn {
        padding: 0 18px;
    }
}

/* MOBILE MENU */

@media (max-width: 920px) {
    body {
        padding-top: 92px;
    }

    .site-header {
        top: 12px;
        left: 12px;
        right: 12px;
        border-radius: 24px;
        z-index: 99999;
    }

    .nav {
        padding: 12px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .brand-logo {
        height: 50px;
        max-width: 155px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu {
        position: fixed;
        inset: 0;
        z-index: 100000;
        width: 100%;
        height: 100vh;
        padding: 125px 26px 40px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 32px;
        background:
            radial-gradient(circle at 20% 10%, rgba(168,85,247,.28), transparent 34%),
            radial-gradient(circle at 80% 20%, rgba(255,62,181,.18), transparent 30%),
            rgba(3,4,10,.97);
        backdrop-filter: blur(26px);
        -webkit-backdrop-filter: blur(26px);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform .45s ease, opacity .45s ease;
    }

    .menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .menu-links,
    .menu-right,
    .auth-group {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .menu-links {
        margin: 0;
    }

    .menu-links a {
        width: 100%;
        font-size: clamp(34px, 10vw, 64px);
        line-height: .9;
        letter-spacing: -.06em;
        justify-content: flex-start;
        text-align: left;
    }

    .menu a::after {
        display: none;
    }

    .menu-right {
        margin-top: 18px;
    }

    .booking-btn,
    .logout-btn,
    .admin-link {
        width: 100%;
        min-height: 56px;
        justify-content: center;
    }

    .lang-switcher {
        width: 100%;
        justify-content: center;
        border-radius: 999px;
    }

    .footer-brand-block {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand-logo {
        margin: 0 auto;
    }

    .footer-bottom-cinema {
        justify-content: center;
        text-align: center;
    }
}

/* SMALL MOBILE */

@media (max-width: 540px) {
    body {
        padding-top: 86px;
    }

    .container {
        width: min(100% - 24px, 1360px);
    }

    .brand-text {
        display: none;
    }

    .brand-logo {
        height: 48px;
        max-width: 54px;
    }

    .page-title {
        font-size: clamp(38px, 12vw, 56px);
        letter-spacing: -1.7px;
    }

    .card {
        border-radius: 22px;
        padding: 20px;
    }

    .cinema-footer {
        padding: 100px 22px 34px;
    }

    .footer-links-cinema a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .cinema-whatsapp {
        width: 62px;
        height: 62px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        font-size: 0;
    }

    .cinema-whatsapp span {
        font-size: 24px;
    }

    .auth-card {
        padding: 30px 22px;
        border-radius: 26px;
    }

    .auth-title {
        font-size: 1.8rem;
    }
}