/* Blog Styles - Matching Summit Tracker Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ice-blue: #a8d8ea;
    --ice-light: #d4f1f4;
    --ice-dark: #5ba4c2;
    --glacier: #4a90a4;
    --dark-bg: #0a0e27;
    --dark-card: #141829;
    --dark-accent: #1a1f3a;
    --snow-white: #f8f9fa;
    --frost: #e3f2fd;
    --accent-orange: #ff6b35;
    --accent-gold: #ffd700;
    --text-light: #e0e6ed;
    --text-muted: #8b95a5;
    --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(168, 216, 234, 0.3);
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1628 100%);
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.8;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 60px 70px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 50px 50px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 90px 10px, rgba(255,255,255,0.2), transparent);
    background-size: 200px 200px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px, 150px 50px;
    animation: snowfall 20s linear infinite;
    pointer-events: none;
    opacity: 0.6;
    z-index: 1;
}

@keyframes snowfall {
    0% { transform: translateY(0px); }
    100% { transform: translateY(200px); }
}

header {
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(168, 216, 234, 0.2);
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

header h1 {
    color: var(--ice-light);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.back-link {
    display: inline-block;
    margin: 2rem 0;
    padding: 0.75rem 1.5rem;
    background: rgba(74, 144, 164, 0.2);
    border: 2px solid rgba(168, 216, 234, 0.3);
    border-radius: 8px;
    color: var(--ice-blue);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.back-link:hover {
    background: rgba(74, 144, 164, 0.3);
    border-color: var(--ice-blue);
    transform: translateX(-5px);
}

main {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 2rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* Blog Preview Cards */
.blog-preview {
    background: rgba(26, 31, 58, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(168, 216, 234, 0.2);
    border-left: 4px solid var(--ice-blue);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 12px;
    transition: all 0.3s;
}

.blog-preview:hover {
    transform: translateY(-5px);
    border-color: var(--ice-blue);
    box-shadow: 0 8px 32px rgba(168, 216, 234, 0.3);
}

.blog-preview h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--ice-light);
    font-size: 1.8rem;
}

.blog-preview h2 a {
    color: var(--ice-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-preview h2 a:hover {
    color: var(--ice-light);
}

.blog-preview p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-preview .date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Blog Article Styles */
article h1 {
    color: var(--ice-light);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
}

article h2 {
    color: var(--ice-blue);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 2px solid rgba(168, 216, 234, 0.3);
    padding-bottom: 0.5rem;
}

article h3 {
    color: var(--glacier);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

article p {
    margin: 1.5rem 0;
    color: var(--text-light);
}

article a {
    color: var(--ice-blue);
    text-decoration: none;
    border-bottom: 1px dotted var(--ice-blue);
    transition: all 0.3s;
}

article a:hover {
    color: var(--ice-light);
    border-bottom: 1px solid var(--ice-light);
}

article ul, article ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: var(--text-light);
}

article li {
    margin: 1rem 0;
}

article strong {
    color: var(--ice-light);
    font-weight: 600;
}

article em {
    color: var(--ice-blue);
}

footer {
    background: rgba(26, 31, 58, 0.95);
    border-top: 2px solid rgba(168, 216, 234, 0.2);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

footer p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

footer a {
    color: var(--ice-blue);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--ice-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}
