/* Landing Hub Specific Styles */

#physics-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: auto;
}

.about-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 12px 30px;
    border-radius: 4px;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
    width: 220px;
}

.btn-label {
    font-size: 0.6rem;
    letter-spacing: 4px;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 4px;
    opacity: 0.8;
}

.btn-glitch {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
    transition: all 0.4s ease;
}

.about-btn:hover {
    background: rgba(0, 242, 255, 0.05);
    border-color: var(--accent-primary);
    transform: translateY(5px);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.1);
}

.about-btn:hover .btn-label {
    color: var(--text-primary);
    opacity: 1;
}

.about-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 242, 255, 0.2) 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-btn:hover::after {
    opacity: 1;
}

/* Fullscreen Menu */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: opacity 0.8s ease, visibility 0.8s;
    perspective: 1000px;
    pointer-events: none;
}

.fullscreen-menu.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.menu-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: auto;
    align-items: center;
    transform: rotateX(60deg);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-rows:hover {
    transform: rotateX(30deg);
}

.menu-row {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    text-align: center;
    position: relative;
    padding: 10px 60px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 8rem;
    font-weight: 900;
    letter-spacing: -5px;
    line-height: 0.9;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    color: transparent;
    display: flex;
    justify-content: center;
    pointer-events: auto;
}

.menu-row::before {
    content: attr(data-text);
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    color: var(--text-primary);
    width: 0;
    overflow: hidden;
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    white-space: nowrap;
    -webkit-text-stroke: 0;
    text-shadow: 0 0 30px var(--accent-primary);
    text-align: center;
}

.menu-row:hover {
    transform: translateY(-10px) translateZ(100px);
    -webkit-text-stroke: 1px var(--accent-primary);
}

.menu-row:hover::before {
    width: 100%;
}

.menu-row::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--accent-primary);
    transition: width 0.5s ease;
    box-shadow: 0 0 20px var(--accent-primary);
}

.menu-row:hover::after {
    width: calc(100% - 120px);
}

.top-nav {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 100;
    pointer-events: none;
}

.nav-extra-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 4px;
    color: var(--text-secondary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.nav-extra-btn:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: rgba(0, 242, 255, 0.05);
    transform: translateY(2px);
    box-shadow: 0 5px 15px rgba(0, 242, 255, 0.1);
}

@media (max-width: 768px) {
    .top-nav {
        top: 20px;
        gap: 10px;
        padding: 0 10px;
    }

    .nav-extra-btn {
        max-width: 80px;
        padding: 8px 12px;
        font-size: 0.55rem;
        letter-spacing: 1px;
    }

    .about-btn {
        width: 140px;
        padding: 8px 15px;
    }

    .menu-row {
        font-size: 4rem;
        padding: 5px 20px;
        letter-spacing: -2px;
    }

    .menu-row::before {
        left: 0;
        top: 5px;
    }

    .menu-row::after {
        left: 50%;
        bottom: 8px;
    }

    .menu-row:hover::after {
        width: calc(100% - 40px);
    }

    .menu-rows {
        transform: rotateX(40deg);
        gap: 10px;
    }
}