/* Modern Cinematic GoMovies Website Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600;700;800&family=Rajdhani:wght@400;500;600;700&display=swap');

/* CSS Variables for Cinematic Theme */
:root {
    --primary-dark: #0a0a0f;
    --secondary-dark: #1a1a2e;
    --accent-blue: #16213e;
    --accent-purple: #4a1a4a;
    --accent-gold: #ffd700;
    --accent-red: #e74c3c;
    --neon-green: #39ff14;
    --neon-blue: #00d4ff;
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #4a1a4a 100%);
    --gradient-secondary: linear-gradient(45deg, #e74c3c 0%, #ffd700 100%);
    --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #39ff14 100%);
    --text-light: #ffffff;
    --text-gray: #b8b8b8;
    --text-muted: #8a8a8a;
    --border-neon: #00d4ff;
    --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.3);
    --shadow-gold: 0 0 30px rgba(255, 215, 0, 0.2);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(57, 255, 20, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-neon);
    z-index: 1000;
    box-shadow: var(--shadow-neon);
}

.navbar {
    padding: 1rem 0;
}

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

.logo h1 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { filter: brightness(1); }
    to { filter: brightness(1.2) drop-shadow(0 0 10px var(--accent-gold)); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    transition: var(--transition-smooth);
    z-index: -1;
}

.nav-link:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-neon);
}

.nav-link:hover::before {
    left: 0;
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: slideInRight 1s ease-out;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: var(--shadow-gold);
    transition: var(--transition-smooth);
}

.hero-image img:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4);
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Content Sections */
.content-section {
    padding: 4rem 0;
    position: relative;
}

.content-section:nth-child(even) {
    background: rgba(22, 33, 62, 0.3);
}

.content-section h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.content-section h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: var(--accent-gold);
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Feature Grids */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(26, 26, 46, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--border-neon);
    box-shadow: var(--shadow-neon);
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

/* Genres Grid */
.genres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.genre-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(74, 26, 74, 0.9) 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--accent-purple);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.genre-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--neon-green), transparent);
    animation: rotateGlow 3s linear infinite;
    opacity: 0;
    transition: var(--transition-smooth);
}

.genre-card:hover::before {
    opacity: 0.3;
}

.genre-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(57, 255, 20, 0.3);
}

.genre-card h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--neon-green);
    position: relative;
    z-index: 1;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Features List */
.features-list {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    background: rgba(22, 33, 62, 0.6);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--accent-gold);
    transition: var(--transition-smooth);
}

.feature-item:hover {
    background: rgba(22, 33, 62, 0.9);
    transform: translateX(10px);
    border-left-width: 8px;
    box-shadow: var(--shadow-gold);
}

.feature-item h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* Call-to-Action */
.cta-container {
    text-align: center;
    margin: 4rem 0;
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-dark);
    background: var(--gradient-secondary);
    border-radius: 50px;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-gold);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    transition: var(--transition-smooth);
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.5);
}

.cta-button:hover::before {
    left: 0;
}

/* Image Containers */
.image-container {
    text-align: center;
    margin: 3rem 0;
}

.image-container img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: var(--shadow-neon);
    transition: var(--transition-smooth);
}

.image-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.5);
}

/* Lists */
.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 2rem;
}

.styled-list li::before {
    content: '🎬';
    position: absolute;
    left: 0;
    top: 1rem;
    font-size: 1.2rem;
}

.styled-list li:hover {
    color: var(--accent-gold);
    transform: translateX(10px);
    transition: var(--transition-smooth);
}

/* Future Trends */
.future-trends {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.trend-item {
    background: rgba(26, 26, 46, 0.8);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--accent-blue);
    transition: var(--transition-smooth);
    position: relative;
}

.trend-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-accent);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.trend-item:hover {
    transform: translateY(-5px);
    color: var(--primary-dark);
}

.trend-item:hover::before {
    opacity: 1;
}

.trend-item h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
}

/* Safety Tips */
.safety-tips {
    background: rgba(231, 76, 60, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--accent-red);
    margin: 2rem 0;
}

.safety-tips h4 {
    color: var(--accent-red);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--secondary-dark);
    border-top: 3px solid var(--border-neon);
    padding: 4rem 0 2rem 0;
    margin-top: 4rem;
}

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

.footer-section h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
    display: inline-block;
}

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

.social-links a {
    font-size: 2rem;
    transition: var(--transition-bounce);
}

.social-links a:hover {
    transform: scale(1.3) rotate(10deg);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(26, 26, 46, 0.98);
        width: 100%;
        text-align: center;
        transition: var(--transition-smooth);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .content-section h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .genres-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .genre-card {
        padding: 1.5rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

/* Smooth scrolling enhancements */
@media (prefers-reduced-motion: no-preference) {
    .content-section {
        opacity: 0;
        animation: fadeInUp 0.8s ease-out forwards;
    }
    
    .content-section:nth-child(1) { animation-delay: 0.1s; }
    .content-section:nth-child(2) { animation-delay: 0.2s; }
    .content-section:nth-child(3) { animation-delay: 0.3s; }
    .content-section:nth-child(4) { animation-delay: 0.4s; }
}

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

/* Loading animation for images */
img {
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.5s forwards;
}

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

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-light: #ffffff;
        --text-gray: #ffffff;
        --border-neon: #ffffff;
        --accent-gold: #ffff00;
    }
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cta-button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .content-section {
        page-break-inside: avoid;
    }
}
