/*
Theme Name: Web3 Astra Child
Description: Magna Labs - Apple Modern Tech & Split Hero Layout
Author: Nghia
Template: astra
Version: 2.0.0
*/


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;700&family=VT323&display=swap');

:root {
    --bg-dark: #030303;
    --text-light: #ffffff;
    --text-gray: #a1a1aa;
    --line-color: rgba(255, 255, 255, 0.15);
}

/* Đè lại style của WordPress theme để tránh xung đột */
.ast-container, .site-content { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }

.web3-dark-canvas {
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    padding: 40px;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* Typography chuẩn */
.web3-dark-canvas h1, .web3-dark-canvas h2 { font-family: 'Space Grotesk', sans-serif; color: #fff; margin-top: 0; }
.web3-dark-canvas h2 { font-size: 24px; margin-bottom: 20px; }
.web3-dark-canvas p { font-size: 14px; color: var(--text-gray); line-height: 1.6; }
.web3-dark-canvas ul { padding-left: 20px; color: var(--text-gray); font-size: 14px; }
.web3-dark-canvas li { margin-bottom: 8px; }

/* Header nổi */
.canvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 60px;
}
.pill-nav {
    display: flex; gap: 15px; border: 1px solid var(--line-color);
    border-radius: 40px; padding: 10px 30px; background: rgba(0,0,0,0.5);
}
.pill-nav a { color: var(--text-gray); text-decoration: none; font-size: 14px; }
.pill-nav a.active, .pill-nav a:hover { color: #fff; }
.pill-nav .divider { color: #444; }

.top-center-text { text-align: center; margin-bottom: 40px; }

/* GRID 3 CỘT - Giải pháp tối ưu chống vỡ layout */
.universe-grid {
    display: grid;
    grid-template-columns: 350px 1fr 380px;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

/* Khối thông tin */
.info-node { margin-bottom: 60px; }
.outline-box {
    border: 1px solid var(--line-color);
    border-radius: 20px;
    padding: 30px;
    background: rgba(15, 15, 15, 0.4);
}

.pill-title {
    display: inline-block; border: 1px solid var(--line-color);
    border-radius: 30px; padding: 10px 25px;
    font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700;
    margin-bottom: 25px;
}

/* Tags (Problem we solve) */
.tags-wrapper { display: flex; flex-direction: column; gap: 12px; }
.w3-tag {
    display: inline-block; padding: 12px 20px;
    border: 1px solid var(--line-color); border-radius: 30px;
    font-size: 13px; color: var(--text-gray);
    width: fit-content;
}

/* Quả cầu & Chữ trung tâm */
.orb-wrapper {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
}
.w3-sphere {
    width: 100%; max-width: 450px; height: auto;
    object-fit: contain; mix-blend-mode: screen;
}
.center-impact {
    font-family: 'VT323', monospace !important;
    font-size: 56px; color: #fff;
    text-transform: uppercase;
    margin-top: -60px; z-index: 10;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

/* Accordion (What we do) */
.w3-accordion details {
    border: 1px solid var(--line-color); border-radius: 12px; margin-bottom: 12px;
}
.w3-accordion summary {
    padding: 15px 20px; cursor: pointer; list-style: none;
    font-family: 'Space Grotesk', sans-serif; color: #fff; font-size: 16px;
    display: flex; justify-content: space-between;
}
.w3-accordion summary::after { content: '▼'; font-size: 12px; color: var(--text-gray); }
.w3-accordion details[open] summary::after { content: '▲'; }
.acc-content { padding: 0 20px 20px; }

.social-icons { display: flex; gap: 10px; margin-top: 20px; }
.social-icons .icon { width: 40px; height: 40px; border: 1px solid var(--line-color); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-gray); }

/* Chống vỡ trên mobile */
@media (max-width: 1100px) {
    .universe-grid { grid-template-columns: 1fr; text-align: center; }
    .w3-tag { margin: 0 auto; }
    .center-impact { font-size: 40px; margin-top: -30px; }
    .canvas-header { flex-direction: column; gap: 20px; }
}