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

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

a,
button,
[onclick],
.clickable,
[role="button"],
input,
select,
textarea,
.order-item,
.article-item,
.footer-link,
.hero-button,
[style*="cursor: pointer"],
[style*="cursor:pointer"] {
    cursor: none !important;
}

body {
    font-family: 'MainFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.02em;
    overflow-x: hidden;
    background-color: #ffffff;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
    background-color: #ffffff;
    min-height: 100%;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out, opacity 0.3s ease, width 1s ease, height 1s ease;
    visibility: hidden;
    opacity: 0;
}

.cursor-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(169, 183, 193, 0.7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2;
    transition: background 0.6s ease, width 0.6s ease, height 0.6s ease;
}

.custom-cursor.cursor-hover {
    width: 20px;
    height: 20px;
}

.custom-cursor.cursor-hover .cursor-circle {
    background: rgba(236, 5, 5, 0.702);
    width: 12px;
    height: 12px;
}

.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;
    color: #fff;
    transition: opacity 0.3s;
}

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

.navbar-content {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.navbar-link {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.02em;
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding-bottom: 4px;
    transition: opacity 0.3s;
}

.navbar-link:visited {
    color: #fff !important;
}

.navbar-link:hover {
    color: #fff !important;
    opacity: 0.7;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.navbar-link:hover::after {
    transform: translateX(0);
}

.logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: filter 0.3s ease;
    filter: invert(1);
}

.navbar-line {
    flex: 1;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.menu-button {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.02em;
    font-family: 'MainFont', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    cursor: pointer;
    padding: 0;
    position: relative;
    overflow: hidden;
    padding-bottom: 4px;
}

.menu-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.menu-button:hover::after {
    transform: translateX(0);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(214, 214, 214, 0.551);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateY(0);
}

.mobile-menu-link {
    color: #000;
    text-decoration: none;
    font-size: 48px;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding-bottom: 8px;
}

.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #000;
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.mobile-menu-link:hover::after {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    color: #000;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-content {
    text-align: center;
    color: #333;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.hero-section.video-active .hero-content {
    color: black;
}

.hero-row {
    font-size: 96px;
    font-weight: 800;
    line-height: 0.85;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    position: relative;
    letter-spacing: -0.02em;
}

.hero-row:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-row:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-row:nth-child(3) {
    animation-delay: 0.6s;
}

.hero-row:nth-child(4) {
    animation-delay: 0.8s;
}

.markets-word {
    position: relative;
    display: inline-block;
}

.video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3.67em;
    height: 1.23em;
    border-radius: 0.57em;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.hero-section.video-active .video-container {
    opacity: 1;
}

.hero-video-small {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-video-small.active {
    opacity: 1;
}

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

.hero-button {
    background: #333;
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-family: inherit;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.02em;
    border-radius: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-button:hover {
    background: #000000;
}

.hero-button .letter {
    display: inline-block;
    transition: none;
}

.articles-section {
    padding: 100px 40px 60px;
    min-height: 100vh;
}

.articles-list {
    width: 100%;
    max-width: none;
}

.article-item {
    display: flex;
    align-items: baseline;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.article-item::before {
    content: '';
    position: absolute;
    left: calc(-50vw + 50%);
    right: calc(-50vw + 50%);
    top: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: auto;
}

.article-item:hover .article-link {
    color: black;
}

.article-item:hover .arrow-icon {
    opacity: 1;
}

.line-number {
    font-family: 'MonospaceFont', 'Courier New', Courier, monospace;
    color: #999;
    font-size: 18px;
    width: 60px;
    flex-shrink: 0;
    user-select: none;
}

.article-link {
    color: #999;
    text-decoration: none;
    font-size: 48px;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.arrow-icon {
    width: 24px;
    height: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.images-section {
    position: relative;
}

.image-container {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.lazy-bg {
    background-color: #e6e6e6;
    transition: opacity 0.3s ease;
}

.lazy-bg:not(.bg-loaded) {
    opacity: 0.7;
}

.lazy-bg.bg-loaded {
    opacity: 1;
}

.quote {
    color: white;
    font-size: 48px;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.02em;
    text-align: center;
    padding: 40px;
    max-width: 800px;
    mix-blend-mode: difference;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.footer-section {
    background: #0f0f0f;
    padding: 80px 40px;
    min-height: 50vh;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-link:hover {
    color: rgb(185, 185, 185);
}

.footer-arrow {
    width: 16px;
    height: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: brightness(0) saturate(100%) invert(75%) sepia(16%) saturate(0%) hue-rotate(227deg) brightness(85%) contrast(85%);
}

.footer-link:hover .footer-arrow {
    opacity: 1;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    .hero-row {
        font-size: 64px;
        line-height: 0.8;
        margin-bottom: 4px;
        letter-spacing: -0.01em;
    }

    .hero-button {
        font-size: 16px;
        padding: 14px 28px;
        margin-top: 25px;
    }

    .articles-section,
    .footer-section {
        padding: 80px 20px 40px;
    }

    .article-link {
        font-size: 36px;
        line-height: 0.8;
        letter-spacing: -0.01em;
    }

    .line-number {
        font-size: 14px;
        width: 40px;
    }

    .quote {
        font-size: 32px;
        line-height: 0.8;
        letter-spacing: -0.01em;
        padding: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-column:first-child {
        display: none;
    }

    .footer-link {
        font-size: 14px;
        line-height: 0.8;
        letter-spacing: -0.01em;
    }

    .custom-cursor {
        display: none;
    }

    * {
        cursor: auto !important;
    }

    .navbar-links {
        display: none;
    }

    .menu-button {
        display: inline-block;
        font-size: 14px;
        line-height: 0.8;
        letter-spacing: -0.01em;
    }

    .mobile-menu-link {
        font-size: 36px;
        line-height: 0.8;
        letter-spacing: -0.01em;
    }

    .mobile-menu-close {
        top: 20px;
        right: 20px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-row {
        font-size: 48px;
        line-height: 0.75;
        margin-bottom: 2px;
    }

    .hero-button {
        margin-top: 20px;
    }

    .article-link {
        font-size: 28px;
        line-height: 0.75;
    }

    .quote {
        font-size: 24px;
        line-height: 0.75;
    }

    .footer-link {
        font-size: 12px;
        line-height: 0.75;
    }

    .menu-button {
        font-size: 12px;
        line-height: 0.75;
    }

    .mobile-menu-link {
        font-size: 28px;
        line-height: 0.75;
        gap: 30px;
    }

    .mobile-menu-content {
        gap: 30px;
    }
}