* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

html {
    overflow-x: hidden;
    background-color: #151619;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

@font-face {
    font-family: 'Arista Pro';
    src: url('../fonts/Arista-Pro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Arista Pro';
    src: url('../fonts/Arista-Pro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
    background: radial-gradient(circle at top right, #1a1c23, #0a0b0d 70%);
    color: #fff;
    padding-top: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

header {
    background-color: transparent;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    box-shadow: none;
    position: fixed;
    top: 0;
    z-index: 1000;
    height: auto;
    width: 100%;
    pointer-events: none;
    transition: background-color 0.2s ease;
}

header.scrolled {
    background-color: transparent;
    pointer-events: auto;
}

.logo-stream-overlay {
    position: fixed;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background-image: url('../images/logo.png');
    background-repeat: repeat;
    background-size: 25px auto;
    opacity: 0.008;
    z-index: 0;
    pointer-events: none;
    animation: streamDrift 40s linear infinite;
    transform: rotate(-15deg);
}

.logo-stream-section {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background-repeat: repeat;
    background-size: 25px auto;
    opacity: 0.015;
    z-index: 0;
    pointer-events: none;
    animation: streamDrift 40s linear infinite;
    transform: rotate(-15deg);
}

@keyframes streamDrift {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 300px -300px;
    }
}

main {
    position: relative;
    z-index: 1;
    flex: 1;
}

.section-indicator-left {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
    opacity: 0;
    animation: fadeInLeft 1s forwards 1.4s;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.scroll-down-right {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    opacity: 0;
    animation: fadeInRight 1s forwards 1.4s;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.scroll-track-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.indicator-num {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0.4) var(--red-top, 0%),
            #e53935 var(--red-top, 0%),
            #e53935 var(--red-bottom, 0%),
            rgba(255, 255, 255, 0.4) var(--red-bottom, 0%),
            rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.indicator-name {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    writing-mode: vertical-rl;
    background: linear-gradient(to bottom,
            #fff 0%,
            #fff var(--red-top, 0%),
            #e53935 var(--red-top, 0%),
            #e53935 var(--red-bottom, 0%),
            #fff var(--red-bottom, 0%),
            #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base styles for scroll text if any */
.scroll-text {
    writing-mode: vertical-rl;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.scroll-line-track {
    width: 2px;
    height: 150px;
    position: relative;
    border-radius: 2px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.07) 0%,
            rgba(255, 255, 255, 0.07) var(--red-top, 0%),
            rgba(229, 57, 53, 0.4) var(--red-top, 0%),
            rgba(229, 57, 53, 0.4) var(--red-bottom, 0%),
            rgba(255, 255, 255, 0.07) var(--red-bottom, 0%),
            rgba(255, 255, 255, 0.07) 100%);
}

.scroll-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    border-radius: 2px;
    background: linear-gradient(to bottom,
            #fff 0%,
            #fff var(--red-top, 0%),
            #e53935 var(--red-top, 0%),
            #e53935 var(--red-bottom, 0%),
            #fff var(--red-bottom, 0%),
            #fff 100%);
    box-shadow: 0 0 12px rgba(229, 57, 53, 0.2);
}

nav {
    pointer-events: auto;
    background-color: #191a1e;
    padding: 0 30px 10px 30px;
    border-radius: 0 0 20px 20px;
    box-shadow: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 350px;
    min-width: auto;
    transition: background-color 0.4s ease;
}

nav.nav-success-bg {
    background: linear-gradient(135deg, #0d2113, #15381e, #0d2113);
    background-size: 200% 200%;
    animation: successPulseGradient 3s ease infinite;
    box-shadow: 0 0 25px rgba(74, 222, 128, 0.15);
}

@keyframes successPulseGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.success-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 45px;
    color: #4ade80;
    /* Brighter neon green for text */
    font-size: 1.1rem;
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0;
    background-color: transparent;
    padding: 0;
    margin: 0;
    box-shadow: none;
    position: relative;
}

.nav-item {
    text-decoration: none;
    color: #dcdddd;
    font-size: 1.2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.1s ease;
    min-width: 38px;
    width: auto;
    height: 45px;
    border-radius: 0 0 15px 15px;
}

.nav-item i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: none;
    position: relative;
    z-index: 5;
}

.menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 45px;
    border-radius: 0 0 15px 15px;
    cursor: pointer;
    color: #dcdddd;
    transition: opacity 0.1s ease;
}

.menu-toggle i {
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.menu-toggle:hover {
    color: #fff;
    opacity: 1;
}

.tooltip {
    position: absolute;
    top: 54px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #191a1e;
    padding: 8px 16px;
    border-radius: 0 0 12px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    text-transform: none;
    letter-spacing: 0.5px;
    z-index: -1;
}

.tooltip::after {
    display: none;
}

.nav-item:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.nav-links li:first-child .tooltip {
    left: -29.9px;
    top: 37px;
    padding-top: 18px;
    border-radius: 0 0 12px 20px;
    transform: translateY(-10px);
}

.nav-links li:first-child:hover .tooltip {
    transform: translateY(0);
}

.nav-links.games-active li:nth-child(2) .tooltip {
    left: -29.9px;
    top: 37px;
    padding-top: 18px;
    border-radius: 0 0 12px 20px;
    transform: translateY(-10px);
}

.nav-links.games-active li:nth-child(2):hover .tooltip {
    transform: translateY(0);
}

.nav-links li:nth-last-child(2) .tooltip {
    left: auto;
    right: -10px;
    top: 45px;
    padding-top: 16px;
    border-radius: 0 0 12px 12px;
    transform: translateY(-10px);
}

.nav-links li:nth-last-child(2):hover .tooltip {
    transform: translateY(0);
}

.nav-links li:last-of-type .tooltip {
    left: auto;
    right: -29.9px;
    top: 37px;
    padding-top: 18px;
    border-radius: 0 0 20px 12px;
    transform: translateY(-10px);
}

.nav-links li:last-of-type:hover .tooltip {
    transform: translateY(0);
}

.nav-item.disabled {
    cursor: not-allowed !important;
    color: #dcdddd !important;
}

.nav-item.disabled i {
    opacity: 0.4;
    filter: grayscale(1);
    color: #dcdddd !important;
    pointer-events: none;
}

.nav-item.disabled:hover {
    color: #dcdddd !important;
}

.nav-item.disabled:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.nav-item.disabled .tooltip {
    color: rgba(255, 255, 255, 0.5);
    top: 37px;
    padding-top: 18px;
    border-radius: 0 0 12px 12px;
}

.nav-item.disabled .tooltip {
    color: rgba(255, 255, 255, 0.5);
}

.nav-item:hover {
    color: #fff;
    background-color: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    z-index: 20;
}

.nav-item:hover i {
    text-shadow: none;
    transform: none;
}

.nav-item.active {
    color: #fff;
    z-index: 10;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.7);
    border-radius: 0 0 15px 15px;
    z-index: 2;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
    background-color: #141518;
}

.nav-item.active.bg-exit::before {
    transform: translateY(-100%);
    opacity: 0;
}

.nav-item.active.bg-enter::before {
    transform: translateY(-100%);
    opacity: 0;
    transition: none !important;
}

.nstore {
    font-size: 1.2rem;
    color: #dcdddd;
    background: transparent;
    border: none;
    width: 38px;
    height: 38px;
    box-shadow: none;
    margin: 0;
    border-radius: 8px;
}

.nstore i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nstore:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
    color: #dcdddd !important;
    opacity: 0.4;
}

.nav-item .fa-house {
    font-size: 1.1rem;
}

.nav-item .fa-dice-d6 {
    font-size: 1.1rem;
}

.nav-item .fa-tag {
    font-size: 1.1rem;
}

.nav-item .fa-seedling {
    font-size: 1.1rem;
}

.menu-toggle .fa-equals {
    font-size: 1.2rem;
}

.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

.exit-up {
    animation: exitUp 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes exitUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-80px);
        opacity: 0;
    }
}

@keyframes enterDown {
    0% {
        transform: translateY(-80px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.enter-down {
    animation: enterDown 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.sidebar-info,
.back-arrow-item {
    position: absolute;
    top: 0;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: auto;
}

.sidebar-info {
    width: auto;
    min-width: 200px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    left: 20px;
    cursor: pointer;
}

.sidebar-logo-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0.9;
    position: relative;
    z-index: 5;
}

.game-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 5;
}

.game-title .year {
    font-weight: 700;
    opacity: 0.9;
}

.sidebar-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.7);
    border-radius: 0 0 15px 15px;
    z-index: 2;
    background-color: #141518;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.sidebar-info:hover::before,
.sidebar-info.active::before {
    transform: translateY(0);
    opacity: 1;
}

.sidebar-info.active.bg-exit::before {
    transform: translateY(-100%);
    opacity: 0;
}

.sidebar-info.active {
    z-index: 10;
}

.back-arrow-item {
    width: 38px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dcdddd;
    cursor: pointer;
}

.back-arrow-item:hover {
    color: #fff;
}

.back-arrow-item i {
    font-size: 1rem;
}

.site-footer {
    background-color: #000;
    padding: 20px 0;
    position: relative;
    width: 100%;
    margin-top: 0;
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

body.game-page-active > .site-footer {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
}

body.game-page-active > .site-footer.reveal {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.footer-top,
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-lang {
    position: relative;
    cursor: pointer;
}

.lang-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.85rem;
}

.lang-options {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 10px 0;
    margin-bottom: 0;
    display: none;
    min-width: 120px;
    z-index: 3000;
}

.footer-lang::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    transform: translateY(100%);
    background: transparent;
}

.footer-lang:hover .lang-options {
    display: block;
    animation: fadeIn 0.2s ease;
}

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

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

.lang-options a {
    display: block;
    padding: 8px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.lang-options a:hover {
    background: #222;
}

.footer-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.85rem;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
    margin: 0 5px;
}

.footer-contact {
    color: #888;
}

.footer-contact a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-project-text {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

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

.footer-socials a {
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-socials a:hover {
    opacity: 0.7;
}

.home-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.home-section.section-right {
    align-items: flex-end;
    text-align: right;
}

.home-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
    animation: glowPulse 10s ease-in-out infinite alternate;
}

.home-section:not(.section-right)::before {
    right: -300px;
    top: 10%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
}

.home-section.section-right::before {
    left: -300px;
    bottom: 10%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
}

#projectsSection {
    background-image: linear-gradient(90deg, rgba(21, 22, 25, 0.75) 0%, rgba(21, 22, 25, 0.55) 40%, rgba(50, 12, 12, 0.65) 100%), url('../Main Capsule (4).png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    border-top: 1px solid rgba(139, 28, 28, 0.2);
    border-bottom: 1px solid rgba(139, 28, 28, 0.2);
}

#projectsSection .logo-stream-section {
    display: none !important;
}

#projectsSection::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(21, 22, 25, 0.8) 0%, transparent 10%, transparent 90%, rgba(21, 22, 25, 0.8) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Blood Drip Animation Settings */
.blood-drip-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.blood-drip {
    position: absolute;
    top: -50px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(139, 28, 28, 0.7) 50%, rgba(155, 28, 28, 0.9) 100%);
    box-shadow: 0 0 6px rgba(139, 28, 28, 0.3);
    border-radius: 0 0 50% 50%;
    animation: bloodDrip 6s infinite ease-in;
    opacity: 0.7;
}

.blood-drip::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -1px;
    width: 4px;
    height: 4px;
    background: rgba(155, 28, 28, 0.9);
    border-radius: 50%;
}

.drip-1 {
    left: 15%;
    height: 200px;
    animation-duration: 7s;
    animation-delay: 1s;
}

.drip-2 {
    left: 35%;
    height: 350px;
    animation-duration: 9s;
    animation-delay: 3s;
    width: 3px;
}

.drip-3 {
    left: 60%;
    height: 180px;
    animation-duration: 6s;
    animation-delay: 0s;
}

.drip-4 {
    left: 80%;
    height: 250px;
    animation-duration: 8s;
    animation-delay: 5s;
    width: 1px;
}

.drip-5 {
    left: 90%;
    height: 400px;
    animation-duration: 11s;
    animation-delay: 2s;
    width: 3px;
}

@keyframes bloodDrip {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(120vh);
        opacity: 0;
    }
}

