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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #fff;
    overflow-x: hidden;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    padding: 10px 0;
    background: rgba(15, 12, 41, 0.98);
}

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

.logo {
    font-size: 2em;
    font-weight: bold;
    background: linear-gradient(45deg, #f093fb, #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px #f093fb); }
    to { filter: drop-shadow(0 0 20px #f5576c); }
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    background: linear-gradient(45deg, #f093fb, #f5576c);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 87, 108, 0.4);
}

/* Hero Slider */
header {
    position: relative;
    height: 600px;
    margin-top: 70px;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
    animation: fadeInUp 0.8s ease;
}

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

.slide h3 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.slide p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
}

/* Movies Section */
.movies {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.movies h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #f093fb, #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.movie-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.movie-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(240, 147, 251, 0.3);
    border-color: rgba(240, 147, 251, 0.5);
}

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

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

.movie-card-content {
    padding: 15px;
}

.movie-card h3 {
    font-size: 1.2em;
    margin-bottom: 8px;
    color: #fff;
}

.movie-card p {
    color: #aaa;
    font-size: 0.9em;
}

.rating {
    display: inline-block;
    background: linear-gradient(45deg, #f093fb, #f5576c);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9em;
    margin-top: 8px;
}

/* About & Contact Sections */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #f093fb, #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

section p {
    text-align: center;
    font-size: 1.2em;
    line-height: 1.6;
    color: #ccc;
}

/* Contact Form */
#contact {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 60px 20px;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #f093fb;
    font-weight: 600;
}

input, textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid rgba(240, 147, 251, 0.3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: #fff;
    font-size: 1em;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #f093fb;
    box-shadow: 0 0 20px rgba(240, 147, 251, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #f093fb, #f5576c);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer */
footer {
    background: rgba(15, 12, 41, 0.95);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f093fb;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: #f093fb;
    transform: scale(1.2);
}

/* Popup Modal */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1e1e2e, #2d2d44);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(240, 147, 251, 0.3);
    animation: popupIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popupIn {
    from {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.popup.success {
    border-color: rgba(76, 175, 80, 0.5);
}

.popup.error {
    border-color: rgba(244, 67, 54, 0.5);
}

.popup-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.popup h3 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #fff;
}

.popup p {
    color: #ccc;
    font-size: 1.1em;
    margin-bottom: 25px;
}

.popup-close {
    background: linear-gradient(45deg, #f093fb, #f5576c);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    width: auto;
    text-transform: none;
    letter-spacing: normal;
}

.popup-close:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(245, 87, 108, 0.4);
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }

    .logo {
        font-size: 1.5em;
    }

    header, .slide {
        height: 400px;
    }

    .slide h3 {
        font-size: 2em;
    }

    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .popup {
        padding: 30px 20px;
    }

    section h2 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        gap: 10px;
    }

    header, .slide {
        height: 300px;
    }

    .slide h3 {
        font-size: 1.5em;
    }

    .slide p {
        font-size: 0.9em;
    }
}