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

:root {
    --bg-dark: #0a0a0a; 
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --purple-primary: #8b5cf6;
    --purple-secondary: #a78bfa;
    --purple-glow: #7c3aed;
    --accent-orange: #f50bce;
    --accent-orange-hover: #4824fb;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: #2d2d3a;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}


.navbar {
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #880c69;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}


.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(136, 12, 105, 0.5);
}

.logo img {
    width: 35px;
    height: auto;
    
}



.logo-icon {
    font-size: 32px;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links li {
    list-style: none;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.1s; }
.nav-links li:nth-child(2) { animation-delay: 0.2s; }
.nav-links li:nth-child(3) { animation-delay: 0.3s; }
.nav-links li:nth-child(4) { animation-delay: 0.4s; }

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #880c69;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.location-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: 8px;
}

.location-selector:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.city-dropdown {
    appearance: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    background-color: #141414;
    color: #ffffff;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.city-dropdown:hover {
    background-color: #1f1f1f;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.city-dropdown option {
    background-color: #141414;
    color: #ffffff;
}

.search-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    color: var(--purple-primary);
    background: rgba(139, 92, 246, 0.1);
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.profile-container {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.profile-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #240930, #270238);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.profile-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.profile-avatar:hover::before {
    animation: shimmer 0.6s ease-in-out;
    opacity: 1;
}

.profile-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
}

.profile-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    background: #111;
    padding: 14px;
    border-radius: 10px;
    min-width: 190px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.profile-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.3s ease;
}

.profile-dropdown p {
    color: #ddd;
    font-size: 14px;
    margin-bottom: 12px;
    word-break: break-all;
}

#logoutBtn {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 6px;
    background: #5e0993;
    color: white;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

#logoutBtn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#logoutBtn:hover::before {
    width: 300px;
    height: 300px;
}

#logoutBtn:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.profile-dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 18px;
    width: 12px;
    height: 12px;
    background: #111;
    transform: rotate(45deg);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}

.sign-in-btn {
    background: var(--gradient-purple);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.sign-in-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.sign-in-btn:hover::before {
    left: 100%;
}

.sign-in-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--purple-primary);
    border-radius: 4px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--purple-secondary);
}


.hero-section {
    background-color: var(--bg-dark);
    padding: 20px;
}

.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}


.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
    display: flex;
    align-items: center;
    padding: 0 80px;
}

.slide-info {
    max-width: 500px;
}

.tag {
    display: inline-block;
    background-color: rgba(255, 107, 0, 0.2);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.slide-info h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.slide-info p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.date {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 4px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-arrow:hover {
    background: #880c69;;
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.left {
    left: 20px;
}

.carousel-arrow.right {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}


.search-bar-container {
    background-color: var(--bg-dark);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.search-box {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-card);
}

.search-box input::placeholder {
    color: var(--text-muted);
}


.tabs-container {
    display: flex;
    gap: 5px;
}

.tab {
    padding: 16px 24px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.tab:hover {
    color: var(--text-primary);
}

.tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.quick-links {
    display: flex;
    gap: 25px;
}

.quick-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.quick-links a:hover {
    color: var(--text-primary);
}


.movies-section {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.movies-section.recommended {
    background-color: var(--bg-secondary);
    max-width: 100%;
    padding: 40px 0;
}

.movies-section.recommended .section-header,
.movies-section.recommended .movies-carousel {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.title-group h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.title-group p {
    color: var(--text-secondary);
    font-size: 16px;
}

.see-all {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.see-all:hover {
    gap: 10px;
}


.movies-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.movies-grid {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    padding: 10px 0;
}

.movies-grid::-webkit-scrollbar {
    display: none;
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}


.movie-card {
    flex: 0 0 auto;
    width: 200px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.movie-card:hover {
    transform: translateY(-10px);
}

.movie-poster {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--bg-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gradient-poster {
    width: 100%;
    height: 100%;
}

.avatar-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.movie-card:hover .movie-poster img {
    transform: scale(1.05);
}

.rating-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--rating-bg);
    padding: 6px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.rating-badge i {
    color: #ffc107;
    font-size: 12px;
}

.duration-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--rating-bg);
    padding: 6px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

.movie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-card:hover .movie-overlay {
    opacity: 1;
}

.book-btn {
    background:#880c69 ;
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.movie-card:hover .book-btn {
    transform: translateY(0);
}

.book-btn:hover {
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.5);
    transform: scale(1.05);
}

.movie-info {
    margin-top: 15px;
}

.movie-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.genre {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: capitalize;
}


.footer {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.footer-logo img{
    width:35px;
    height: auto;
}
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 80px;
    text-align: left;
}

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

.footer-column h4 {
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-column a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: 0.3s;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footertext{
    margin-right:2px;
    color: #880c69;
    font-family:Georgia, 'Times New Roman', Times, serif;
}

.footer p {
    color: var(--text-muted);
    font-size: 14px;
    width: 100%;
    text-align: center;
    margin-top: 30px;

}
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background:  #880c69;
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}


.nav-links a {
    position: relative;      
    display: inline-block;   
}


@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .quick-links {
        display: none;
    }
    
    .slide-info h2 {
        font-size: 36px;
    }
    
    .movie-card {
        width: 180px;
    }
    
    .movie-poster {
        height: 270px;
    }
}

@media (max-width: 768px) {
    .location-selector {
        display: none;
    }
    
    .slide-overlay {
        padding: 0 40px;
    }
    
    .slide-info h2 {
        font-size: 28px;
    }
    
    .title-group h2 {
        font-size: 28px;
    }
    
    .category-tabs {
        overflow-x: auto;
    }
    
    .tab {
        padding: 12px 16px;
        white-space: nowrap;
    }
    
    .movie-card {
        width: 150px;
    }
    
    .movie-poster {
        height: 225px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .sign-in-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .nav-arrow {
        display: none;
    }
    
    .movies-grid {
        gap: 15px;
    }
}