/* Dark Beam / Fog Effect */
#projectsSection .dark-beam-container {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0 !important;
    overflow: hidden;
}

#projectsSection .dark-beam {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    /* Create a softer, localized foggy darkness explicitly bounded to the right side */
    background: radial-gradient(ellipse 45% 70% at 80% 50%, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.65) 40%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0) 95%);
    animation: fogDrift 15s ease-in-out infinite alternate;
    filter: blur(25px);
    /* Smooths out edges to look like fog */
}

@keyframes fogDrift {
    0% {
        transform: translate(2%, 2%) scale(1);
        opacity: 0.95;
    }

    33% {
        transform: translate(-1%, -1%) scale(1.05);
        opacity: 1;
    }

    66% {
        transform: translate(1%, -2%) scale(0.95);
        opacity: 0.9;
    }

    100% {
        transform: translate(-2%, 3%) scale(1.02);
        opacity: 0.95;
    }
}

#projectsSection::before {
    background: radial-gradient(circle, rgba(139, 28, 28, 0.12) 0%, transparent 70%);
}

#projectsSection>*:not(.logo-stream-section) {
    position: relative;
    z-index: 1;
}

#projectsSection .section-title,
#projectsSection .section-desc {
    text-align: right;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: 0;
}

#projectsSection .section-desc {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}


