
:root {
    --bg-void: #030303;
    --text-main: #ffffff;
    --text-sub: #9ca3af;
    
    --glass-dock: rgba(5, 5, 5, 0.85);
    --glass-card: rgba(15, 15, 20, 0.6); 
    --glass-modal: rgba(10, 10, 15, 0.95);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.15);
    
    --ease-fluid: cubic-bezier(0.2, 0.0, 0, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}


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

body {
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    perspective: 2000px;
}

/* --- BACKGROUND --- */
.stars-sm, .stars-md, .stars-lg { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: -2; pointer-events: none; }
.stars-sm { width: 1px; height: 1px; background: transparent; box-shadow: 10vw 10vh #fff, 20vw 80vh #fff, 80vw 10vh #fff, 90vw 90vh #fff, 40vw 30vh #fff, 60vw 50vh #fff, 10vw 90vh #fff, 50vw 10vh #fff, 30vw 60vh #fff, 70vw 40vh #fff, 25vw 25vh #fff, 85vw 85vh #fff; opacity: 0.4; animation: starsMove 100s linear infinite; }
.stars-md { width: 2px; height: 2px; background: transparent; box-shadow: 15vw 15vh #fff, 85vw 25vh #fff, 35vw 75vh #fff, 65vw 85vh #fff, 55vw 45vh #fff, 5vw 95vh #fff, 95vw 5vh #fff; opacity: 0.6; animation: starsMove 150s linear infinite; }
.stars-lg { width: 3px; height: 3px; background: transparent; box-shadow: 50vw 50vh #fff, 10vw 80vh #fff, 90vw 20vh #fff; opacity: 0.8; filter: blur(1px); animation: starsMove 200s linear infinite; }
.bg-vignette { position: fixed; inset: 0; z-index: -1; background: radial-gradient(circle at center, transparent 0%, #030303 100%); pointer-events: none; }
@keyframes starsMove { from { transform: translateY(0); } to { transform: translateY(-100vh); } }

button, a { border: none; background: none; cursor: pointer; color: inherit; text-decoration: none; }

/* --- HEADER --- */
header { position: fixed; top: 24px; width: 100%; display: flex; justify-content: center; z-index: 1000; padding: 0 24px; }
.nav-dock { display: flex; align-items: center; gap: 32px; background: var(--glass-dock); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); border: 1px solid var(--border-light); padding: 8px 12px 8px 32px; border-radius: 24px; box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1); transition: transform 0.4s var(--ease-fluid); }
.brand-block { display: flex; align-items: center; gap: 12px; padding-right: 12px; }
.brand-icon { font-size: 1.2rem; color: #fff; filter: drop-shadow(0 0 10px rgba(255,255,255,0.3)); }
.brand-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.05em; color: #fff; }
.nav-channel { position: relative; display: flex; background: rgba(0, 0, 0, 0.4); box-shadow: inset 0 2px 4px rgba(0,0,0,0.5); border-radius: 16px; padding: 4px; gap: 4px; border: 1px solid rgba(255,255,255,0.02); }
.nav-btn { position: relative; padding: 10px 28px; z-index: 2; border-radius: 12px; transition: all 0.3s ease; overflow: hidden; }
.btn-text { position: relative; z-index: 2; font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-sub); transition: color 0.3s; }
.nav-btn:hover .btn-text { color: #fff; }
.nav-btn::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(255,255,255,0.05), transparent 70%); opacity: 0; transition: opacity 0.3s; }
.nav-btn:hover::before { opacity: 1; }
.nav-btn.active .btn-text { color: #000; }
.nav-indicator { position: absolute; top: 4px; bottom: 4px; left: 0; background: #fff; border-radius: 12px; z-index: 1; width: 0; opacity: 0; transition: transform 0.5s var(--ease-fluid), width 0.4s var(--ease-fluid); box-shadow: 0 0 20px rgba(255,255,255,0.4); }

.nav-icon-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.03); border: 1px solid var(--border-light); color: var(--text-sub); transition: all 0.3s ease; position: relative; }
.nav-icon-btn:hover { background: rgba(255,255,255,0.1); color: #fff; transform: translateY(-2px); box-shadow: 0 0 15px rgba(255,255,255,0.2); }
.notification-dot { position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; background: #ef4444; border-radius: 50%; box-shadow: 0 0 8px #ef4444; transition: opacity 0.3s ease; }
.notification-dot.hidden { opacity: 0; }

main { width: 100%; max-width: 1300px; padding: 160px 2rem 80px; position: relative; z-index: 10; min-height: 100vh; display: flex; flex-direction: column; }

/* --- TRANSITIONS --- */
.section { display: none; width: 100%; }
.section.active { display: block; }
.section:not(.visible) { opacity: 0; pointer-events: none; transform: scale(0.92) translateY(30px); filter: blur(10px) brightness(0.5); }
.section.visible { opacity: 1; transform: scale(1) translateY(0); filter: blur(0) brightness(1); transition: transform 0.8s var(--ease-fluid), opacity 0.6s ease, filter 0.6s ease; }
.stagger-entry { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 1s var(--ease-fluid); }
.section.visible .stagger-entry { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; } .delay-5 { transition-delay: 0.5s; }

/* --- CONTENT --- */
.content-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 6rem; align-items: center; }
h1 { font-family: 'Space Grotesk'; font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: 0.95; font-weight: 800; margin-bottom: 2rem; color: #fff; letter-spacing: -0.04em; }
h2 { font-family: 'Space Grotesk'; font-size: 3rem; font-weight: 700; margin-bottom: 0.5rem; color: #fff; }
p { font-size: 1.15rem; color: var(--text-sub); line-height: 1.6; margin-bottom: 2.5rem; max-width: 500px; }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header p { margin: 0 auto; }
.text-mask { overflow: hidden; display: block; }
.text-mask .stagger-entry { transform: translateY(110%); }
.section.visible .text-mask .stagger-entry { transform: translateY(0); }

.button-wrapper { display: flex; flex-wrap: wrap; overflow: visible; gap: 1rem; }
.btn-primary, .btn-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 16px 36px; border-radius: 14px; font-size: 0.95rem; font-family: 'Space Grotesk'; font-weight: 600; transition: all 0.3s var(--ease-fluid); text-align: center; position: relative; z-index: 5; overflow: hidden; }
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px -5px rgba(255,255,255,0.4); }
.btn-secondary { border: 1px solid var(--border-light); background: rgba(255,255,255,0.03); color: #fff; }
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: #fff; transform: translateY(-3px); }
.full-width { width: 100%; margin-left: 0; margin-top: auto; }
.back-btn { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-sub); margin-bottom: 1.5rem; font-size: 0.9rem; transition: all 0.2s; }
.back-btn:hover { color: #fff; transform: translateX(-4px); }

/* --- CARDS & GRID --- */
.hub-cards, .platform-grid, .cards-grid { display: grid; gap: 1.5rem; }
.hub-cards { grid-template-columns: 1fr; }
.platform-grid, .cards-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }

.card, .modern-card, .version-card, .tool-card { background: var(--glass-card); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--border-light); padding: 2rem; border-radius: 24px; display: flex; justify-content: space-between; align-items: center; position: relative; overflow: visible; cursor: pointer; transition: transform 0.3s cubic-bezier(0.1, 0.9, 0.2, 1), border-color 0.3s; will-change: transform; text-decoration: none; }
.card::before, .modern-card::before, .version-card::before, .tool-card::before { content: ''; position: absolute; inset: -1px; border-radius: 24px; background: radial-gradient(400px circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.1), transparent 40%); opacity: 0; transition: opacity 0.3s; pointer-events: none; z-index: -1; }
.card:hover::before, .modern-card:hover::before, .version-card:hover::before, .tool-card:hover::before { opacity: 1; }
.card:hover, .modern-card:hover, .version-card:hover, .tool-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-5px); }

