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

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

@font-face {
    font-family: 'AOTFShinGoPro';
    src: url('fonts/AOTFShinGoProExLight.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Questrial';
    src: url('fonts/Questrial-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

.font-shingo {
    font-family: 'AOTFShinGoPro', sans-serif;
}

.font-questrial {
    font-family: 'Questrial', sans-serif;
}

/* Hamburger Menu Animation */
.hamburger-menu {
    width: 40px;
    height: 30px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.hamburger-menu:hover span:nth-child(1) {
    transform: translateY(13.5px) rotate(45deg);
}

.hamburger-menu:hover span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu:hover span:nth-child(3) {
    transform: translateY(-13.5px) rotate(-45deg);
}

/* Lattice Mesh Styles */
.mesh-node {
    fill: #991b1b;
    stroke: #dc2626;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.mesh-node-center {
    fill: #dc2626;
    stroke: #ef4444;
    stroke-width: 3;
}

.mesh-node:hover {
    fill: #dc2626;
    stroke: #ef4444;
    stroke-width: 3;
}

.mesh-connection {
    stroke: #991b1b;
    stroke-width: 1;
    stroke-opacity: 0.3;
}

.mesh-connection-active {
    stroke: #dc2626;
    stroke-width: 2;
    stroke-opacity: 0.8;
}

.mesh-pulse {
    fill: #dc2626;
    opacity: 0;
}

@keyframes pulse {
    0% {
        r: 3;
        opacity: 1;
    }
    100% {
        r: 8;
        opacity: 0;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1a0000 0%, #000000 100%);
    z-index: 40;
    transition: right 0.3s ease-in-out;
}

.mobile-menu.active {
    right: 0;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(13.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-13.5px) rotate(-45deg);
}

