/*style.css*/

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,600;14..32,800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #241e44 inset !important;
    -webkit-text-fill-color: white !important;
    caret-color: white !important;  
    transition: background-color 5000s ease-in-out 0s;
}
input:-webkit-autofill::first-line {
    color: white !important;
    font-size: 14px !important;
}
input:filter(autofill) {
    filter: none;
}
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 7, 24, 0.4);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-soft-teal);
    border-radius: 20px;
    border: 2px solid #0f0a2a; 
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-muted-lavender);
}
:root {
    --deep-bg: #0a0718;
    --accent-soft-teal: #5dc9c9;
    --accent-muted-lavender: #b5a1e6;
    --glass-bg: rgba(20, 15, 45, 0.35);
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-light: #f0eef7;
    --card-radius: 24px;
}
html {
    overflow-x: hidden;
    width: 100%;
}
body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(ellipse at 30% 40%, #2a1f4a, #0f0a2a) !important;
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -2;
    opacity: 0.2;
    animation: floatOrb 30s infinite alternate ease-in-out;
}

.orb-1 {
    width: 30vw;
    height: 30vw;
    background: #3b2a6b;
    top: -15vh;
    left: -10vw;
}

.orb-2 {
    width: 25vw;
    height: 25vw;
    background: #1e5f6b;
    bottom: -5vh;
    right: -5vw;
    animation-delay: -10s;
}

.orb-3 {
    width: 20vw;
    height: 20vw;
    background: #6b3b7a;
    top: 50%;
    left: 70%;
    animation-duration: 40s;
    opacity: 0.15;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(3%, 5%) scale(1.1);
    }
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.3);
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 28px;
    margin: 20px 32px;
    position: sticky;
    top: 20px;
    z-index: 100;
    background: rgba(10, 7, 24, 0.55);
    backdrop-filter: blur(20px);
    border-radius: var(--card-radius);
}

header.glass {
    min-height: clamp(4rem, 8vh, 5rem);
    padding: 0 clamp(1rem, 3vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.mobile-nav-container {
    display: none;
}

.glass-select-header {
    background: transparent;
    border: none;
    color: white;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

.logo {
    font-size: 26px;
    font-weight: 750;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #fff, var(--accent-soft-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration-line: none;
}

.logo span {
    background: linear-gradient(135deg, var(--accent-muted-lavender), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-soft-teal);
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}

.header-right {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1.5rem);
    height: 100%;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 4px 15px;
}

.search-results-dropdown {
    background: rgba(15, 10, 30, 0.98) !important;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 12px;
    text-decoration: none !important;
    color: var(--text-light) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 8px;
    transition: all 0.2s ease;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.search-result-item img {
    width: 40px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
}

.search-result-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 4px;
}

.search-result-meta {
    font-size: 12px;
    opacity: 0.6;
}

.search-placeholder {
    padding: 15px;
    text-align: center;
    font-size: 14px;
    opacity: 0.5;
}

.search-results-dropdown::-webkit-scrollbar {
    width: 4px;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: var(--accent-soft-teal);
    border-radius: 10px;
}

.glass-input {
    background: transparent;
    border: none;
    padding: 4px 8px;
    width: 220px;
    color: white;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    border-radius: 40px !important;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    cursor: pointer;
}

.glass-input:focus {
    border-color: transparent;
    background: transparent;
    color: rgb(206, 206, 206);
}

.logo-city-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.city-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0;
}

.city-selector select {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    color: var(--text-light);
    font-weight: 500;
    font-size: 16px;
    padding: 4px 16px 4px 4px;
    width: auto;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.city-selector select option {
    background: #1a1a2e;
    color: white;
}

.glass-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('../media/arrow.png');
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px;
    background-color: transparent;
    padding: 10px 52px 10px 24px;
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    color: white;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    min-width: 160px;
    transition: all 0.2s ease;
}

.glass-select option {
    background: #1a1a2e;
    color: white;
}

.mobile-only-filter-icon {
    display: none;
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    padding: 8px;
    cursor: pointer;
    transition: 0.2s;
    border-radius: 50%;
}
.mobile-login-icon {
    display: none;
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    border-radius: 50%;
}

.mobile-only-filter-icon img {
    width: 28px !important;
    height: 28px !important;
    opacity: 0.8;
}

.mobile-login-icon:hover {
    background: rgba(93, 201, 201, 0.2);
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .mobile-login-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    .auth-widget .btn-secondary {
        display: none !important;
    }
    
    .user-profile-link .user-name-short {
        display: none;
    }
    
    .user-profile-link {
        background: transparent !important;
        padding: 6px !important;
    }
}
.mobile-only-filter-icon img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
}
.mobile-only-filter-icon:hover {
    background: rgba(93, 201, 201, 0.2) !important;
    transform: scale(1.05);
}
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 48px;
    margin-top: 24px;
    background: linear-gradient(112deg, rgba(0, 0, 0, 0.6), rgba(30, 20, 50, 0.4));
    background-size: cover;
    background-position: center 30%;
    border-radius: var(--card-radius);
    min-height: 350px;
}

