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

html,
body {
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at center, #0a0a0a 0%, #000000 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="white" fill-opacity="0.03"/></svg>');
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
    animation: starDrift 40s linear infinite;
}

section {
    padding: 80px 20px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

h1,
h2,
h3 {
    margin-bottom: 20px;
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(90deg, #00D1FF, #9B5DE5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: popInGlow 1.8s ease forwards;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
}

p {
    opacity: 0.85;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    margin: 10px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 140px;
    text-align: center;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(90deg, #00D1FF, #9B5DE5);
    color: #fff;
    border: none;
    box-shadow: 0 0 20px #00d1ff88;
}

.btn-primary:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px #00d1ffcc;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #00D1FF;
    color: #00D1FF;
    backdrop-filter: blur(12px);
    background-color: rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover {
    background: #00D1FF;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 0 15px #00D1FF88;
}

/* Hero */
.hero {
    height: 100vh;
    background: radial-gradient(circle at center, #050505, #000000);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #00D1FF22 0%, transparent 70%);
    border-radius: 50%;
    animation: floatDecor 20s linear infinite;
    z-index: 0;
}

.hero::before {
    top: -200px;
    left: -200px;
}

.hero::after {
    bottom: -200px;
    right: -200px;
    animation-delay: 10s;
}

.hero-content {
    z-index: 2;
    animation: floatUp 1s ease-out forwards;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Cards */
.step,
.benefit-card,
.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step::after,
.benefit-card::after,
.faq-item::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #9B5DE533 0%, transparent 70%);
    top: -50px;
    right: -50px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: pulseLight 8s infinite alternate;
}

.step:hover,
.benefit-card:hover,
.faq-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px #00D1FF66;
}

.step img,
.benefit-card img {
    width: 80px;
    margin-bottom: 15px;
}

.steps,
.benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.screenshots .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    margin-top: 40px;
}

.gallery img {
    max-width: 300px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

.wallet-connect {
    text-align: center;
}

/* ==== FOOTER (ОНОВЛЕНИЙ) ==== */
footer {
    background: #050505;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #111;
    position: relative;
    z-index: 2;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-logo {
    width: 90px;
    opacity: 0.9;
}

footer nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    flex: 1;
}

footer nav a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer nav a:hover {
    color: #00D1FF;
    transform: translateY(-2px);
}

.socials {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.socials img {
    width: 30px;
    cursor: pointer;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.socials img:hover {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 6px #00D1FF);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .socials {
        justify-content: center;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

@keyframes popInGlow {
    0% {
        transform: scale(0.8);
        opacity: 0;
        text-shadow: none;
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
        text-shadow: 0 0 20px #00d1ff, 0 0 40px #9b5de5;
    }

    100% {
        transform: scale(1);
        text-shadow: 0 0 10px #00d1ff88, 0 0 20px #9b5de588;
    }
}

@keyframes floatDecor {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(20px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

@keyframes pulseLight {
    from {
        opacity: 0.2;
        transform: scale(1);
    }

    to {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes starDrift {
    0% {
        background-position: 0 0;
    }

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

/* Responsive */
@media (max-width: 768px) {

    .steps,
    .benefits-list {
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    p {
        font-size: 1rem;
    }
}