:root {
    --bg-dark: #1E113F;
    --bg-darker: #140c2b;
    --bg-medium: #26325D;
    --primary-dark: #504972;
    --primary-darker: #2a2541;
    --accent-coral: #e9766b;
    --accent-green: #4EBB71;
    --text-white: #ffffff;
    --text-light: #f0f0f0;
    --text-gray: #a0a0b0;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Arvo', serif;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 1rem;
}

html {
    background-color: var(--bg-darker);
}

body {
    background-color: var(--bg-darker);
    font-family: 'Rubik', sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    overflow-x: hidden;
}

/* Header */
.blog-header {
    background: var(--bg-darker);
    padding: 20px 40px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: var(--accent-coral);
}

.logo-link {
    text-decoration: none;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-link .logo-icon {
    width: 40px;
    height: 40px;
}

.logo-link .logo-text {
    font-size: 1.8rem;
    font-family: 'Arvo', serif;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-coral);
}

/* Blog Container */
.blog-container {
    max-width: 1200px;
    margin: 100px auto 0;
    padding: 40px 20px;
    display: flex;
    gap: 40px;
}

.blog-main {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Blog Sidebar */
.blog-sidebar {
    width: 320px;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.sidebar-cta p {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.app-button.app-store {
    background: #000000;
    color: #ffffff;
}

.app-button.app-store:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

.app-button.android {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 122, 138, 0.3);
    color: var(--text-white);
}

.app-button.android:hover {
    background: var(--bg-medium);
    transform: translateY(-2px);
}

.app-button .icon {
    width: 20px;
    height: 20px;
}

/* Blog Post Content */
.blog-post h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-white);
}

.post-meta {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-post h2 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: var(--accent-coral);
}

.blog-post p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-post ul, .blog-post ol {
    margin: 20px 0 20px 30px;
    color: var(--text-light);
}

.blog-post li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.highlight-box {
    background: rgba(230, 151, 107, 0.1);
    border-left: 3px solid var(--accent-coral);
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

/* Blog Index Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.blog-card:hover {
    transform: translateY(-5px);
    background: rgba(46, 59, 95, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.blog-card h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-white);
}

.blog-card .post-date {
    font-size: 0.85rem;
    color: var(--accent-coral);
    margin-bottom: 12px;
}

.blog-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.blog-card .read-more {
    color: var(--accent-coral);
    font-size: 0.9rem;
    margin-top: 15px;
    display: inline-block;
}

/* Footer */
.blog-footer {
    margin-top: 80px;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-gray);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .blog-container {
        flex-direction: column;
    }
    
    .blog-sidebar {
        width: 100%;
        position: static;
        margin-top: 30px;
    }
    
    .blog-main {
        padding: 25px;
    }
    
    .blog-post h1 {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .blog-header {
        padding: 15px 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .blog-post h1 {
        font-size: 1.7rem;
    }
    
    .blog-main {
        padding: 20px;
    }
}