/* Base styles and resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #121212;
    color: #f5f5f5;
}

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

a {
    text-decoration: none;
    color: #FF6B6B;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF8E8E;
}

ul {
    list-style: none;
}

/* Header styles */
header {
    background-color: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo a {
    display: block;
}

nav ul {
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: #f5f5f5;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover {
    color: #FF6B6B;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #FF6B6B;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    padding: 100px 0;
    text-align: center;
    color: #ffffff;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: #FF6B6B;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #FF8E8E;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Featured section */
.featured-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.featured-section h2,
.categories-section h2,
.trending-section h2,
.about-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #ffffff;
    position: relative;
    padding-bottom: 15px;
}

.featured-section h2:after,
.categories-section h2:after,
.trending-section h2:after,
.about-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FF6B6B;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.content-card {
    background-color: #252525;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.content-placeholder {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.content-card h3 {
    font-size: 1.3rem;
    margin: 15px;
    color: #ffffff;
}

.content-card p {
    margin: 15px;
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Categories section */
.categories-section {
    padding: 80px 0;
    background-color: #121212;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    text-align: center;
}

.category {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    background-color: #252525;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category:hover {
    background-color: #333333;
    transform: translateY(-5px);
}

.category span {
    margin-top: 10px;
    font-weight: 500;
    color: #f5f5f5;
}

/* Trending section */
.trending-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.trending-item {
    background-color: #252525;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trending-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.trending-item h3 {
    font-size: 1.4rem;
    margin: 20px;
    color: #ffffff;
}

.trending-item p {
    margin: 20px;
    color: #cccccc;
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #FF6B6B;
    color: #FF6B6B;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    margin: 0 20px 20px;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: #FF6B6B;
    color: #ffffff;
}

/* About section */
.about-section {
    padding: 80px 0;
    background-color: #121212;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: #cccccc;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-text .cta-button {
    margin-top: 20px;
}

.about-features {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    flex-shrink: 0;
}

.feature span {
    font-size: 0.95rem;
    color: #f5f5f5;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 50px 0 20px;
}

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

.footer-logo {
    margin-bottom: 20px;
}

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

.footer-links-column h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links-column ul li a {
    color: #bbbbbb;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: #FF6B6B;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #252525;
    text-align: center;
    color: #777777;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-icon {
    display: flex;
    align-items: center;
}

/* Responsive design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .trending-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .hero {
        padding: 70px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .featured-section h2,
    .categories-section h2,
    .trending-section h2,
    .about-section h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
}
