/* ─── EROX.LT – Atnaujinimai Page Styles ─── */
/* Reuses all variables and base styles from style.css */
/* Place this file alongside style.css and link BOTH in the HTML */

:root {
    --bg: #05070a;
    --card-bg: #0c0f14;
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.2);
    --accent-deep: #1d4ed8;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(37, 99, 235, 0.4);
    --success: #10b981;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: cubic-bezier(0.22, 1, 0.36, 1);
    /* Tag colors */
    --tag-new: #2563eb;
    --tag-fix: #10b981;
    --tag-balance: #f59e0b;
    --tag-hotfix: #ef4444;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-display);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container-narrow { max-width: 800px; }

/* ─── NAVIGATION (identical to main site) ─── */
.nav-glass {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    background: rgba(5, 7, 10, 0.8);
    transition: box-shadow 0.3s;
}
.nav-glass.scrolled { box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.05em; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.3s var(--transition);
}
.nav-links a:hover, .nav-links a.nav-active { color: var(--accent); }
.btn-nav-outline {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem !important;
    transition: background 0.3s !important;
}
.btn-nav-outline:hover { background: rgba(255, 255, 255, 0.05); }
.btn-nav-connect {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--accent);
    color: white !important;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem !important;
    transition: transform 0.2s var(--transition), box-shadow 0.2s !important;
}
.btn-nav-connect:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow); }
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span { width: 24px; height: 2px; background: var(--text-main); transition: all 0.3s; }
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
}
.mobile-menu a { color: var(--text-muted); font-size: 0.9rem; padding-top: 0.5rem; }

/* ─── PAGE HERO ─── */
.page-hero {
    position: relative;
    padding: 160px 1.5rem 80px;
    text-align: center;
    overflow: hidden;
}
.page-hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--accent-glow) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
}
.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}
.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
.badge-version {
    color: var(--accent);
    font-weight: 700;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s infinite;
}
h1 {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 0.9;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    font-weight: 700;
}
.text-gradient {
    color: var(--accent);
    text-shadow: 0 0 40px var(--accent-glow);
}
.page-sub {
    max-width: 560px;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ─── FILTER TABS ─── */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s var(--transition);
}
.filter-btn:hover {
    border-color: rgba(37, 99, 235, 0.4);
    color: var(--text-main);
}
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}
.tag-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.tag-dot.tag-new { background: var(--tag-new); }
.tag-dot.tag-fix { background: var(--tag-fix); }
.tag-dot.tag-balance { background: var(--tag-balance); }
.tag-dot.tag-hotfix { background: var(--tag-hotfix); }

/* ─── SECTION ─── */
.section { padding: 4rem 0 6rem; }

/* ─── CHANGELOG LAYOUT ─── */
.changelog-container {
    max-width: 860px;
    position: relative;
}
/* vertical timeline line */
.changelog-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent);
}

/* ─── CHANGELOG ENTRY ─── */
.changelog-entry {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 3rem;
    transition: all 0.3s var(--transition);
}
/* timeline dot */
.changelog-entry::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 1.4rem;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--border);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.changelog-entry:hover::before,
.changelog-entry.featured::before {
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

/* entry card */
.changelog-body {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.3s var(--transition);
}
.changelog-entry:hover .changelog-body {
    border-color: rgba(37, 99, 235, 0.25);
}
.changelog-entry.featured .changelog-body {
    border-color: rgba(37, 99, 235, 0.35);
    background: linear-gradient(135deg, var(--card-bg), rgba(37, 99, 235, 0.06));
}

/* meta row */
.changelog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.changelog-version {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}
.changelog-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}
/* tag pills */
.changelog-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}
.changelog-tag.tag-new     { background: rgba(37, 99, 235, 0.15);  color: #60a5fa; border: 1px solid rgba(37,99,235,0.3); }
.changelog-tag.tag-fix     { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.changelog-tag.tag-balance { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }
.changelog-tag.tag-hotfix  { background: rgba(239, 68, 68, 0.12);  color: #f87171; border: 1px solid rgba(239,68,68,0.3); }

.changelog-badge-featured {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0.2rem 0.65rem;
    background: linear-gradient(90deg, var(--accent), var(--accent-deep));
    color: white;
    border-radius: 100px;
    text-transform: uppercase;
}
.changelog-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.changelog-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

/* highlight cards (featured only) */
.changelog-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    transition: border-color 0.25s;
}
.highlight-card:hover { border-color: rgba(37, 99, 235, 0.3); }
.highlight-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.highlight-title { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.2rem; }
.highlight-desc { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }

/* changelog list */
.changelog-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.changelog-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    line-height: 1.5;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}
.item-new   { border-left: 2px solid rgba(37,99,235,0.5);  color: var(--text-main); }
.item-fix   { border-left: 2px solid rgba(16,185,129,0.5); color: var(--text-muted); }
.item-balance { border-left: 2px solid rgba(245,158,11,0.5); color: var(--text-muted); }
.item-icon { flex-shrink: 0; }

/* ─── FILTER HIDE ─── */
.changelog-entry.hidden { display: none; }

/* ─── LOAD MORE ─── */
.load-more-wrap { display: flex; justify-content: center; margin: 1rem 0 2rem; padding-left: 2.5rem; }
.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s var(--transition);
}
.btn-load-more:hover {
    border-color: rgba(37,99,235,0.4);
    color: var(--text-main);
    background: rgba(37,99,235,0.05);
}
.btn-load-more svg { transition: transform 0.3s; }
.btn-load-more.expanded svg { transform: rotate(180deg); }

.older-updates.hidden { display: none; }
.older-updates { display: flex; flex-direction: column; }

/* ─── DISCORD CTA (same as main site) ─── */
.discord-cta {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--card-bg), rgba(37, 99, 235, 0.08));
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}
.discord-text { flex: 1; }
.discord-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}
.discord-text p { color: var(--text-muted); margin-bottom: 2rem; max-width: 440px; line-height: 1.6; }
.discord-visual {
    flex-shrink: 0;
    width: 260px;
    height: 190px;
    border-radius: 12px;
    overflow: hidden;
    background: url('https://pngimg.com/d/discord_PNG6.png') center/cover no-repeat;
    position: relative;
}
.discord-glow {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

/* ─── BUTTONS ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s var(--transition), box-shadow 0.2s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px var(--accent-glow); }

/* ─── FOOTER ─── */
.footer { border-top: 1px solid var(--border); padding: 3rem 0; }
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-muted); font-size: 0.875rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.copyright { color: var(--text-muted); font-size: 0.75rem; }

.gradient-text {
    background: linear-gradient(45deg, #34a5e6, #142f88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── ANIMATIONS ─── */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: all 0.8s var(--transition); }
[data-reveal].visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .mobile-menu.open { display: flex; }

    .changelog-container::before { display: none; }
    .changelog-entry { padding-left: 0; }
    .changelog-entry::before { display: none; }

    .changelog-highlights { grid-template-columns: 1fr; }

    .discord-cta { flex-direction: column; padding: 2rem; }
    .discord-visual { width: 100%; height: 180px; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
    .filter-tabs { gap: 0.4rem; }
    .load-more-wrap { padding-left: 0; }
}