.hero-content {
    max-width: 55%;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin: 20px 0 12px;
}

.hero p {
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.85;
    margin-bottom: 28px;
}

.hero-btns {
    display: flex;
    gap: 14px;
}

.btn-primary,
.btn-secondary {
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary {
    background: var(--accent-soft-teal);
    color: #0a0718;
    box-shadow: 0 0 6px rgba(93, 201, 201, 0.4);
}

.btn-primary:hover {
    transform: scale(1.02);
    background: #fff;
    color: black;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

main {
    flex: 1 0 auto;
    padding: 0 60px;
}

.movie-grid {
    margin-top: 70px;
    margin-bottom: 70px;
}

.filter-btn.active {
    background: var(--accent-soft-teal);
    color: #0a0718;
    border-color: var(--accent-soft-teal);
    box-shadow: 0 0 8px rgba(93, 201, 201, 0.4);
}

.glass-select.filter-active {
    background: rgba(93, 201, 201, 0.2);
    border-color: var(--accent-soft-teal);
    box-shadow: 0 0 6px rgba(93, 201, 201, 0.3);
}

.section-title {
    font-size: 28px;
    margin-bottom: 28px;
    font-weight: 600;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calendar-glass {
    padding: 20px;
    border-radius: var(--card-radius);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 1.2rem;
}

.calendar-day.has-sessions {
    border: 2px solid #48cae4;
    font-weight: 600;
}

.calendar-day.selected {
    background: #48cae4 !important;
    color: #000 !important;
    border-radius: 50%;
}

.calendar-day.past-day {
    color: #555 !important;
    cursor: default;
}

.icon-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: rgba(93, 201, 201, 0.3);
    transform: scale(1.05);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 13px;
    opacity: 0.7;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    width: 100%;
    max-width: 44px;
    margin: 0 auto;
}

.calendar-day:not(.empty):hover {
    background: rgba(93, 201, 201, 0.25);
    transform: scale(1.02);
}

.calendar-day.selected {
    background: var(--accent-soft-teal);
    color: #0a0718;
    font-weight: bold;
    box-shadow: 0 0 6px rgba(93, 201, 201, 0.5);
}

.empty {
    background: none;
    cursor: default;
}

.schedule-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.sessions-container {
    flex: 1;
    min-width: 280px;
    padding: 20px;
}

.cinema-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.cinema-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 6px 18px;
    cursor: pointer;
    transition: 0.2s;
}

.cinema-tab.active {
    background: var(--accent-soft-teal);
    color: #0a0718;
    border-color: var(--accent-soft-teal);
}

.session-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 12px 15px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.session-time {
    font-weight: 700;
    font-size: 18px;
    color: var(--accent-soft-teal);
}

.session-movie {
    font-weight: 500;
    flex: 1;
}

.btn-buy {
    background: var(--accent-soft-teal);
    border: none;
    padding: 6px 20px;
    border-radius: 30px;
    color: #0a0718;
    cursor: pointer;
    font-weight: 600;
}

.btn-buy:disabled {
    background: #555;
    cursor: not-allowed;
    opacity: 0.5;
}

.btn-buy:hover {
    background: #fff;
    color: #0a0718;
}

#confirmTicket {
    background: var(--accent-soft-teal);
    color: #0a0718;
    border: none;
}

#confirmTicket:hover {
    background: #fff;
    color: #0a0718;
}

