@font-face {
    font-family: 'MainFont';
    src: url('../fonts/main.ttf') format('truetype');
}

@font-face {
    font-family: 'MonospaceFont';
    src: url('../fonts/monospace.ttf') format('truetype');
}

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

body {
    font-family: 'MainFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    background: #000;
    color: #fff;
    letter-spacing: -0.1rem;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 30px;
    z-index: 1000;
    mix-blend-mode: difference;
}

.nav-logo {
    width: 40px;
    height: 40px;
    filter: invert(1);
}

.nav-line {
    flex: 1;
    height: 1px;
    background: #fff;
    margin: 0 30px;
}

.nav-menu {
    cursor: pointer;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    transition: opacity 0.3s;
}

.nav-menu:hover {
    opacity: 0.7;
}

.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fullscreen-menu.active {
    opacity: 1;
    pointer-events: all;
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    cursor: pointer;
    color: #fff;
    transition: filter 0.3s;
}

.menu-close:hover {
    filter: brightness(0) saturate(100%) invert(69%) sepia(8%) saturate(107%) hue-rotate(8deg) brightness(89%) contrast(80%);
}

.menu-items {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    width: 100%;
    padding: 0 40px;
}

@media (min-width: 1024px) {
    .menu-items {
        grid-template-columns: 1fr 1fr;
        gap: 40px 80px;
        max-width: 1200px;
        text-align: left;
    }

    .menu-items li:nth-child(even) {
        text-align: right;
    }
}

.menu-items li {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

.fullscreen-menu.active .menu-items li:nth-child(1) {
    animation-delay: 0.1s;
}

.fullscreen-menu.active .menu-items li:nth-child(2) {
    animation-delay: 0.2s;
}

.fullscreen-menu.active .menu-items li:nth-child(3) {
    animation-delay: 0.3s;
}

.fullscreen-menu.active .menu-items li:nth-child(4) {
    animation-delay: 0.4s;
}

.fullscreen-menu.active .menu-items li:nth-child(5) {
    animation-delay: 0.5s;
}

.fullscreen-menu.active .menu-items li:nth-child(6) {
    animation-delay: 0.6s;
}

.menu-items a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(36px, 6vw, 90px);
    letter-spacing: 3px;
    transition: all 0.3s;
    display: inline-block;
    font-weight: bold;
    position: relative;
}

.menu-items a:hover {
    transform: translateX(10px);
    opacity: 0.7;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.hero-heading {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: bold;
    letter-spacing: -2px;
    margin-bottom: 40px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typing-text {
    position: relative;
    display: inline-block;
    min-height: 1.2em;
}

.typing-text::after {
    content: '|';
    position: absolute;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.countdown {
    font-family: 'MonospaceFont', 'Courier New', monospace;
    font-size: clamp(24px, 4vw, 48px);
    margin-bottom: 60px;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.countdown-label {
    font-size: 14px;
    letter-spacing: 4px;
    opacity: 0.7;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.form-container {
    width: 100%;
    max-width: 400px;
}

.input-wrapper {
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 0.6s forwards;
    animation-delay: 0.5s;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.input-wrapper:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
}

.input-wrapper.focused {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.phone-wrapper {
    display: none;
    opacity: 0;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.phone-wrapper:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
}

.phone-wrapper.focused {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.phone-wrapper.show {
    display: block;
    animation: fadeIn 0.6s forwards;
}

input {
    width: 100%;
    padding: 18px 24px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    font-family: inherit;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-wrapper {
    width: 100%;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    display: none;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.submit-wrapper:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
}

.submit-wrapper:active:not(.disabled) {
    transform: translateY(-1px);
}

.submit-wrapper.disabled {
    opacity: 0.3;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.submit-wrapper.show {
    display: block;
    animation: fadeIn 0.6s forwards;
}

.submit-btn {
    width: 100%;
    padding: 18px 24px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 8px;
    font-family: inherit;
}

.submit-btn:disabled {
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-line {
        margin: 0 20px;
    }

    .menu-items a {
        font-size: 28px;
    }
}