/* Base Styles & Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #f72585;
    --secondary: #4cc9f0;
    --dark: #3a0ca3;
    --light: #f8f9fa;
    --gradient: linear-gradient(135deg, #f72585, #4cc9f0);
    --text: #212529;
    --text-light: #6c757d;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #121212;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--light);
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--light);
    opacity: 0.8;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 80px;
    background: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Header */
header {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    width: 120px;
}

.logo-svg {
    width: 100%;
    height: auto;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--light);
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.main-nav a:hover {
    background-color: rgba(247, 37, 133, 0.1);
    color: var(--primary);
}

/* Hero Section */
.hero {
    background-color: #1a1a1a;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(58, 12, 163, 0.5), transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin-bottom: 40px;
}

.hero h1 {
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-visual {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 40%;
    max-width: 500px;
    z-index: 1;
}

.primary-btn {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    color: white;
}

/* Popular Categories Section */
.popular-section {
    padding: 100px 0;
    background-color: #181818;
}

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

.category-card {
    background: linear-gradient(145deg, #1e1e1e, #242424);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
    background: linear-gradient(145deg, #1e1e1e, #292929);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.category-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.category-card p {
    color: var(--light);
    opacity: 0.6;
}

/* Features Section */
.explore-section {
    padding: 100px 0;
    background-color: #1a1a1a;
}

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

.feature {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
    border-radius: 10px;
}

.feature:hover {
    background: linear-gradient(145deg, #1e1e1e, #242424);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature p {
    font-size: 1rem;
    color: var(--light);
    opacity: 0.7;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                linear-gradient(45deg, var(--primary), var(--dark));
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: #121212;
    color: var(--light);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 180px;
}

.footer-logo-svg {
    width: 100%;
    height: auto;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--light);
    opacity: 0.7;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--secondary);
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
    color: var(--light);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .categories-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-logo {
        margin: 0 auto;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-around;
    }
}

@media (max-width: 576px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        justify-content: center;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .popular-section,
    .explore-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}
