:root {
    --bg: #f7f3ed;
    --bg-alt: #f2ede5;
    --accent: #008f7a;
    --accent-2: #ff9a3d;
    --text: #1c232b;
    --muted: #586673;
    --card: rgba(255, 255, 255, 0.8);
    --line: rgba(28, 35, 43, 0.12);
    --shadow: 0 30px 70px rgba(27, 34, 41, 0.18);
    --radius: 24px;
    --font-display: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #f7f3ed, #f2ede5);
    color: var(--text);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid rgba(0, 143, 122, 0.7);
    outline-offset: 3px;
}

.ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient .orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.55;
    animation: float 14s ease-in-out infinite;
}

.orb-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(0, 143, 122, 0.25), rgba(0, 143, 122, 0) 70%);
    top: -120px;
    left: -120px;
}

.orb-2 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(255, 154, 61, 0.25), rgba(255, 154, 61, 0) 70%);
    bottom: -220px;
    right: -140px;
    animation-delay: -4s;
}

.orb-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 143, 122, 0.18), rgba(0, 143, 122, 0) 70%);
    top: 30%;
    right: 5%;
    animation-delay: -8s;
}

.grid-glow {
    position: absolute;
    inset: -20%;
    background-image: linear-gradient(rgba(28, 35, 43, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(28, 35, 43, 0.06) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.35;
}

.main-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 6rem;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-mark {
    color: var(--text);
}

.logo-dot {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: -0.1rem;
}

.logo-type {
    color: var(--accent-2);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.main-nav a {
    position: relative;
    color: var(--muted);
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.main-nav a:hover {
    color: var(--text);
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.lang-switcher button {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.lang-switcher button + button {
    margin-left: 0.5rem;
}

.lang-switcher button.is-active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 143, 122, 0.12);
}

.lang-switcher button:hover {
    border-color: var(--accent-2);
    color: var(--accent-2);
}

#universe-btn {
    position: fixed;
    top: 28px;
    right: 28px;
    z-index: 1001;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #10161c;
    border: none;
    padding: 0.75rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 143, 122, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#universe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 143, 122, 0.35);
}

#universe-menu {
    position: fixed;
    inset: 0;
    background: rgba(248, 244, 236, 0.96);
    backdrop-filter: blur(18px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.98);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
}

#universe-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}

#close-menu-btn {
    position: absolute;
    top: 28px;
    right: 40px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 2.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

#close-menu-btn:hover {
    color: var(--accent);
}

.menu-content {
    width: min(1200px, 92vw);
    text-align: center;
}

.menu-header h2 {
    font-family: var(--font-display);
    font-size: 2.6rem;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.menu-header p {
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    max-height: 65vh;
    overflow-y: auto;
    padding: 10px;
}

.menu-item {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 14px;
    text-align: left;
    border: 1px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    position: relative;
}

.menu-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(28, 35, 43, 0.08);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 143, 122, 0.4);
}

.menu-item:hover::after {
    opacity: 1;
}

section {
    margin-top: 4.5rem;
}

.hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
    align-items: center;
    padding: 4rem 0 2rem;
}

.hero-kicker {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    display: inline-block;
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-cta {
    background: linear-gradient(135deg, rgba(0, 143, 122, 1), rgba(255, 154, 61, 1));
    border: none;
    color: #10161c;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 18px 30px rgba(0, 143, 122, 0.2);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 40px rgba(0, 143, 122, 0.3);
}

.hero-note {
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero-visual {
    position: relative;
    min-height: 360px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(0, 143, 122, 0.12), rgba(255, 154, 61, 0.12));
    border: 1px solid rgba(28, 35, 43, 0.08);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.orbit {
    position: absolute;
    border: 1px dashed rgba(28, 35, 43, 0.18);
    border-radius: 50%;
}

.orbit-1 {
    width: 220px;
    height: 220px;
    top: 25%;
    left: 15%;
}

.orbit-2 {
    width: 320px;
    height: 320px;
    top: 10%;
    left: 35%;
}

.orbit-3 {
    width: 420px;
    height: 420px;
    top: -5%;
    left: 5%;
}

.signal {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent), rgba(0, 143, 122, 0));
    box-shadow: 0 0 20px rgba(0, 143, 122, 0.45);
}

.signal-1 {
    top: 30%;
    left: 35%;
}

.signal-2 {
    top: 55%;
    left: 60%;
}

.signal-3 {
    top: 70%;
    left: 20%;
}

.signal-4 {
    top: 20%;
    left: 70%;
}

.hero-beacon {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 143, 122, 0.35), rgba(0, 143, 122, 0));
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    animation: pulse 3.2s ease-in-out infinite;
}

.hero-pulse {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 154, 61, 0.85);
    top: 65%;
    left: 30%;
    box-shadow: 0 0 30px rgba(255, 154, 61, 0.5);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    color: var(--accent);
}

.section-header p {
    color: var(--muted);
    max-width: 520px;
}

.signal-grid {
    margin-top: 3rem;
}

.signal-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
}

.signal-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: var(--card);
    border: 1px solid var(--line);
    padding: 1.2rem 1.3rem;
    border-radius: 18px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.signal-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 143, 122, 0.35);
    box-shadow: 0 20px 40px rgba(27, 34, 41, 0.15);
}