.placeholder {
    opacity: 0.6;
    font-style: italic;
    padding: 16px 0;
    font-size: 14px;
}

.movie-detail {
    gap: 40px;
    padding: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.movie-detail-poster {
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}

.movie-detail-poster img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.movie-detail-info h1 {
    font-size: 32px;
    margin-bottom: 12px;
}

.detail-meta {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.detail-actors,
.detail-description {
    margin-top: 15px;
}

.movie-schedule {
    margin-top: 30px;
}

.custom-carousel {
    position: relative;
    margin: 0 -10px;
    padding: 10px 0;
}

.carousel-track-wrapper {
    overflow: hidden;
    padding: 10px 0;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: opacity 0.15s ease;
    justify-content: flex-start;
}

.carousel-track .movie-card {
    flex: 0 0 auto;
    width: 200px;
}

.carousel-track .movie-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-soft-teal);
}

.carousel-track .poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    margin-bottom: 14px;
    position: relative;
}

.carousel-track .movie-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.carousel-track .movie-info h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 6px;
    max-height: 40px;
    overflow: hidden;
    min-height: 40px;
}

.carousel-track .movie-info p {
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.7;
    margin-bottom: 12px;
    max-height: 34px;
    overflow: hidden;
    min-height: 34px;
}

.carousel-track .card-footer {
    gap: 8px;
    padding-top: 8px;
}

.gallery-prev,
.gallery-next {
    background: transparent !important;
    border: none !important;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 50%;
    flex-shrink: 0;
}

.gallery-prev img,
.gallery-next img {
    width: 28px;
    height: 28px;
    display: block;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.gallery-prev:hover,
.gallery-next:hover {
    box-shadow: 0 0 0 2px var(--accent-soft-teal), 0 0 0 4px rgba(93, 201, 201, 0.3);
    background: transparent !important;
}

.movie-gallery {
    margin-top: 15px;
}

.gallery-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.gallery-track {
    flex: 1;
    max-width: 400px;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.2);
}

.gallery-track .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border-radius: 20px;
}

.gallery-track .gallery-img:first-child {
    display: block;
}

.carousel-track .movie-year {
    padding: 4px 10px;
    font-size: 12px;
}

.carousel-track .btn-card {
    padding: 5px 12px;
    font-size: 12px;
}

.carousel-track .age-badge {
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-size: 12px;
}

.carousel-btn {
    background: transparent !important;
    border: none !important;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 50%;
    flex-shrink: 0;
}

.carousel-btn img {
    width: 28px;
    height: 28px;
    display: block;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.carousel-btn:hover {
    box-shadow: 0 0 0 2px var(--accent-soft-teal), 0 0 0 4px rgba(93, 201, 201, 0.3);
    background: transparent !important;
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

@media (max-width: 768px) {
    .movie-detail {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .movie-detail-poster {
        flex: 0 0 auto;
        max-width: 200px;
    }
}

#map {
    width: 100%;
    height: 600px;
    border-radius: 24px;
    background: #1a1a2e;
}

footer {
    text-align: center;
    padding: 20px;
    margin: 40px 32px 20px;
    font-size: 14px;
    opacity: 0.7;
}

.stocks-grid {
    display: grid;
    gap: 32px;
    margin-top: 30px;
    grid-template-columns: repeat(3, 1fr);
}

.stock-card {
    position: relative;
    height: 380px;
    overflow: hidden;
    cursor: pointer;
    padding: 0 !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--glass-border);
}

.stock-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(93, 201, 201, 0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 2;
}

.stock-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-soft-teal);
    box-shadow: 0 15px 45px rgba(93, 201, 201, 0.2);
}

.stock-card:hover::before {
    opacity: 1;
}

.stock-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.stock-card:hover img {
    transform: scale(1.08);
}

.stock-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(10, 7, 24, 0.9), transparent);
    backdrop-filter: blur(8px);
    z-index: 3;
}

.breadcrumbs {
    margin: 20px 0 30px;
    font-size: 1.5em;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs a {
    color: var(--accent-soft-teal);
    text-decoration: none;
}

.breadcrumbs span {
    color: white;
    margin-left: 8px;
}

.stock-hero {
    width: 100%;
    height: 500px;
    border-radius: var(--card-radius);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--glass-border);
}