.card-content h3 { font-family: 'Space Grotesk'; font-size: 1.5rem; font-weight: 700; margin-bottom: 0.4rem; color: #fff; }
.card-content span { font-size: 0.8rem; color: var(--text-sub); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.card-icon { font-size: 1.25rem; color: #fff; opacity: 0.3; transition: all 0.3s; }
.card:hover .card-icon { opacity: 1; transform: translateX(5px); }

.platform-card { flex-direction: column; align-items: flex-start; min-height: 380px; }
.platform-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.platform-icon { width: 56px; height: 56px; background: rgba(255,255,255,0.05); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; border: 1px solid var(--border-light); }
.feature-list { list-style: none; width: 100%; margin-bottom: 2.5rem; }
.feature-list li { padding: 12px 0; border-bottom: 1px solid var(--border-light); color: var(--text-sub); font-size: 0.95rem; display: flex; align-items: center; gap: 12px; }
.feature-list li i { width: 20px; text-align: center; color: #fff; }
.feature-list li:last-child { border-bottom: none; }

.modern-card { align-items: flex-start; gap: 1.5rem; }
.card-badge { position: absolute; top: 1.2rem; right: 1.2rem; background: rgba(255,255,255,0.08); padding: 0.4rem 0.8rem; border-radius: 8px; font-size: 0.75rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 6px; border: 1px solid var(--border-light); }
.modern-icon { width: 60px; height: 60px; background: rgba(255,255,255,0.05); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; flex-shrink: 0; border: 1px solid var(--border-light); }
.card-stats { display: flex; gap: 1rem; margin-top: 1.5rem; }
.stat { font-size: 0.85rem; color: var(--text-sub); display: flex; align-items: center; gap: 6px; font-weight: 500; }
.card-arrow { position: absolute; bottom: 1.5rem; right: 1.5rem; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateX(-10px); transition: all 0.3s var(--ease-bounce); }
.modern-card:hover .card-arrow { opacity: 1; transform: translateX(0); background: #fff; color: #000; }

.version-card { flex-direction: column; align-items: stretch; min-height: 400px; }
.live-indicator { display: inline-flex; align-items: center; gap: 8px; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.2); padding: 6px 12px; border-radius: 50px; margin-top: 10px; }
.live-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 8px #22c55e; animation: pulse 2s infinite; }
.live-indicator span { font-size: 0.85rem; color: #4ade80; font-weight: 600; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.version-display { background: rgba(0,0,0,0.3); border: 1px solid var(--border-light); border-radius: 16px; padding: 1.5rem; margin-bottom: 1.5rem; }
.version-label { font-size: 0.8rem; color: var(--text-sub); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; font-weight: 600; }
.version-value { font-family: 'Space Grotesk'; font-size: 1.1rem; color: #fff; word-break: break-all; }
.version-skeleton { height: 24px; width: 80%; background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 4px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.status-indicator { width: 12px; height: 12px; border-radius: 50%; }
.status-online { background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.status-offline { background: #ef4444; box-shadow: 0 0 10px #ef4444; }
.status-loading { background: #eab308; box-shadow: 0 0 10px #eab308; }
.update-time { font-size: 0.85rem; color: var(--text-sub); margin-bottom: auto; }
.card-actions { display: flex; gap: 10px; margin-top: 2rem; }
.action-btn { flex: 1; padding: 12px; border-radius: 10px; border: none; font-size: 0.9rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; transition: all 0.2s; }
.btn-download { background: #fff; color: #000; text-decoration: none; }
.btn-download:hover { background: #e2e2e2; transform: translateY(-2px); }
.btn-copy { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid var(--border-light); }
.btn-copy:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.tracker-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border-light); color: var(--text-sub); }
.refresh-btn { display: flex; align-items: center; gap: 8px; color: #fff; background: rgba(255,255,255,0.05); padding: 10px 20px; border-radius: 10px; transition: 0.2s; border: 1px solid var(--border-light); }
.refresh-btn:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.refresh-btn.loading i { animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(20px); background: #151515; border: 1px solid var(--border-light); color: #fff; padding: 14px 28px; border-radius: 50px; display: flex; align-items: center; gap: 10px; opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 2000; box-shadow: 0 10px 30px rgba(0,0,0,0.5); backdrop-filter: blur(10px); font-weight: 500; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.tools-controls { display: flex; flex-direction: column; align-items: center; gap: 2rem; margin-bottom: 4rem; }
.search-wrapper { position: relative; width: 100%; max-width: 500px; }
.search-wrapper i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-sub); pointer-events: none; }
#tools-search { width: 100%; padding: 14px 20px 14px 50px; border-radius: 999px; border: 1px solid var(--border-light); background: rgba(255, 255, 255, 0.03); color: #fff; font-family: 'Inter', sans-serif; font-size: 1rem; outline: none; transition: all 0.3s ease; }
#tools-search:focus { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); box-shadow: 0 0 20px rgba(255, 255, 255, 0.05); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.filter-pill { padding: 8px 20px; border-radius: 999px; border: 1px solid var(--border-light); background: transparent; color: var(--text-sub); font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; }
.filter-pill:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.filter-pill.active { background: #fff; color: #000; border-color: #fff; font-weight: 600; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.tool-card { flex-direction: column; align-items: center; text-align: center; padding: 2rem; border-color: var(--border-light); overflow: visible; }
.tool-card:hover { border-color: var(--glow, rgba(255,255,255,0.3)); box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5); }
.tool-card::before { background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), var(--glow), transparent 60%); opacity: 0; transition: opacity 0.3s; }
.tool-card:hover::before { opacity: 0.15; }
.tool-icon { width: 60px; height: 60px; background: rgba(255,255,255,0.03); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 1.5rem; border: 1px solid var(--border-light); }
.tool-info h3 { font-family: 'Space Grotesk'; font-size: 1.25rem; margin-bottom: 0.5rem; color: #fff; }
.tool-info p { font-size: 0.9rem; color: var(--text-sub); line-height: 1.5; margin-bottom: 2rem; }
.tool-btn { margin-top: auto; padding: 10px 24px; border-radius: 8px; background: rgba(255,255,255,0.05); color: #fff; font-size: 0.9rem; font-weight: 500; border: 1px solid var(--border-light); transition: all 0.2s; width: 100%; text-align: center; text-decoration: none; display: inline-block; }
.tool-btn:hover { background: var(--glow); color: #000; border-color: var(--glow); }
.tool-card.fade-in { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.5s var(--ease-fluid) forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* --- UPDATES MODAL (IMPROVED) --- */
.modal-backdrop {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease-fluid);
    display: flex; justify-content: center; align-items: center; padding: 2rem;
}
.modal-backdrop.active { opacity: 1; pointer-events: auto; }

.modal-content {
    background: var(--glass-modal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,255,255,0.02);
    border-radius: 24px;
    width: 100%; max-width: 600px;
    height: 80vh;
    display: flex; flex-direction: column;
    transform: scale(0.95) translateY(20px); transition: transform 0.4s var(--ease-bounce);
    overflow: hidden;
}
.modal-backdrop.active .modal-content { transform: scale(1) translateY(0); }

.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 2rem; border-bottom: 1px solid var(--border-light);
    background: rgba(255,255,255,0.02);
}
.modal-header h3 { 
    margin: 0; font-size: 1.25rem; font-family: 'Space Grotesk'; font-weight: 700; 
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%); 
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.close-btn { font-size: 1.2rem; color: var(--text-sub); transition: all 0.2s; padding: 8px; border-radius: 8px; }
.close-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }

.modal-scroll-area { 
    overflow-y: auto; padding: 2rem; flex: 1; 
    /* Custom Scrollbar for Modal */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.modal-scroll-area::-webkit-scrollbar { width: 6px; }
.modal-scroll-area::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }

.timeline { position: relative; padding-left: 24px; padding-bottom: 2rem; }
.timeline-line { 
    position: absolute; left: 0; top: 12px; bottom: 0; width: 2px; 
    background: linear-gradient(to bottom, #38bdf8, #818cf8, transparent); 
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.update-node { position: relative; padding-left: 32px; margin-bottom: 3rem; opacity: 0; transform: translateX(-20px); animation: slideInNode 0.5s ease forwards; }
.update-node:nth-child(1) { animation-delay: 0.1s; }
.update-node:nth-child(2) { animation-delay: 0.2s; }
.update-node:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInNode { to { opacity: 1; transform: translateX(0); } }

.node-dot {
    position: absolute; left: -5px; top: 0; width: 12px; height: 12px;
    background: #000; border: 2px solid #fff; border-radius: 50%;
    z-index: 2; box-shadow: 0 0 15px rgba(255,255,255,0.8), 0 0 5px #38bdf8;
}

.update-card-small {
    background: rgba(20, 20, 25, 0.6); border: 1px solid var(--border-light);
    border-radius: 16px; padding: 1.5rem; transition: all 0.3s;
    backdrop-filter: blur(10px);
}
.update-card-small:hover { 
    transform: translateX(5px) translateY(-2px); 
    background: rgba(25, 25, 30, 0.8); 
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.5);
}

.update-meta { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 0.85rem; align-items: center; }
.tag { padding: 4px 10px; border-radius: 6px; font-weight: 700; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.5px; }
.tag-purple { background: rgba(139, 92, 246, 0.1); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, 0.3); box-shadow: 0 0 10px rgba(139, 92, 246, 0.1); }
.tag-blue { background: rgba(56, 189, 248, 0.1); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.3); box-shadow: 0 0 10px rgba(56, 189, 248, 0.1); }
.tag-green { background: rgba(34, 197, 94, 0.1); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.3); box-shadow: 0 0 10px rgba(34, 197, 94, 0.1); }
.date { color: var(--text-sub); font-family: monospace; font-size: 0.8rem; }

.update-card-small h4 { font-family: 'Space Grotesk'; font-size: 1.2rem; margin-bottom: 0.5rem; color: #fff; font-weight: 600; }
.update-card-small p { margin: 0; font-size: 0.95rem; color: var(--text-sub); line-height: 1.6; }

@media (max-width: 900px) {
    .content-grid { grid-template-columns: 1fr; text-align: center; height: auto; }
    .hub-cards { width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; margin-left: 0; margin-bottom: 1rem; }
    .nav-dock { flex-direction: column; gap: 1rem; padding: 16px; width: 90%; border-radius: 20px; }
    header { top: 10px; padding: 0; }
    .nav-channel { width: 100%; justify-content: space-between; }
    .nav-btn { flex: 1; padding: 10px; }
    main { padding-top: 200px; }
    .tracker-footer { flex-direction: column; gap: 1rem; }
}


/* ... [Standard Resets & Main Body Styles] ... */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-void); color: var(--text-main); font-family: 'Inter', sans-serif; overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; align-items: center; -webkit-font-smoothing: antialiased; perspective: 2000px; }

/* ... [Background & Header Styles] ... */
.stars-sm, .stars-md, .stars-lg { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: -2; pointer-events: none; }
.stars-sm { width: 1px; height: 1px; background: transparent; box-shadow: 10vw 10vh #fff, 20vw 80vh #fff; opacity: 0.4; animation: starsMove 100s linear infinite; } 
/* (Assuming standard star styles from previous iterations) */
.bg-vignette { position: fixed; inset: 0; z-index: -1; background: radial-gradient(circle at center, transparent 0%, #030303 100%); pointer-events: none; }
@keyframes starsMove { from { transform: translateY(0); } to { transform: translateY(-100vh); } }

button, a { border: none; background: none; cursor: pointer; color: inherit; text-decoration: none; }

header { position: fixed; top: 24px; width: 100%; display: flex; justify-content: center; z-index: 1000; padding: 0 24px; }
.nav-dock { display: flex; align-items: center; gap: 32px; background: var(--glass-dock); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); border: 1px solid var(--border-light); padding: 8px 12px 8px 32px; border-radius: 24px; box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6); transition: transform 0.4s var(--ease-fluid); }
.brand-title { font-family: 'Space Grotesk'; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.05em; color: #fff; }
.nav-channel { position: relative; display: flex; background: rgba(0,0,0,0.4); border-radius: 16px; padding: 4px; gap: 4px; border: 1px solid rgba(255,255,255,0.02); }
.nav-btn { position: relative; padding: 10px 28px; z-index: 2; border-radius: 12px; transition: all 0.3s ease; }
.btn-text { position: relative; z-index: 2; font-family: 'Space Grotesk'; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; color: var(--text-sub); transition: color 0.3s; }
.nav-btn.active .btn-text { color: #000; }
.nav-indicator { position: absolute; top: 4px; bottom: 4px; left: 0; background: #fff; border-radius: 12px; z-index: 1; width: 0; opacity: 0; transition: transform 0.5s var(--ease-fluid), width 0.4s var(--ease-fluid); }

.nav-icon-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.03); border: 1px solid var(--border-light); color: var(--text-sub); transition: all 0.3s ease; position: relative; }
.nav-icon-btn:hover { background: rgba(255,255,255,0.1); color: #fff; transform: translateY(-2px); }
.notification-dot { position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; background: #ef4444; border-radius: 50%; box-shadow: 0 0 8px #ef4444; transition: opacity 0.3s ease; }
.notification-dot.hidden { opacity: 0; }

main { width: 100%; max-width: 1300px; padding: 160px 2rem 80px; position: relative; z-index: 10; min-height: 100vh; display: flex; flex-direction: column; }

/* ... [Section & Card Styles remain same as previous] ... */
.section { display: none; width: 100%; }
.section.active { display: block; }
.section.visible { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); transition: all 0.8s var(--ease-fluid); }
.section:not(.visible) { opacity: 0; transform: scale(0.92) translateY(30px); filter: blur(10px); }

/* --- MODULAR UPDATES MODAL (NEW) --- */
.modal-backdrop {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease-fluid);
    display: flex; justify-content: center; align-items: center; padding: 2rem;
}
.modal-backdrop.active { opacity: 1; pointer-events: auto; }

.modal-content {
    background: var(--glass-modal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    border-radius: 24px;
    width: 100%; max-width: 700px; /* Wider for new layout */
    height: 85vh;
    display: flex; flex-direction: column;
    transform: scale(0.95) translateY(20px); transition: transform 0.4s var(--ease-bounce);
    overflow: hidden;
}
.modal-backdrop.active .modal-content { transform: scale(1) translateY(0); }

.modal-header {
    padding: 1.5rem 2rem; border-bottom: 1px solid var(--border-light);
    background: rgba(255,255,255,0.02);
    display: flex; justify-content: space-between; align-items: center;
}

.modal-title-block h3 { margin: 0; font-size: 1.4rem; font-family: 'Space Grotesk'; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }

.modal-controls { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.control-btn { 
    background: transparent; border: 1px solid var(--border-light); color: var(--text-sub); 
    padding: 4px 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 600;
    transition: all 0.2s; 
}
.control-btn:hover { color: #fff; background: rgba(255,255,255,0.05); }
.control-btn.active { background: #fff; color: #000; border-color: #fff; }

.separator-v { width: 1px; height: 20px; background: var(--border-light); margin: 0 5px; }

/* Toggle Switch */
.toggle-switch { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.toggle-switch input { display: none; }
.slider { 
    width: 32px; height: 18px; background: rgba(255,255,255,0.1); 
    border-radius: 20px; position: relative; transition: 0.3s; 
}
.slider::before { 
    content: ''; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; 
    background: #fff; border-radius: 50%; transition: 0.3s; 
}
.toggle-switch input:checked + .slider { background: #6366f1; }
.toggle-switch input:checked + .slider::before { transform: translateX(14px); }
.label-text { font-size: 0.75rem; color: var(--text-sub); font-weight: 600; }

.close-btn { font-size: 1.2rem; color: var(--text-sub); padding: 8px; border-radius: 8px; }
.close-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* --- UPDATE FEED --- */
.modal-scroll-area { 
    overflow-y: auto; padding: 2rem; flex: 1; 
    scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.update-entry { 
    border-left: 2px solid var(--border-light); 
    padding-left: 24px; margin-bottom: 2.5rem; 
    position: relative; 
    transition: opacity 0.3s;
}
.update-entry.hidden { display: none; }

/* Impact Glow Line */
.impact-line { 
    position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; 
    background: var(--glow); 
    box-shadow: 0 0 15px var(--glow);
    opacity: 0.7;
}

/* Header */
.entry-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.entry-meta { display: flex; flex-direction: column; gap: 4px; }
.entry-date { font-family: monospace; color: var(--text-sub); font-size: 0.8rem; }
.entry-title { font-family: 'Space Grotesk'; font-size: 1.2rem; font-weight: 700; color: #fff; }

.impact-badge { 
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; 
    padding: 2px 8px; border-radius: 4px; border: 1px solid var(--glow); 
    color: var(--glow); box-shadow: 0 0 10px var(--glow-dim);
}

/* Blocks */
.update-body { display: flex; flex-direction: column; gap: 1rem; }

.block-headline { font-weight: 600; color: #fff; font-size: 0.95rem; margin-top: 0.5rem; border-bottom: 1px solid var(--border-light); padding-bottom: 4px; }

.smart-bullet { display: flex; gap: 10px; font-size: 0.9rem; color: #d1d5db; line-height: 1.5; }
.bullet-icon { width: 20px; text-align: center; font-weight: bold; flex-shrink: 0; }

/* Bullet Types */
.b-added { color: #4ade80; } /* Green */
.b-removed { color: #f87171; } /* Red */
.b-improved { color: #60a5fa; } /* Blue */
.b-fixed { color: #fbbf24; } /* Amber */
.b-exp { color: #c084fc; } /* Purple */

.block-note { 
    background: rgba(255,255,255,0.03); border-left: 3px solid var(--text-sub); 
    padding: 10px; border-radius: 0 8px 8px 0; font-size: 0.85rem; color: var(--text-sub);
}
.note-warning { border-color: #f87171; background: rgba(248, 113, 113, 0.05); color: #fca5a5; }

.block-diff { 
    font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; 
    background: #0f0f12; padding: 10px; border-radius: 8px; border: 1px solid var(--border-light);
}
.diff-val { font-weight: bold; }
.diff-down { color: #4ade80; } /* Good (e.g. ping down) */
.diff-up { color: #4ade80; } /* Good (e.g. fps up) */

/* Expand Logic */
.expand-btn { 
    margin-top: 1rem; background: transparent; border: none; color: var(--text-sub); 
    font-size: 0.8rem; cursor: pointer; display: flex; align-items: center; gap: 6px; 
}
.expand-btn:hover { color: #fff; }
.expand-content { display: none; animation: slideDown 0.3s ease; }
.expand-content.open { display: block; }

@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 900px) {
    .modal-content { height: 100vh; border-radius: 0; }
    .modal-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .modal-controls { width: 100%; justify-content: space-between; }
    .close-btn { position: absolute; top: 1rem; right: 1rem; }
}

.rdd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.rdd-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rdd-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 50px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5f3fc; font-size: 0.85rem; font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
    animation: pulseBadge 3s infinite ease-in-out;
}
@keyframes pulseBadge { 0%, 100% { box-shadow: 0 0 15px rgba(99, 102, 241, 0.2); } 50% { box-shadow: 0 0 25px rgba(99, 102, 241, 0.4); } }

.rdd-heading {
    font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; line-height: 1; margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.rdd-subtitle {
    font-size: 1.15rem; color: var(--text-sub); line-height: 1.6; margin-bottom: 2.5rem;
}

.rdd-features {
    display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; width: 100%;
}

.rdd-feature {
    display: flex; align-items: center; gap: 1rem; padding: 1rem;
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-light);
    border-radius: 16px; transition: all 0.3s ease;
}
.rdd-feature:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(99, 102, 241, 0.3); transform: translateX(10px); }

.rdd-feature-icon {
    width: 40px; height: 40px; background: rgba(99, 102, 241, 0.15);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    color: #818cf8; font-size: 1.2rem;
}
.rdd-feature-text { color: #e2e8f0; font-weight: 500; }

.rdd-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.rdd-primary-btn {
    display: inline-flex; align-items: center; gap: 0.8rem; padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white; text-decoration: none; border-radius: 14px; font-weight: 600;
    transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4); cursor: pointer;
}
.rdd-primary-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(99, 102, 241, 0.5); }

.rdd-secondary-btn {
    display: inline-flex; align-items: center; gap: 0.8rem; padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05); color: #fff; text-decoration: none;
    border: 1px solid var(--border-light); border-radius: 14px; font-weight: 600;
    transition: all 0.3s ease; cursor: pointer;
}
.rdd-secondary-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; transform: translateY(-3px); }

/* RDD Visual (3D Floating Blade) */
.rdd-visual {
    perspective: 1500px; display: flex; justify-content: center; align-items: center; min-height: 500px;
    position: relative;
}
/* Backlight */
.rdd-visual::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 300px; height: 300px; background: rgba(99, 102, 241, 0.15);
    filter: blur(100px); border-radius: 50%; z-index: 0;
    animation: pulseBacklight 4s ease-in-out infinite;
}
@keyframes pulseBacklight { 0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); } }

.rdd-main-card {
    width: 340px;
    background: var(--glass-card); backdrop-filter: blur(40px);
    border: 1px solid var(--border-light); border-radius: 30px;
    padding: 3rem 2rem; display: flex; flex-direction: column; align-items: center; text-align: center;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7), inset 0 0 0 1px rgba(255,255,255,0.05);
    animation: floatMonolith 6s ease-in-out infinite;
    position: relative; z-index: 2;
}
.rdd-main-card::before {
    content: ''; position: absolute; inset: 0; border-radius: 30px; padding: 1px;
    background: linear-gradient(180deg, rgba(99,102,241,0.5), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
}
@keyframes floatMonolith { 0%, 100% { transform: translateY(0) rotateX(2deg); } 50% { transform: translateY(-20px) rotateX(-2deg); } }

.rdd-card-icon {
    width: 100px; height: 100px; background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin-bottom: 2rem; box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
    font-size: 3rem; color: #fff;
}
.rdd-card-title { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.rdd-card-desc { color: var(--text-sub); line-height: 1.5; margin-bottom: 2rem; font-size: 1rem; }

.rdd-card-stats {
    display: flex; gap: 1rem; width: 100%; background: rgba(0,0,0,0.3);
    padding: 0.8rem; border-radius: 16px; border: 1px solid var(--border-light);
}
.rdd-stat { flex: 1; text-align: center; }
.rdd-stat-value { font-size: 1.2rem; font-weight: 700; color: #818cf8; display: block; }
.rdd-stat-label { font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }

/* --- RDD MODAL --- */
.rdd-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(2, 6, 23, 0.9); backdrop-filter: blur(15px);
    z-index: 10000; display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease-fluid);
}
.rdd-modal-overlay.active { opacity: 1; pointer-events: all; }

.rdd-modal-container {
    width: 90%; max-width: 1200px; height: 85vh;
    background: #0f172a; border: 1px solid var(--border-light); border-radius: 24px;
    display: flex; flex-direction: column; overflow: hidden;
    transform: scale(0.95) translateY(20px); transition: transform 0.4s var(--ease-bounce);
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.8);
}
.rdd-modal-overlay.active .rdd-modal-container { transform: scale(1) translateY(0); }

.rdd-modal-header {
    padding: 1.25rem 2rem; display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border-light); background: rgba(15, 23, 42, 0.95);
}
.rdd-modal-title { color: #f1f5f9; font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 0.8rem; }
.rdd-modal-title i { color: #818cf8; }

.rdd-close-btn {
    width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light); color: var(--text-sub); font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center; transition: all 0.2s; cursor: pointer;
}
.rdd-close-btn:hover { background: #ef4444; border-color: #ef4444; color: white; }

.rdd-iframe-wrapper { flex: 1; width: 100%; position: relative; background: #020617; }
.rdd-iframe-wrapper iframe { width: 100%; height: 100%; border: none; display: block; position: relative; z-index: 2; }

.rdd-loader {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 50px; height: 50px; border: 3px solid rgba(255,255,255,0.1);
    border-top-color: #6366f1; border-radius: 50%; animation: rddSpin 1s linear infinite; z-index: 1;
}
@keyframes rddSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

@media (max-width: 968px) { .rdd-grid { grid-template-columns: 1fr; gap: 4rem; } .rdd-visu