
:root {
    --primary-color: #8a4fff;
    --accent-color: #b088ff;
    --light-color: #f8f5ff;
    --dark-color: #333333;
    --text-color: #444444;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hanken Grotesk', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}


.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: white;
}


.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.logo {
    font-family: 'Gloria Hallelujah', cursive;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 2px 0;
    transition: var(--transition);
}


.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--accent-color);
    padding-top: 80px;
    position: relative;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 10px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.hero-title:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-title:nth-child(3) {
    animation-delay: 0.6s;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 20px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s 0.9s forwards;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

.hero-image img {
    width: 400px;
    height: auto;
    margin: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-placeholder {
    width: 250px;
    height: 250px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    margin: 10px;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.5);
}


.shape {
    position: absolute;
    z-index: 1;
    opacity: 0.7;
    transition: transform 0.5s ease, opacity 0.5s ease;
    will-change: transform, opacity;
}

.shape img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}


.shape-1, .shape-5, .shape-9, .shape-13 {
    animation: float 6s ease-in-out infinite, spin 15s linear infinite;
    z-index: 3;
}

.shape-1 {
    top: 10%;
    left: 5%;
    width: 80px;
}

.shape-5 {
    top: 40%;
    left: 30%;
    width: 50px;
    animation-delay: 0.5s;
}

.shape-9 {
    top: 20%;
    left: 5%;
    width: 60px;
    animation-delay: 1s;
}

.shape-13 {
    top: 20%;
    left: 10%;
    width: 50px;
    animation-delay: 1.5s;
}


.shape-2, .shape-6, .shape-10, .shape-14 {
    animation: float 8s ease-in-out infinite;
    z-index: 2;
}

.shape-2 {
    top: 20%;
    right: 10%;
    width: 100px;
}

.shape-6 {
    top: 60%;
    right: 25%;
    width: 70px;
    animation-delay: 0.7s;
}

.shape-10 {
    bottom: 15%;
    right: 10%;
    width: 80px;
    animation-delay: 1.2s;
}

.shape-14 {
    bottom: 30%;
    right: 15%;
    width: 60px;
    animation-delay: 1.8s;
}


.shape-3, .shape-4, .shape-7, .shape-8, .shape-11, .shape-12, .shape-15, .shape-16 {
    animation: float 10s ease-in-out infinite;
    z-index: 1;
}

.shape-3 {
    bottom: 15%;
    left: 15%;
    width: 40px;
    animation: float 7s ease-in-out infinite, spin 20s linear infinite reverse;
}

.shape-4 {
    bottom: 30%;
    right: 5%;
    width: 60px;
    animation-delay: 0.3s;
}

.shape-7 {
    bottom: 10%;
    right: 30%;
    width: 45px;
    animation: float 8s ease-in-out infinite, spin 20s linear infinite;
    animation-delay: 0.9s;
}

.shape-8 {
    top: 70%;
    left: 10%;
    width: 55px;
    animation-delay: 1.1s;
}

.shape-11 {
    top: 30%;
    right: 5%;
    width: 40px;
    animation: float 9s ease-in-out infinite, spin 25s linear infinite reverse;
    animation-delay: 1.4s;
}

.shape-12 {
    bottom: 25%;
    left: 15%;
    width: 70px;
    animation-delay: 1.6s;
}

.shape-15 {
    top: 25%;
    right: 10%;
    width: 70px;
    animation: float 9s ease-in-out infinite, spin 25s linear infinite;
    animation-delay: 2s;
}

.shape-16 {
    bottom: 20%;
    left: 20%;
    width: 55px;
    animation-delay: 2.2s;
}


.about {
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.about-image img {
    min-width: 300px;
}

.story {
    background-color: white;
}

.story-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.story-text {
    flex: 1;
    min-width: 300px;
}

.story-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.story-image img {
    min-width: 300px;
}

.development {
    background-color: var(--light-color);
    perspective: 1000px;
}

.roadmap {
    max-width: 800px;
    margin: 0 auto 50px;
    position: relative;
    transform-style: preserve-3d;
}

.roadmap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(138, 79, 255, 0.3);
    transform: translateZ(-5px);
}

