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

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --card-bg: #222;
    --accent: #e63946;
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --border: #333;
    --hover: #2a2a2a;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
.site-header {
    background-color: var(--primary-bg);
    border-bottom: 3px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--secondary-bg);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.tagline {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.header-main {
    padding: 30px 0 20px;
    text-align: center;
}

.site-logo {
    font-family: 'Libre Baskerville', serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: var(--text-primary);
    text-shadow: 2px 2px 4px rgba(230, 57, 70, 0.3);
}

.site-subtitle {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Navigation */
.main-nav {
    background-color: var(--secondary-bg);
    border-top: 1px solid var(--border);
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0;
}

.nav-menu li a {
    display: block;
    padding: 15px 30px;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-right: 1px solid var(--border);
}

.nav-menu li:first-child a {
    border-left: 1px solid var(--border);
}

.nav-menu li a:hover {
    background-color: var(--accent);
    color: white;
}

/* Featured Story Section */
.featured-section {
    background-color: var(--secondary-bg);
    padding: 40px 0;
    border-bottom: 2px solid var(--accent);
}

.featured-story {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.featured-image-link {
    display: block;
    text-decoration: none;
}

.featured-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.featured-story:hover .featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--accent);
    color: white;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 2px;
}

.featured-content {
    padding: 20px;
}

.article-category {
    display: inline-block;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.featured-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.featured-excerpt {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.article-meta .author {
    font-weight: 600;
}

/* Read More Button */
.read-more {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 15px;
    margin-bottom: 15px;
}

.read-more:hover {
    background-color: #d42d3a;
    transform: translateX(5px);
}

/* Articles Section */
.articles-section {
    padding: 60px 0;
}

.section-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    margin-bottom: 10px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    background-color: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.2);
    border-color: var(--accent);
}

.article-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    padding: 25px;
}

.article-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* Article Title Link */
.article-title-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.article-title-link:hover .article-title {
    color: var(--accent);
}

.article-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* Streamers Section */
.streamers-section {
    background-color: var(--secondary-bg);
    padding: 60px 0;
    border-top: 2px solid var(--accent);
}

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

.streamer-card {
    background-color: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.streamer-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.2);
}

.stream-embed {
    width: 100%;
    background-color: #000;
}

.stream-embed iframe {
    display: block;
}

.streamer-info {
    padding: 25px;
}

.streamer-name {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.streamer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.streamer-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.streamer-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.streamer-link:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.streamer-link.twitch:hover {
    background-color: #9146ff;
    border-color: #9146ff;
}

.streamer-link.youtube:hover {
    background-color: #ff0000;
    border-color: #ff0000;
}

.streamer-link.twitter:hover {
    background-color: #1da1f2;
    border-color: #1da1f2;
}

.streamer-link.discord:hover {
    background-color: #5865f2;
    border-color: #5865f2;
}

.streamer-link.patreon:hover {
    background-color: #ff424d;
    border-color: #ff424d;
}

/* X/Twitter Embed Styles */
.x-embed-container {
    background: linear-gradient(135deg, #1da1f2, #000);
    height: 378px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.x-embed-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(29, 161, 242, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.x-logo {
    font-size: 48px;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
}

.x-handle {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    z-index: 1;
    position: relative;
}

.x-status {
    margin: 10px 0;
    opacity: 0.9;
    z-index: 1;
    position: relative;
}

.x-follow-btn {
    background: white;
    color: #1da1f2;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    z-index: 1;
    position: relative;
    transition: all 0.3s ease;
}

.x-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
}

/* YouTube Embed Styles */
.youtube-embed-container {
    background: linear-gradient(135deg, #ff0000, #000);
    height: 378px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.youtube-embed-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.youtube-logo {
    font-size: 64px;
    margin-bottom: 20px;
    z-index: 1;
    position: relative;
}

.youtube-channel-name {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
    z-index: 1;
    position: relative;
}

.youtube-status {
    margin: 10px 0;
    opacity: 0.9;
    z-index: 1;
    position: relative;
    font-size: 1.1rem;
}

.youtube-watch-btn {
    background: white;
    color: #ff0000;
    padding: 14px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    z-index: 1;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.youtube-watch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* MDGgamin YouTube Card with Background Image */
.youtube-embed-mdg {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('images/streamers/MDGgamin.avif?v=2');
    background-size: cover;
    background-position: center;
}

/* Tommy4Trump420 X/Twitter Card with Background Image */
.x-embed-tommy {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('images/streamers/tommy.jpg?v=2');
    background-size: cover;
    background-position: center;
}

/* Kbowski Press X/Twitter Card with Background Image */
.x-embed-koston {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('images/streamers/Koston.jpg?v=2');
    background-size: cover;
    background-position: center;
}

/* PtownPatriot82 X/Twitter Card with Background Image */
.x-embed-ptown {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('images/streamers/Ptown.jpeg?v=2');
    background-size: cover;
    background-position: center;
}

/* RightSideR3bel X/Twitter Card with Background Image */
.x-embed-rightside {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('images/streamers/RightsideRebel.jpg?v=2');
    background-size: cover;
    background-position: center;
}

/* Portland Andy YouTube Card with Background Image */
.youtube-embed-portland {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('images/streamers/portlandandy.jpg?v=2');
    background-size: cover;
    background-position: center;
}

/* DannyRebel333 X/Twitter Card with Background Image */
.x-embed-danny {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('images/streamers/DannyRebel.jpg?v=2');
    background-size: cover;
    background-position: center;
}

/* About Section */
.about-section {
    padding: 60px 0;
    background-color: var(--primary-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-content strong {
    color: var(--accent);
}

/* Footer */
.site-footer {
    background-color: var(--secondary-bg);
    border-top: 3px solid var(--accent);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .site-logo {
        font-size: 2.5rem;
    }

    .featured-story {
        grid-template-columns: 1fr;
    }

    .featured-title {
        font-size: 1.8rem;
    }

    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }

    .streamers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-logo {
        font-size: 2rem;
    }

    .nav-menu {
        flex-wrap: wrap;
    }

    .nav-menu li a {
        padding: 12px 20px;
        font-size: 0.8rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .featured-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .header-top .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .site-logo {
        font-size: 1.6rem;
    }

    .nav-menu li a {
        padding: 10px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--accent);
    color: white;
}
