/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #141414;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Netflix Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 68px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    z-index: 1000;
    transition: background-color 0.4s ease;
}

.header:hover {
    background: rgba(0, 0, 0, 0.95);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    color: #E50914;
    letter-spacing: 3px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-tab {
    color: #e5e5e5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-tab.active {
    color: #fff;
    font-weight: 700;
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: #E50914;
    border-radius: 2px;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #E50914, #ff6b6b);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.profile-icon:hover {
    transform: scale(1.1);
}

.profile-icon span {
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}

/* Main Content */
.main-content {
    padding-top: 68px;
    min-height: 100vh;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.welcome-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.loyal-hero {
    background: linear-gradient(135deg, #2d132c 0%, #801336 50%, #c72c41 100%);
}

.food-hero {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 50%, #40916c 100%);
}

.bugs-hero {
    background: linear-gradient(135deg, #3d0066 0%, #5c0099 50%, #7a00cc 100%);
}

.driving-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f4c5c 50%, #0a6c74 100%);
}

.music-hero {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 50%, #2d2d44 100%);
}

.references-hero {
    background: linear-gradient(135deg, #2c1810 0%, #4a2c2a 50%, #6d4c41 100%);
}

.thankyou-hero {
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #4a2c7a 100%);
}

/* Rotating Star - Loyal Tab Layout */
.loyal-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
    padding: 0 60px;
}

.loyal-wrapper .hero-content {
    padding: 0;
}

.rotating-star {
    flex-shrink: 0;
    z-index: 10;
}

.star-shape {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    clip-path: polygon(
        50% 0%,
        61% 35%,
        98% 35%,
        68% 57%,
        79% 91%,
        50% 70%,
        21% 91%,
        32% 57%,
        2% 35%,
        39% 35%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateStar 8s linear infinite;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.star-text {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.2;
    animation: counterRotate 8s linear infinite;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes rotateStar {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes counterRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

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

@media (max-width: 768px) {
    .rotating-star {
        left: 20px;
        top: 30%;
    }
    
    .star-shape {
        width: 80px;
        height: 80px;
    }
    
    .star-text {
        font-size: 8px;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 0 60px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    color: #e5e5e5;
}

.hero-description-sub {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #b3b3b3;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* Netflix Buttons */
.netflix-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #E50914;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.netflix-btn:hover {
    background: #f40612;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
}

.netflix-btn .btn-icon {
    font-size: 1rem;
}

.secondary-btn {
    background: rgba(109, 109, 110, 0.7);
    box-shadow: none;
    margin-top: 20px;
}

.secondary-btn:hover {
    background: rgba(109, 109, 110, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.yes-btn {
    background: linear-gradient(135deg, #E50914, #ff4757);
    font-size: 1.2rem;
    padding: 15px 35px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(229, 9, 20, 0.8);
    }
}

/* Image Galleries */
.image-gallery {
    padding: 40px 60px;
    background: #141414;
}

.image-gallery.hidden {
    display: none;
}

.nested-gallery {
    padding: 20px 0;
    background: transparent;
}

.gallery-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
}

.gallery-text {
    font-size: 1.2rem;
    color: #b3b3b3;
    margin: 25px 0;
    text-align: center;
}

.bonus-text {
    color: #E50914;
    font-weight: 600;
}

.special-text {
    color: #ff6b6b;
    font-style: italic;
    font-size: 1.3rem;
}

/* Netflix Row (Movie Cards) */
.netflix-row {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.netflix-row::-webkit-scrollbar {
    height: 8px;
}

.netflix-row::-webkit-scrollbar-track {
    background: #333;
    border-radius: 4px;
}

.netflix-row::-webkit-scrollbar-thumb {
    background: #E50914;
    border-radius: 4px;
}

.single-image {
    justify-content: center;
}

.references-row {
    flex-wrap: wrap;
    justify-content: center;
}

.references-gallery {
    display: block !important;
}

/* Movie Card */
.movie-card {
    position: relative;
    flex-shrink: 0;
    width: 280px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.movie-card:hover {
    transform: scale(1.08);
    z-index: 10;
    box-shadow: 0 8px 30px rgba(229, 9, 20, 0.4);
}

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

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

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    padding: 40px 15px 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.large-card {
    width: 500px;
    height: 350px;
}

/* Song Links Section */
.song-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.song-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.spotify-btn {
    background: linear-gradient(135deg, #1DB954, #1ed760);
    text-decoration: none;
}

.spotify-btn:hover {
    background: linear-gradient(135deg, #1ed760, #1DB954);
}

.apple-btn {
    background: linear-gradient(135deg, #fc3c44, #ff6b6b);
    text-decoration: none;
}

.apple-btn:hover {
    background: linear-gradient(135deg, #ff6b6b, #fc3c44);
}

/* CTA Section */
.cta-text {
    font-size: 1.3rem !important;
    color: #ff6b6b !important;
    margin-bottom: 30px !important;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal.active {
    display: flex;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.modal-close:hover {
    color: #E50914;
}

.modal-content {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
}

#modal-caption {
    color: #fff;
    font-size: 1.2rem;
    padding: 15px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .header {
        padding: 0 30px;
    }
    
    .hero-content {
        padding: 0 30px;
    }
    
    .image-gallery {
        padding: 30px;
    }
}

@media (max-width: 992px) {
    .nav-tabs {
        gap: 10px;
    }
    
    .nav-tab {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .movie-card {
        width: 220px;
        height: 320px;
    }
    
    .large-card {
        width: 350px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 15px;
        height: auto;
        flex-direction: column;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .header-left {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .nav-tab {
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .main-content {
        padding-top: 120px;
    }
    
    .hero-banner {
        height: auto;
        min-height: 60vh;
        padding: 40px 0;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-description-sub {
        font-size: 1rem;
    }
    
    .image-gallery {
        padding: 20px 15px;
    }
    
    .movie-card {
        width: 180px;
        height: 260px;
    }
    
    .large-card {
        width: 280px;
        height: 200px;
    }
    
    .netflix-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* Tab Footer Disclaimer */
.tab-footer {
    background: linear-gradient(to top, #000 0%, rgba(20, 20, 20, 0.95) 100%);
    padding: 30px 60px;
    text-align: center;
    border-top: 1px solid rgba(229, 9, 20, 0.3);
}

.disclaimer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #E50914;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

.disclaimer-text {
    font-size: 1.1rem;
    color: #b3b3b3;
    font-style: italic;
}

@media (max-width: 768px) {
    .tab-footer {
        padding: 20px 15px;
    }
    
    .disclaimer-title {
        font-size: 1.1rem;
    }
    
    .disclaimer-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 24px;
    }
    
    .nav-tab {
        font-size: 10px;
        padding: 4px 6px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .movie-card {
        width: 150px;
        height: 220px;
    }
    
    .large-card {
        width: 250px;
        height: 180px;
    }
}
