@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #ff5722;
    --secondary-color: #2196f3;
    --accent-color: #ffc107;
    --text-color: #333;
    --light-text: #777;
    --background-color: #f8f9fa;
    --card-background: #fff;
    --border-color: #eaeaea;
    --success-color: #4caf50;
    --rating-color: #ffc107;
    --hover-transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 2rem;
    margin: 0;
    letter-spacing: -1px;
    display: inline-block;
}

.buzz {
    color: var(--primary-color);
    font-weight: 700;
}

.flix {
    color: var(--secondary-color);
    font-weight: 600;
}

.tagline {
    display: none;
    font-size: 0.8rem;
    color: var(--light-text);
    margin-top: -5px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    background: transparent;
    border: none;
}

.nav-toggle span {
    display: block;
    height: 3px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-toggle span:nth-child(1) {
    width: 30px;
    background: var(--primary-color);
}

.nav-toggle span:nth-child(2) {
    width: 20px;
    background: var(--secondary-color);
}

.nav-toggle span:nth-child(3) {
    width: 25px;
    background: var(--accent-color);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    width: 30px;
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    width: 30px;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.nav-links i {
    font-size: 1.2rem;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: var(--background-color);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-left: auto;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    padding: 0.5rem;
    width: 200px;
    font-family: 'Poppins', sans-serif;
}

.search-bar button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--light-text);
    transition: var(--hover-transition);
}

.search-bar button:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid white;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    opacity: 0.2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding-bottom: 2rem;
}

.banner-image {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta-button {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--hover-transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::after {
    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 ease;
    z-index: -1;
}

.cta-button:hover::after {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Featured Section */
.featured-section,
.category-section,
.about-section {
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-section h2,
.category-section h2,
.about-section h2 {
    display: none;
}

.products-grid {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    display: none;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.about-text h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-text ul {
    list-style: none;
    margin-top: 1rem;
}

.about-text li {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.testimonials h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.testimonial-card {
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-content {
    margin-bottom: 1rem;
    font-style: italic;
    color: var(--text-color);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    top: -1.5rem;
    left: -0.8rem;
    color: rgba(0, 0, 0, 0.05);
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author i {
    font-size: 2.5rem;
    color: var(--light-text);
}

.testimonial-author h4 {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--secondary-color), #64b5f6);
    padding: 4rem 2rem;
    color: white;
    text-align: center;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter h2 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.newsletter p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 300;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px 0 0 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 0 50px 50px 0;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: var(--hover-transition);
}

.newsletter-form button:hover {
    background-color: #ff6d3c;
}

/* New Explore World Section Styles */
.explore-world {
    background-color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.explore-content {
    max-width: 1200px;
    margin: 0 auto;
}

.explore-description {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.explore-description p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    font-weight: 300;
}

.explore-header {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.explore-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    animation: rotate 20s linear infinite;
}

.explore-header h2 {
    color: #333;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.explore-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.explore-card:hover {
    transform: translateY(-5px);
}

.explore-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.explore-card h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.explore-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .explore-world {
        padding: 3rem 1rem;
    }
    
    .explore-description p {
        font-size: 1.1rem;
    }
    
    .explore-header h2 {
        font-size: 1.8rem;
    }
    
    .explore-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.image-slideshow {
    display: none;
}

.image-slideshow img {
    display: none;
}

.image-slideshow img.active {
    display: none;
}

@media (max-width: 768px) {
    .image-slideshow {
        display: none;
    }
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--hover-transition);
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--hover-transition);
}

.footer-section ul a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 968px) {
    header {
        padding: 1rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    
    .logo {
        align-items: flex-start;
    }
    
    .search-bar {
        margin: 0;
        width: 100%;
        max-width: 400px;
    }
    
    .hero {
        padding: 0;
        width: 100%;
        margin: 0;
        border-bottom: 3px solid white;
    }
    
    .banner-image {
        max-width: 100%;
        width: 100%;
        border-radius: 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .testimonials {
        margin-top: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 50px;
    }
}

@media (max-width: 768px) {
    
    .explore-header h2 {
        font-size: 1.8rem;
    }
    
    .explore-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: white;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        z-index: 999;
    }

    nav.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1rem;
    }

    .nav-links a {
        font-size: 1.1rem;
        width: 100%;
        padding: 0.8rem 1.5rem;
    }

    .nav-links a:hover {
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        color: white;
        transform: translateX(10px);
    }

    .course-page {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0;
        width: 100%;
        border-bottom: 5px solid white;
    }
    
    .banner-image {
        max-width: 100%;
        width: 100%;
        border-radius: 0;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

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

/* Course Page Styles */
.course-page {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    background: var(--background-color);
}

.course-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
}

.course-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: contain;
    display: block;
    padding: 0.5rem;
    background-color: #f8f9fa;
    transition: transform 0.3s ease, object-fit 0.3s ease;
    cursor: zoom-in;
}

.course-image:hover {
    transform: scale(1.1);
    object-fit: none;
    z-index: 100;
}

.course-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.course-price {
    margin: 1.5rem 0;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 1.5rem;
}

.discounted-price {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

.buy-button {
    background: linear-gradient(45deg, #ff5722, #ff9800);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.buy-button::after {
    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 ease;
    z-index: -1;
}

.buy-button:hover::after {
    left: 100%;
}

.buy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,87,34,0.4);
}

@media (max-width: 768px) {
    .course-page {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
    
    .course-image {
        min-height: 300px;
    }
}

/* Login Modal Styles */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.login-modal.active {
    opacity: 1;
    visibility: visible;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    position: relative;
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.5s ease;
}

.login-modal.active .login-container {
    transform: translateY(0);
    opacity: 1;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header img {
    width: 80px;
    height: auto;
    margin-bottom: 1rem;
}

.login-header h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.google-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: white;
    color: #333;
    padding: 0.8rem;
    border-radius: 50px;
    border: 2px solid #eee;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.google-login:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--light-text);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.form-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.login-button {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.close-login {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.close-login:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}