.signal-index {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.signal-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.signal-console {
    margin-top: 4.5rem;
}

.console-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.console-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.console-search {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.console-search label {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.console-search input {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    color: var(--text);
}

.console-search input::placeholder {
    color: rgba(88, 102, 115, 0.7);
}

.console-hint {
    font-size: 0.85rem;
    color: var(--muted);
}

.console-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.results-count {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

#results-count-number {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 600;
}

.filter-reset {
    background: transparent;
    border: 1px solid var(--line);
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.filter-reset:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.console-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
}

.filter-chip {
    border: 1px solid var(--line);
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--muted);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.filter-chip.is-active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 143, 122, 0.1);
}

.console-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.signal-entry {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(28, 35, 43, 0.1);
    border-radius: 18px;
    padding: 1.2rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.signal-entry:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 143, 122, 0.35);
    box-shadow: 0 18px 30px rgba(27, 34, 41, 0.12);
}

.signal-entry-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
}

.signal-entry-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.signal-entry-meta {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.signal-entry p {
    color: var(--muted);
    font-size: 0.95rem;
}

.signal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.signal-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(0, 143, 122, 0.08);
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.live-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(28, 35, 43, 0.1);
    border-radius: 20px;
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    box-shadow: 0 18px 35px rgba(27, 34, 41, 0.1);
}

.live-card.live-now {
    border-color: rgba(255, 154, 61, 0.6);
}

.live-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}

.live-card h3 {
    font-size: 1.25rem;
}

.live-card p {
    color: var(--muted);
}

.live-time {
    font-weight: 600;
    color: var(--text);
}

.studio-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.studio-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(28, 35, 43, 0.1);
    border-radius: 20px;
    padding: 1.6rem 1.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.studio-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.studio-card h3 {
    font-size: 1.25rem;
}

.studio-card p {
    color: var(--muted);
}

.studio-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.studio-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 154, 61, 0.12);
    color: #9b4c12;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.network-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.metric-card,
.status-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(28, 35, 43, 0.1);
    border-radius: 20px;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.metric-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
}

.metric-label {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.metric-card p,
.status-card p {
    color: var(--muted);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.status-label {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.status-value {
    font-weight: 600;
    color: var(--accent);
}

.status-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 143, 122, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

.status-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

.contact-panel {
    margin-top: 4.5rem;
}

.contact-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(28, 35, 43, 0.1);
    border-radius: var(--radius);
    padding: 2.2rem;
    box-shadow: var(--shadow);
}

.contact-text p {
    color: var(--muted);
    margin-top: 0.8rem;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}

.primary-btn,
.ghost-btn,
.ai-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.primary-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #10161c;
    box-shadow: 0 12px 25px rgba(0, 143, 122, 0.2);
}

.ghost-btn {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text);
}

.contact-grid {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.9rem 1rem;
    background: rgba(248, 244, 236, 0.7);
    border-radius: 14px;
}

.contact-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-value {
    font-weight: 600;
}

.site-footer {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(28, 35, 43, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-tagline {
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.footer-links-label {
    color: var(--muted);
}

.footer-link {
    color: var(--text);
}

.footer-note {
    color: var(--muted);
    font-size: 0.85rem;
}

#ai-agent-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #10161c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0, 143, 122, 0.25);
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1100;
}

#ai-agent-bubble:hover {
    transform: translateY(-4px) scale(1.02);
}

#ai-agent-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: min(360px, 90vw);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    padding: 1.4rem 1.5rem;
}

#ai-agent-window.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.ai-header h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.ai-header p {
    color: var(--muted);
    margin-top: 0.4rem;
    font-size: 0.9rem;
}

.ai-actions {
    display: grid;
    gap: 0.6rem;
    margin: 1.2rem 0;
}

.ai-action {
    background: rgba(248, 244, 236, 0.9);
    border: 1px solid var(--line);
    color: var(--text);
}

.ai-action:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(0, 143, 122, 0.6);
}

.hero-text > * {
    animation: rise 0.8s ease both;
}

.hero-text > *:nth-child(1) {
    animation-delay: 0.05s;
}

.hero-text > *:nth-child(2) {
    animation-delay: 0.12s;
}

.hero-text > *:nth-child(3) {
    animation-delay: 0.2s;
}

.hero-text > *:nth-child(4) {
    animation-delay: 0.28s;
}

.hero-text > *:nth-child(5) {
    animation-delay: 0.36s;
}

#universe-menu.is-open .menu-item {
    animation: rise 0.4s ease both;
}

#universe-menu.is-open .menu-item:nth-child(3n + 1) {
    animation-delay: 0.05s;
}

#universe-menu.is-open .menu-item:nth-child(3n + 2) {
    animation-delay: 0.1s;
}

#universe-menu.is-open .menu-item:nth-child(3n) {
    animation-delay: 0.15s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.5;
    }
}

@media (max-width: 900px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        gap: 1rem;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 280px;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    #universe-btn {
        top: 18px;
        right: 18px;
    }
}

@media (max-width: 600px) {
    .menu-header h2 {
        font-size: 2rem;
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-note {
        order: 2;
    }

    .console-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .console-meta {
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