.roadmap-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    transition: transform 0.3s ease;
}

.roadmap-item:hover {
    transform: translateX(5px);
}

.roadmap-point {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid var(--primary-color);
    margin-right: 25px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(138, 79, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-point::before {
    content: '';
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--accent-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.roadmap-point:hover::before {
    opacity: 0.5;
    transform: scale(1.2);
}

.roadmap-point.active {
    background-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(138, 79, 255, 0.4);
}

.roadmap-point.active::before {
    background-color: white;
    opacity: 0.8;
}

.roadmap-content {
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    flex: 1;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.roadmap-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.roadmap-content:hover::before,
.roadmap-content.active::before {
    opacity: 1;
}

.roadmap-content.active {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(138, 79, 255, 0.15);
}

.roadmap-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.roadmap-content:hover h3,
.roadmap-content.active h3 {
    transform: translateX(5px);
}

.github-link {
    text-align: center;
    margin-top: 30px;
}

.github-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: #24292e;
    color: white;
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition);
}
.github-button::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

.github-button:hover {
    background-color: #3a3a3a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: white;
}

.support {
    background-color: white;
    text-align: center;
}

.support-content {
    max-width: 700px;
    margin: 0 auto;
}

.coffee-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: #ffdd00;
    color: #000000;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
}

.coffee-button::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23000000"><path d="M20 3H4v10c0 2.21 1.79 4 4 4h6c2.21 0 4-1.79 4-4v-3h2c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2zm0 5h-2V5h2v3zM4 19h16v2H4z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

.coffee-button:hover {
    background-color: #ffcc00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Gloria Hallelujah', cursive;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
}

.footer-links li {
    margin-right: 20px;
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-contact a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@keyframes fadeInUp {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    25% {
        transform: translate3d(5px, -15px, 0);
    }
    50% {
        transform: translate3d(0, -25px, 0);
    }
    75% {
        transform: translate3d(-5px, -15px, 0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes wobble {
    0%, 100% {
        transform: translateX(0%);
    }
    15% {
        transform: translateX(-5%) rotate(-5deg);
    }
    30% {
        transform: translateX(3%) rotate(3deg);
    }
    45% {
        transform: translateX(-3%) rotate(-3deg);
    }
    60% {
        transform: translateX(2%) rotate(2deg);
    }
    75% {
        transform: translateX(-1%) rotate(-1deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}


.parallax-wrapper {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    perspective: 10px;
}

.parallax-group {
    position: relative;
    height: 100vh;
    transform-style: preserve-3d;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    will-change: transform;
}

img {
    pointer-events: none;
}

.parallax-layer-back {
    transform: translateZ(-10px) scale(2);
}

.parallax-layer-mid {
    transform: translateZ(-5px) scale(1.5);
}

.parallax-layer-base {
    transform: translateZ(0);
}


section {
    position: relative;
    z-index: 1;
    overflow: visible;
    transform-style: preserve-3d;
    transition: background-position 0.5s ease;
}


.section-title, .about-content, .story-content, .roadmap, .support-content {
    position: relative;
    z-index: 5;
    transition: transform 0.3s ease-out;
}


.btn:hover, .github-button:hover, .coffee-button:hover {
    animation: pulse 1s infinite;
}


.logo:hover {
    animation: wobble 1s ease;
}


.roadmap-point:hover {
    animation: bounce 1s ease;
}


@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 10px 20px;
        border-radius: 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 80px);
        background: var(--glass-bg);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: var(--transition);
        border-radius: 0 20px 20px 0;
        border: 1px solid var(--glass-border);
        box-shadow: 0 8px 32px var(--glass-shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-content, .about-content, .story-content {
        flex-direction: column;
    }
    
    .hero-text, .about-text, .story-text,
    .hero-image, .about-image, .story-image {
        width: 100%;
        text-align: center;
    }
    
    .hero-image img {
        width: 350px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links ul {
        justify-content: center;
        margin: 20px 0;
    }
    
    .roadmap::before {
        left: 15px;
    }
    
    .roadmap-point {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-image img {
        width: 280px;
    }
    
    .image-placeholder {
        width: 200px;
        height: 200px;
    }
}