.stock-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stock-detail-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fff, var(--accent-soft-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stock-description {
    font-size: 18px;
    line-height: 1.8;
    padding: 40px;
    max-width: 900px;
}

@media (max-width: 1500px) {
    .stocks-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .stocks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .stocks-grid {
        grid-template-columns: 1fr;
    }

    .stock-hero {
        height: 300px;
    }

    .stock-detail-content h1 {
        font-size: 32px;
    }
}

.stock-detail-two-columns {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin: 30px 0 60px;
    flex-wrap: wrap;
}

.stock-image-col {
    flex: 1;
    min-width: 280px;
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.stock-image-col img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.stock-text-col {
    flex: 1;
    min-width: 280px;
}

.stock-text-col h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff, var(--accent-soft-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stock-full-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .stock-detail-two-columns {
        flex-direction: column;
        gap: 24px;
    }

    .stock-text-col h1 {
        font-size: 32px;
    }
}

.session-date-group {
    font-size: 1.2rem;
    margin: 20px 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.session-cinema-group {
    margin: 15px 0 10px 15px;
}

.session-cinema-group strong {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-soft-teal);
}

.session-item {
    margin-left: 20px;
    margin-bottom: 8px;
}

.cinemas-main {
    padding: 0;
}

.cinemas-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
    align-items: stretch;
}

.cinemas-list {
    flex: 2;
    min-width: 280px;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: visible;
    padding-right: 15px;
    padding-top: 12px;
}

.cinemas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    width: 100%;
    max-width: 100%;
}

.cinema-card {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    transition: transform 0.25s ease, border-color 0.25s ease;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.cinema-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-soft-teal);
}

.cinema-card-image {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 24px;
    overflow: hidden;
}

.cinema-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cinema-card-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.cinema-card-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, var(--accent-soft-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    word-break: break-word;
}

.cinema-card-info p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 16px;
    line-height: 1.5;
    word-break: break-word;
}

.cinema-halls {
    font-size: 16px;
    background: rgba(93, 201, 201, 0.25);
    padding: 6px 16px;
    border-radius: 40px;
    display: inline-block;
    font-weight: 500;
}

.cinemas-map {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.auth-widget {
    display: flex;
    align-items: center;
    gap: 10px;
}
.auth-page-body .header-right .btn-secondary[href*="auth.html"],
.auth-page-body .header-right .auth-widget {
    display: none !important;
}
.user-info {
    display: flex;
    gap: 10px;
    align-items: center;
}
.user-name {
    font-weight: 600;
    color: var(--accent-soft-teal);
}
.logout-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    padding: 4px 12px;
    border-radius: 30px;
    cursor: pointer;
    color: white;
    font-size: 12px;
}
.logout-btn:hover {
    background: rgba(255, 80, 80, 0.3);
    border-color: #ff5050;
}
a.btn-secondary {
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
}

.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 20px;
}
.auth-container {
    width: 100%;
    max-width: 450px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.3);
    padding: 35px 30px;
}
.auth-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}
.auth-tab {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 5px 10px;
}
.auth-tab.active {
    color: var(--accent-soft-teal);
    text-shadow: 0 0 6px rgba(93, 201, 201, 0.5);
}
.auth-form .glass-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    width: 100%;
}
.auth-form .glass-input:focus {
    border-color: var(--accent-soft-teal);
}
.auth-form .error-message {
    color: #ff5050;
    font-size: 12px;
    margin-top: -15px;
    margin-bottom: 15px;
    display: none;
}
.auth-form .error-message.visible {
    display: block;
}
.auth-form .btn-primary {
    width: 100%;
    margin-top: 10px;
}
.auth-form .btn-secondary {
    width: 100%;
    margin-top: 15px;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
}
.auth-form .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}
.social-login {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}
.social-buttons button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s;
}
.social-buttons button:hover {
    background: rgba(255, 255, 255, 0.2);
}
.social-buttons img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}
.profile-layout {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4rem);
    min-height: calc(100vh - 160px); 
}
.profile-sidebar {
    width: clamp(10rem, 15vw, 15rem);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border-radius: var(--card-radius);
    padding: clamp(1rem, 1.5vw, 1.5rem) clamp(0.75rem, 1vw, 1rem);
    display: flex;
    flex-direction: column;
}
.profile-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.profile-sidebar li a {
    display: block;
    padding: 0.75rem 1rem;
    margin: 0.3rem 0;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 40px;
    transition: 0.2s;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
}
.profile-sidebar li a, 
.user-profile-link,
.logo a {
    text-decoration: none !important;
}
.profile-sidebar li a:hover, 
.profile-sidebar li a.active {
    background: rgba(93, 201, 201, 0.2);
    color: var(--accent-soft-teal)  !important;
}
.profile-sidebar ul li:last-child {
    margin-top: auto; 
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}
.profile-content {
    flex: 1;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border-radius: var(--card-radius);
    padding: 30px;
}

