:root {
    --primary: #FF4500; /* OrangeRed */
    --primary-dark: #CC3700;
    --secondary: #1E293B; /* Slate 800 */
    --accent: #3B82F6; /* Blue 500 */
    --dark: #0F172A; /* Slate 900 */
    --light: #F8FAFC; /* Slate 50 */
    --white: #ffffff;
    --text: #334155; /* Slate 700 */
    --text-light: #64748B; /* Slate 500 */
    --border: #E2E8F0;
    --radius: 12px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    -webkit-font-smoothing: antialiased;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px; /* Slight rounding if square */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,69,0,0.1), transparent 40%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.3);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.bg-white {
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.video-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-card h3 {
    padding: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Article Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.article-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.article-card h3 {
    margin-bottom: 0.75rem;
    color: var(--dark);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.article-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    flex-grow: 1;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
}

.read-more::after {
    content: '→';
    transition: transform 0.2s;
}

.read-more:hover::after {
    transform: translateX(4px);
}

/* Newsletter */
.newsletter {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    border-radius: var(--radius);
    margin: 4rem auto;
    position: relative;
    overflow: hidden;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.newsletter input {
    padding: 12px 20px;
    border-radius: 50px;
    border: none;
    width: 300px;
    font-size: 1rem;
}

.newsletter button {
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter button:hover {
    background: var(--primary-dark);
}

/* Ads */
.ad-container {
    padding: 2rem 0;
    text-align: center;
}

.ad-placeholder {
    background: var(--light);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    color: var(--text-light);
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
}

.social-links {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--primary);
}

/* Single Article */
.article-header {
    background: var(--white);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.article-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    max-width: 900px;
    margin: 0 auto 1rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.article-header .excerpt {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.article-content {
    padding: 4rem 0;
    max-width: 720px;
    margin: 0 auto;
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--dark);
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

.article-content p {
    margin-bottom: 1.75rem;
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.8;
}

.article-content ul {
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
    font-size: 1.15rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 3rem 0;
}

/* Comments Placeholder */
.comments-section {
    background: var(--light);
    padding: 3rem;
    border-radius: var(--radius);
    margin-top: 3rem;
    border: 1px solid var(--border);
    text-align: center;
}

.comments-section h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.related-articles {
    background: var(--white);
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    margin-top: 2rem; /* Added margin for bottom link too */
}

.back-link:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .logo {
        height: 32px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .article-header h1 {
        font-size: 2.25rem;
    }
    
    .newsletter input {
        width: 100%;
    }
    
    .newsletter-form {
        flex-direction: column;
        padding: 0 20px;
    }
}

/* Hot Take Section */
.hot-take-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 3rem;
    border-radius: var(--radius);
    margin-top: 3rem;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--secondary);
}

.hot-take-label {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.hot-take-section h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--white);
    line-height: 1.4;
}

.hot-take-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-hot-take {
    background: var(--white);
    color: var(--dark);
    font-weight: 700;
}

.btn-hot-take:hover {
    background: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

/* Mobile App Sticky Banner */
.mobile-app-banner {
    display: none; /* Hidden on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95); /* Dark background with blur */
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    z-index: 2000;
    border-top: 1px solid var(--border);
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
}

.app-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.app-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    color: white;
}

.app-text h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.app-text p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0;
}

.btn-app-download {
    background: var(--white);
    color: var(--dark);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .mobile-app-banner {
        display: flex;
    }
    
    /* Add padding to body so banner doesn't cover content */
    body {
        padding-bottom: 70px;
    }
    
    footer {
        margin-bottom: 2rem;
    }
}
