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

:root {
    --primary-color: #2563eb;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --accent-color: #3b82f6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

.header {
    background: url('../attached_assets/Firefly_20251110133840-dark_1762800050596.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.site-title {
    font-family: 'Orbitron', monospace, sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
}

.site-title a {
    color: white;
    text-decoration: none;
}

.site-subtitle {
    font-family: 'Orbitron', monospace, sans-serif;
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    margin-bottom: 60px;
}

.content-area {
    min-width: 0;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
    letter-spacing: 0.5px;
}

.featured-post {
    margin-bottom: 50px;
}

.post-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.post-card.featured {
    border-left: 5px solid var(--primary-color);
}

.post-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 12px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.post-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.post-date, .post-views {
    display: inline-block;
}

.post-categories {
    display: inline-block;
}

.category {
    background: var(--bg-light);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.post-excerpt {
    font-family: 'Droid Serif', serif;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.post-excerpt p {
    margin-bottom: 20px;
}

.read-more-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.read-more-btn:hover {
    background: var(--accent-color);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-card.compact {
    padding: 20px;
}

.post-card.compact .post-title {
    font-size: 1.2rem;
}

.sidebar {
    align-self: start;
}

.sidebar-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.promoted-sites .sidebar-title {
    margin-bottom: 12px;
}

.promoted-sites {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 8px 16px 16px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.about-widget {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 8px 16px 16px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.about-widget .sidebar-title {
    margin-bottom: 12px;
}

.about-content p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content strong {
    font-weight: 700;
}

.about-content a {
    color: var(--link-color);
    text-decoration: none;
}

.about-content a:hover {
    text-decoration: underline;
}

.about-content .read-more-btn {
    color: white !important;
    padding: 5px 14px;
    font-size: 0.85rem;
}

.about-content .read-more-btn:hover {
    text-decoration: none;
}

.promoted-site {
    display: block;
    margin-bottom: 20px;
    text-decoration: none;
    transition: transform 0.2s;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.promoted-site:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.promoted-site:last-child {
    margin-bottom: 0;
}

.promoted-site img {
    width: 100%;
    height: auto;
    display: block;
}

.site-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    font-weight: 600;
}

.site-domain {
    padding: 12px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.sidebar-note {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.bitcoin-widget {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 8px 16px 16px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.widget-header .sidebar-title {
    margin: 0;
}

.widget-header .btc-updated {
    font-size: 0.7rem;
    color: var(--text-light);
    font-style: italic;
    text-align: right;
    margin: 0;
}

.btc-price-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.btc-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: 6px;
}

.btc-currency {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.85rem;
    letter-spacing: 0.4px;
}

.btc-price {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}

.stock-item {
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: 6px;
    margin-bottom: 6px;
}

.stock-main-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px;
}

.stock-main-line .btc-currency {
    margin-right: auto;
}

.stock-roi-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.stock-roi-line .btc-currency {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.4px;
}

.stock-roi-line .btc-price {
    font-size: 0.8rem;
}

.post-full {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.post-header {
    margin-bottom: 40px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.about-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.about-header-text {
    flex: 1;
}

.about-profile-photo {
    width: auto;
    height: 96px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.post-title-full {
    font-family: 'Oswald', sans-serif;
    font-size: 2.0rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.post-meta-full {
    display: flex;
    gap: 20px;
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.post-full .post-categories,
.post-full .post-tags {
    margin-top: 12px;
    font-size: 0.95rem;
}

.post-full .category,
.post-full .tag {
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    display: inline-block;
    margin-right: 5px;
}

.tag {
    background: #dbeafe;
    color: var(--primary-color);
}

.post-content {
    font-family: 'Droid Serif', serif;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.post-content p {
    margin-bottom: 1.2em;
}


.video-embed {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 20px 0;
}

.video-embed iframe {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.post-content h2 {
    margin: 30px 0 15px;
    font-size: 1.8rem;
}

.post-content h3 {
    margin: 25px 0 12px;
    font-size: 1.4rem;
}

.post-content ol,
.post-content ul {
    margin: 20px 0;
    padding-left: 40px;
}

.post-content ol li,
.post-content ul li {
    margin-bottom: 12px;
}

.post-content ol li:last-child,
.post-content ul li:last-child {
    margin-bottom: 0;
}

.post-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
}

.back-link:hover {
    text-decoration: underline;
}

.all-posts {
    margin-top: 60px;
}

.posts-list-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-item-minimal {
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.post-item-minimal:last-child {
    border-bottom: none;
}

.post-link-minimal {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

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

.post-title-minimal {
    font-family: 'Oswald', sans-serif;
    flex: 1;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}

.post-date-minimal {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--text-light);
    white-space: nowrap;
}

.post-metadata {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer {
    background: var(--text-dark);
    color: white;
    padding: 30px 20px;
    text-align: center;
    margin-top: 60px;
}

.footer-flag {
    height: 48px;
    width: auto;
    vertical-align: middle;
    margin-right: 8px;
    border-radius: 2px;
}

@media (max-width: 968px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .site-title {
        font-size: 2.5rem;
    }
    
    .site-subtitle {
        font-size: 1.1rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-title {
        font-size: 2rem;
    }
    
    .header {
        padding: 40px 20px;
    }
    
    .post-card {
        padding: 20px;
    }
    
    .post-full {
        padding: 25px;
    }
    
    .post-title-full {
        font-size: 1.8rem;
    }
}
