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

html {
    background: #fff;
}

html {
    font-size: clamp(10px, calc(10px + (100vw - 1728px) * 0.00803), 17px);
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #fff;
    color: #000;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    padding-bottom: 8rem;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #000;
    z-index: 1000;
    padding: 2rem 8rem;
}

.header-content {
    max-width: none;
    margin: 0;
    padding: 0 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 500;
}

.logo a {
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo a:hover .logo-title {
    color: #AC94F4;
    filter: url(#liquify);
    animation: pump 2s ease-in-out infinite;
}

@keyframes pump {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.logo .logo-title {
    transition: color 0.6s ease, filter 1s ease;
    position: relative;
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #9B7EBD;
    animation: glitch-1 0.3s infinite, wobble-1 0.4s ease-in-out infinite, distort-1 0.6s ease-in-out infinite;
}

.glitch::after {
    left: -2px;
    text-shadow: 2px 0 #fff;
    animation: glitch-2 0.3s infinite, wobble-2 0.35s ease-in-out infinite, distort-2 0.55s ease-in-out infinite;
}

@keyframes distort-1 {
    0%, 100% { transform: translateY(0px) scaleY(1) skewX(0deg); }
    25% { transform: translateY(-2px) scaleY(0.95) skewX(2deg); }
    75% { transform: translateY(2px) scaleY(1.05) skewX(-2deg); }
}

@keyframes distort-2 {
    0%, 100% { transform: translateY(0px) scaleY(1) skewX(0deg); }
    30% { transform: translateY(2px) scaleY(1.05) skewX(-2deg); }
    70% { transform: translateY(-2px) scaleY(0.95) skewX(2deg); }
}

@keyframes glitch-1 {
    0% { clip-path: inset(40% 0 61% 0); }
    10% { clip-path: inset(92% 0 1% 0); }
    20% { clip-path: inset(43% 0 1% 0); }
    30% { clip-path: inset(25% 0 58% 0); }
    40% { clip-path: inset(54% 0 7% 0); }
    50% { clip-path: inset(58% 0 43% 0); }
    60% { clip-path: inset(12% 0 23% 0); }
    70% { clip-path: inset(78% 0 5% 0); }
    80% { clip-path: inset(33% 0 51% 0); }
    90% { clip-path: inset(67% 0 15% 0); }
    100% { clip-path: inset(21% 0 72% 0); }
}

@keyframes glitch-2 {
    0% { clip-path: inset(65% 0 10% 0); }
    10% { clip-path: inset(45% 0 32% 0); }
    20% { clip-path: inset(15% 0 70% 0); }
    30% { clip-path: inset(96% 0 2% 0); }
    40% { clip-path: inset(20% 0 60% 0); }
    50% { clip-path: inset(71% 0 15% 0); }
    60% { clip-path: inset(8% 0 88% 0); }
    70% { clip-path: inset(55% 0 22% 0); }
    80% { clip-path: inset(38% 0 49% 0); }
    90% { clip-path: inset(82% 0 6% 0); }
    100% { clip-path: inset(14% 0 63% 0); }
}

.logo p {
    font-size: 1.2rem;
    color: #666;
}

nav a {
    margin-left: 3rem;
    text-decoration: none;
    color: #000;
    font-size: 1.4rem;
    transition: opacity 0.3s;
}

nav a:hover,
nav a.active {
    opacity: 0.5;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #000;
    position: absolute;
    transition: 0.3s;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 11px;
}

.hamburger span:nth-child(3) {
    top: 22px;
}

.hamburger.active span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    padding: 81px 20px 35px;
    transition: left 0.3s ease;
}

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

.mobile-menu a {
    display: block;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    margin-bottom: 30px;
    transition: opacity 0.3s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    opacity: 0.5;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

main {
    margin-top: 10rem;
    padding: 4rem 8rem;
    max-width: 2600px;
    min-height: calc(100vh - 180px);
}

footer {
    position: absolute;
    bottom: 20px;
    right: 8rem;
    font-size: 1.2rem;
    color: #666;
    display: flex;
    gap: 20px;
    align-items: center;
}

footer a {
    color: #666;
    text-decoration: none;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.5;
}

@media (max-width: 768px) {
    header {
        padding: 20px 35px;
    }

    nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    main {
        padding: 20px 35px;
    }

    footer {
        right: 35px;
    }
}