#socialSection::before {
    background: radial-gradient(circle, rgba(162, 0, 255, 0.05) 0%, transparent 70%);
}

@keyframes glowPulse {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translate(30px, -20px) scale(1.1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-20px, 30px) scale(0.9);
        opacity: 0.3;
    }
}

.home-hero {
    padding-top: 50px;
    align-items: flex-start;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

.home-section>*:not(.logo-stream-section) {
    margin-bottom: 2rem;
}

.section-divider {
    display: none;
}

.motto-title {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    max-width: 700px;
    background: linear-gradient(120deg, #ffffff 0%, #ababab 25%, #ffffff 50%, #ababab 75%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.3s, gradientWave 8s ease-in-out infinite;
}

.motto-subtext {
    font-size: 1.1rem;
    color: #666;
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.6s;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(120deg, #ffffff 0%, #ababab 25%, #ffffff 50%, #ababab 75%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
}

.section-desc {
    font-size: 1.1rem;
    color: #888;
    max-width: 500px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
}

.section-right .section-desc {
    margin-left: auto;
}

.section-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.section-btn:hover {
    background: #fff;
    border-color: #fff;
    color: #000;
    transform: translateX(10px);
}

.section-right .section-btn:hover {
    transform: translateX(-10px);
}

.section-btn i {
    transition: transform 0.3s ease;
}

.social-links-minimal {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.section-right .social-links-minimal {
    justify-content: flex-end;
}

.social-links-minimal a {
    color: #fff;
    font-size: 1.1rem;
    transition: opacity 0.2s;
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
}

.social-links-minimal a:hover {
    opacity: 0.7;
    transform: none;
}

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

@keyframes gradientWave {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes shadowRoam {
    0% {
        background-position: 90% 90%;
    }
    15% {
        background-position: 20% 10%;
    }
    35% {
        background-position: 50% 100%;
    }
    55% {
        background-position: 0% 40%;
    }
    75% {
        background-position: 80% 0%;
    }
    100% {
        background-position: 90% 90%;
    }
}

main {
    position: relative;
    z-index: 1;
    overflow: visible;
}

.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 50;
    clip-path: circle(0% at 100% 0%);
    transition: clip-path 0.75s cubic-bezier(0.645, 0.045, 0.355, 1);
    pointer-events: none;
    overflow: hidden;
    scrollbar-width: none;
}

.page-transition-overlay::-webkit-scrollbar {
    display: none;
}

.page-transition-overlay.active {
    clip-path: circle(150% at 100% 0%);
    pointer-events: auto;
    overflow-y: auto;
}

.game-scroll-container {
    width: 100%;
}

.game-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.game-section-hero {
    background-image: url('../../assets/Main Capsule (4).png');
}

.game-section-info {
    background-image: url('../../assets/Main Capsule (3).png');
    padding: 60px 10% 80px;
    min-height: auto;
    align-items: center;
    justify-content: center;
}

.info-content-wrapper {
    max-width: 1000px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.page-transition-overlay.active .info-content-wrapper {
    opacity: 1;
    transform: translateY(0);
}

body.game-page-active {
    overflow: hidden;
}

.game-tagline {
    font-family: 'Arista Pro', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 300;
    max-width: 800px;
}

.game-description {
    max-width: 800px;
    font-size: 1rem;
    line-height: 1.8;
    color: #dcdddd;
    opacity: 0.8;
    margin-bottom: 3rem;
}

.game-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 3rem;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 1px;
    background: #2e0000;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 1px;
    background: #2e0000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    padding: 16px 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.btn-primary::before {
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(185, 20, 20, 0.25),
            rgba(235, 50, 50, 0.7),
            rgba(185, 20, 20, 0.25),
            transparent);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.btn-primary:hover {
    background: #ffffff;
    color: #000000;
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-sizing: border-box;
    transform: scale(1.05);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.btn-primary:hover::after {
    transform: scale(1);
    opacity: 1;
}

.btn-primary i {
    font-size: 1.1rem;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
}

.btn-primary:hover i {
    color: #000000;
    transform: scale(1.1) rotate(-5deg);
}

.btn-secondary {
    background: rgba(220, 221, 221, 0.05);
    color: #dcdddd;
    border: 1px solid rgba(220, 221, 221, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(220, 221, 221, 0.1);
    border-color: rgba(220, 221, 221, 0.3);
    color: #fff;
    transform: translateY(-5px);
}

.game-footer-info {
    display: flex;
    gap: 60px;
    padding-top: 2rem;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    justify-content: center;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.info-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    font-weight: 600;
}

.info-item .value {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}



@media (max-width: 768px) {
    .game-main-title {
        font-size: 3rem;
    }

    .game-footer-info {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .info-item {
        text-align: center;
    }
}

.about-overlay {
    background-color: #1d2137 !important;
}

.about-overlay.active {
    overflow-y: auto;
}

.about-scroll-wrapper {
    width: 100%;
}

.about-hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-text-container {
    position: relative;
    z-index: 2;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-small-text {
    font-family: 'Arista Pro', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 2px;
    font-weight: 300;
    margin-bottom: -15px;
    opacity: 0.9;
}

.hero-large-text {
    font-family: 'Times New Roman', Times, serif;
    font-size: 7rem;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
}

.about-story-section,
.about-vision-section {
    position: relative;
    overflow: hidden;
    min-height: 45vh;
    padding: 110px 10%;
    display: flex;
}

.about-story-section {
    background: linear-gradient(180deg, #131417 0%, #0f1013 100%);
    justify-content: flex-start;
}

.about-vision-section {
    background: linear-gradient(180deg, #0f1013 0%, #111216 100%);
    justify-content: flex-end;
}

.about-panel {
    width: min(1100px, 100%);
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    backdrop-filter: none;
}

.about-panel.left-aligned {
    text-align: left;
}

.about-panel.right-aligned {
    text-align: right;
}

.story-kicker {
    display: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 14px;
}

.story-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.9rem;
    color: #fff;
    font-weight: 500;
    letter-spacing: 1.5px;
    margin-bottom: 32px;
    text-transform: uppercase;
}

.story-content {
    max-width: 100%;
}

.story-content p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.08rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.4rem;
    font-weight: 400;
}

.story-list {
    list-style: none;
    margin: 1.8rem 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.story-list li {
    position: relative;
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.86);
}

.left-aligned .story-list li {
    padding-left: 22px;
}

.left-aligned .story-list li::before {
    content: '';
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d22b2b;
    box-shadow: 0 0 0 3px rgba(210, 43, 43, 0.2);
}

.right-aligned .story-list li {
    padding-right: 22px;
}

.right-aligned .story-list li::after {
    content: '';
    position: absolute;
    top: 0.65em;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d22b2b;
    box-shadow: 0 0 0 3px rgba(210, 43, 43, 0.2);
}

.fancy-underline {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    color: #fff;
    font-weight: 700;
}

.fancy-underline::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    bottom: -6px;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='10' viewBox='0 0 100 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4 Q 50 10 98 4' stroke='%23d22b2b' stroke-width='3' fill='none' stroke-linecap='round' /%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transform: scaleX(0);
    transform-origin: left;
    filter: drop-shadow(0 2px 2px rgba(210, 43, 43, 0.3));
    animation: drawArc 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.25s;
}

@keyframes drawArc {
    to {
        transform: scaleX(1);
    }
}


#socialSection {
    min-height: auto;
    padding-top: 15vh;
    padding-bottom: 15vh;
}

@media (max-width: 768px) {

    .section-indicator-left,
    .scroll-down-right {
        display: none !important;
    }

    nav {
        width: 90%;
        max-width: 320px;
        padding: 0 15px 5px 15px;
    }

    .nav-item {
        font-size: 1rem;
        min-width: 34px;
        height: 40px;
    }

    .tooltip {
        display: none !important;
    }

    .home-section {
        padding: 80px 5%;
        align-items: center !important;
        text-align: center !important;
        justify-content: center;
    }

    .motto-title {
        font-size: 3rem;
        max-width: 100%;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-desc {
        font-size: 1rem;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .social-links-minimal {
        justify-content: center !important;
        gap: 20px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-location {
        flex-direction: column;
        gap: 10px;
    }

    .footer-separator {
        display: none;
    }

    .game-section-info {
        padding: 40px 5%;
    }

    .game-tagline {
        font-size: 1.4rem;
    }

    .game-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .about-hero-section {
        height: 50vh;
        padding-left: 0;
        justify-content: center;
        text-align: center;
    }

    .hero-text-container {
        align-items: center;
    }

    .hero-small-text {
        font-size: 1.5rem;
    }

    .hero-large-text {
        font-size: 3.5rem;
    }

    .about-story-section,
    .about-vision-section {
        padding: 60px 5%;
        justify-content: center;
    }

    .about-panel {
        padding: 0;
    }

    .about-panel.right-aligned {
        text-align: left;
    }

    .story-kicker {
        font-size: 0.72rem;
        letter-spacing: 1.6px;
    }

    .story-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .story-content p {
        font-size: 1rem;
        text-align: left;
    }

    .right-aligned .story-list li {
        padding-right: 0;
        padding-left: 22px;
    }

    .right-aligned .story-list li::after {
        display: none;
    }

    .right-aligned .story-list li::before {
        content: '';
        position: absolute;
        top: 0.65em;
        left: 0;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #d22b2b;
        box-shadow: 0 0 0 3px rgba(210, 43, 43, 0.2);
    }
}