.profile-content .glass-input {
    padding-left: 20px !important;
    padding-right: 20px !important;
    height: 50px;
}

.profile-content .glass-input {
    display: flex;
    align-items: center;
}

a:hover {
    color: var(--accent-soft-teal);
}
.avatar-section {
    position: relative;
    width: 120px;
    margin: 0 auto 20px;
}

.avatar-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-soft-teal);
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-edit-hint {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 10px;
    padding: 2px 0;
    opacity: 0;
    transition: 0.3s;
}

.avatar-wrapper:hover .avatar-edit-hint { opacity: 1; }
.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.user-profile-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 4px 12px 4px 8px;
    transition: 0.2s;
}
.user-profile-link:hover {
    background: rgba(255, 255, 255, 0.2);
}
.user-avatar-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}
.user-avatar-initials {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-soft-teal);
    color: #0a0718;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}
.user-name-short {
    font-size: 14px;
    font-weight: 500;
}

#avatarCropModal .img-container {
    max-height: 60vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}
#avatarCropModal .img-container img {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    display: block;
}
.verification-banner {
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.1);
}

.verification-banner.verified {
    border-color: var(--accent-soft-teal);
    background: rgba(93, 201, 201, 0.1);
}
.btn-verify-mini {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background: rgba(93, 201, 201, 0.1);
    border: 1px solid var(--accent-soft-teal);
    border-radius: 12px;
    color: var(--accent-soft-teal);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-verify-mini:hover {
    background: var(--accent-soft-teal);
    color: #0a0718;
    box-shadow: 0 0 15px rgba(93, 201, 201, 0.3);
}

#emailVerificationStatus {
    display: block;
    margin-top: 8px;
    color: #ffcc00; 
    font-size: 13px;
}
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
}
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper .glass-input {
    flex: 1;
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.password-toggle:hover {
    opacity: 1;
}
.password-requirements {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    background: rgba(20, 15, 45, 0.6);
    border-radius: 12px;
    padding: 0 15px;
    margin-top: 0;
    border: 1px solid transparent;
}

.password-requirements.visible {
    max-height: 150px;
    opacity: 1;
    padding: 10px 15px;
    margin-top: 8px;
    border-color: var(--glass-border);
}

.requirement {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin: 4px 0;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.requirement.valid {
    color: var(--accent-soft-teal);
    text-shadow: 0 0 4px rgba(93, 201, 201, 0.4);
    transform: translateX(3px);
}
.eye-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@media (max-width: 992px) {
    .cinemas-container {
        flex-direction: column;
    }

    .cinemas-list {
        flex: auto;
        max-height: none;
    }

    .cinemas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cinemas-grid {
        grid-template-columns: 1fr;
    }

    .cinema-card {
        flex-direction: column;
        text-align: center;
    }

    .cinema-card-image {
        margin: 0 auto;
    }
}

/* ========== БУРГЕР-МЕНУ (добавлено) ========== */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    z-index: 1001;
    position: relative;
}

.burger-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
    margin: 0;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 7, 24, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding-top: 100px;
    overflow-y: auto;
    box-sizing: border-box;
}

.mobile-nav-container.active {
    display: block;
}

.mobile-ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-ul li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-ul li a:hover,
.mobile-ul li a.active {
    color: var(--accent-soft-teal);
}

@media (max-width: 991px) {
    .desktop-nav {
        display: none !important;
    }
    
    .burger-menu {
        display: flex !important;
    }
}
@media (max-width: 500px) {
    main {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

@media (max-width: 414px) {
    main {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

@media (max-width: 375px) {
    main {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}