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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.loading {
    overflow: hidden;
}

body.loading section {
    opacity: 0;
    pointer-events: none;
}

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

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

:root {
    --color-bg1: rgb(28, 18, 62);
    --color-bg2: rgb(10, 5, 20);
    --color1: 58, 93, 255;
    --color2: 221, 74, 255;
    --color3: 100, 220, 255;
    --color4: 200, 50, 50;
    --color5: 180, 180, 50;
    --circle-size: 80%; 
    --blending: hard-light;
}

@keyframes moveInCircle {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

@keyframes moveVertical {
    0% { transform: translateY(-50%); }
    50% { transform: translateY(50%); }
    100% { transform: translateY(-50%); }
}

@keyframes moveHorizontal {
    0% { transform: translateX(-50%) translateY(-10%); }
    50% { transform: translateX(50%) translateY(10%); }
    100% { transform: translateX(-50%) translateY(-10%); }
}

.gradient-bg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    overflow: hidden;
    background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2));
    top: 0;
    left: 0;
    z-index: -1;
}

.gradient-bg svg {
    display: none;
}

.gradients-container {
    filter: url(#goo) blur(2.1vw);
    width: 100%;
    height: 100%;
}

.g1, .g2, .g3, .g4, .g5, .interactive {
    position: absolute;
    mix-blend-mode: var(--blending);
    border-radius: 50%;
}

.g1 {
    background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: center center;
    animation: moveVertical 30s ease infinite;
}

.g2 {
    background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: calc(50% - 20.83vw);
    animation: moveInCircle 20s reverse infinite;
}

.g3 {
    background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2 + 18.5vh);
    left: calc(50% - var(--circle-size) / 2 - 26.04vw);
    transform-origin: calc(50% + 20.83vw);
    animation: moveInCircle 40s linear infinite;
}

.g4 {
    background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
    width: var(--circle-size);
    height: var(--circle-size);
    top: calc(50% - var(--circle-size) / 2);
    left: calc(50% - var(--circle-size) / 2);
    transform-origin: calc(50% - 10.42vw);
    animation: moveHorizontal 40s ease infinite;
    opacity: 0.7;
}

.g5 {
    background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat;
    width: calc(var(--circle-size) * 2);
    height: calc(var(--circle-size) * 2);
    top: calc(50% - var(--circle-size));
    left: calc(50% - var(--circle-size));
    transform-origin: calc(50% - 41.67vw) calc(50% + 18.5vh);
    animation: moveInCircle 20s ease infinite;
}

.interactive {
    background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%) no-repeat;
    width: 100%;
    height: 100%;
    top: -50%;
    left: -50%;
    opacity: 0.7;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 700;
    margin-bottom: 60px;
}
.intro .typewriter-container {
    display: flex;
    align-items: center;
}

.intro .typewriter-text {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 600;
    
}

.intro .cursor {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 300;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.about-content p {
    font-size: 24px;
    margin-bottom: 20px;
    max-width: 800px;
}

.coming-soon p {
    font-size: 24px;
    margin-bottom: 20px;
    max-width: 800px;
}

.my-story {
    padding: 100px 40px;
    position: relative;
    z-index: 1;
}

.story-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.story-content p {
    font-size: 18px;
    margin-bottom: 40px;
}

.games {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.game {
    font-size: 24px;
    font-weight: 600;
    padding: 20px;
    border: 2px solid #ffffff;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game:hover {
    transform: scale(1.05);
}

.game-link {
    text-decoration: none;
    color: inherit;
}

.game-images {
    filter: url(#goo) blur(0.5vw);
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    pointer-events: none;
    z-index: -1;
    
}

.game-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.game img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.skills-content p {
    font-size: 24px;
    margin-bottom: 20px;
    max-width: 800px;
}

.skills-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.skills-logos img {
    height: 60px;
}

.contact-links a {
    font-size: 24px;
    color: #ffffff;
    text-decoration: none;
    margin: 0 20px;
    transition: color 0.3s ease;
}

.contact-links a:hover {
    color: #888888;
}

.hero-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    text-align: center;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.hero-logo {
    width: 140px;
    height: auto;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 600;
}

.hero-links a {
    display: block;
    margin: 6px 0;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
}

.hero-links a .arrow-icon {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    transition: opacity 0.2s ease;
}

.hero-links a:hover {
    opacity: 0.7;
}

.hero-links a:hover .arrow-icon {
    opacity: 0.7;
}

