:root {
    --bg: #0a0908;
    --card: rgba(20, 16, 14, 0.45);
    --accent: #dcaa50;
    --muted: #a09588;
}

body {
    margin: 0;
    font-family: 'Press Start 2P', monospace;
    background: var(--bg);
    color: #fff;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 1000px;
    width: 100%;
}

header {
    text-align: center;
    margin-top: 100px;
}

.title {
    font-size: 48px;
    letter-spacing: 6px;
    color: var(--accent);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6), 0 8px 30px rgba(220, 140, 40, 0.06);
}

.info {
    max-width: 820px;
    margin: 18px auto 28px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    letter-spacing: 1px;
    padding: 10px;
}

main {
    margin-top: 50px;
}

.btn-link {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 26px;
    height: 40px;
    min-width: 220px;
    width: auto;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    background:
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0 2px, rgba(255, 255, 255, 0.01) 2px 4px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-family: "Press Start 2P", "MedievalSharp", monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.5), 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: transform .14s ease, box-shadow .14s ease, filter .12s ease;
    backdrop-filter: blur(3px);
}

.btn:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    filter: brightness(1.02)
}

.btn:active {
    transform: translateY(0);
}

.btn.telegram {
    color: var(--accent);
    background-image: linear-gradient(180deg, rgba(36, 30, 18, 0.12), rgba(10, 8, 6, 0.06));
    border-color: rgba(220, 170, 80, 0.14);
}

.btn.discord {
    color: var(--accent);
    background-image: linear-gradient(180deg, rgba(20, 20, 30, 0.12), rgba(8, 8, 12, 0.06));
    border-color: rgba(120, 130, 170, 0.03);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;

}

.card {
    background: var(--card);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.card h3 {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 15px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.roadmap {
    margin: 30px auto 18px;
    padding: 18px;
    border-radius: 12px;
    background: var(--card);

}

.roadmap h2 {
    margin: 0 0 30px;
    font-size: 20px;
    color: var(--accent);
    letter-spacing: 2px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--accent);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
}

.timeline-item {
    padding: 10px 10px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid var(--bg);
    box-shadow: 0 0 10px rgba(220, 170, 80, 0.3);
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item:nth-child(odd)::before {
    right: -8px;
}

.timeline-item:nth-child(even)::before {
    left: -8px;
}

.timeline-content {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(220, 170, 80, 0.1);
}

.timeline-date {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 5px;
}

.timeline-text {
    color: var(--muted);
    font-size: 12px;
}

.gallery {
    margin: 26px auto 18px;
    max-width: 900px;
    position: relative;
}

.slider {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(0, 0, 0, 0.2)
}

.slides {
    display: flex;
    transition: transform .45s cubic-bezier(.22, .9, .3, 1);
}

.slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 8px;
    image-rendering: pixelated
}

.gbtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(8, 6, 7, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--accent);
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
}

.gbtn.left {
    left: 10px
}

.gbtn.right {
    right: 10px
}

.gbtn:hover {
    transform: translateY(-50%) scale(1.04)
}

.dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer
}

.dot.active {
    background: var(--accent);
    box-shadow: 0 6px 18px rgba(220, 140, 40, 0.12)
}

.subscribe {
    margin: 28px auto 40px;
    padding: 18px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.005));
    max-width: 700px;
}

.subscribe form {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.subscribe input[type="email"] {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent;
    color: inherit;
    min-width: 260px;
    font-family: inherit;
    font-size: 13px
}

.subscribe button {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: var(--accent);
    color: #111;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit
}

footer {
    margin-top: auto;
    padding: 26px 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    width: 100%;
}

.spark {
    position: absolute;
    width: 4px;
    height: 12px;
    background: linear-gradient(180deg, rgba(255, 210, 140, 0.95), rgba(120, 80, 30, 0.4));
    border-radius: 2px;
    filter: blur(.4px) drop-shadow(0 0 6px rgba(220, 160, 80, 0.35));
    opacity: 0.9;
    transform-origin: center;
    animation: rise linear infinite;
}

@keyframes rise {
    from {
        transform: translateY(0vh) rotate(0deg) scale(0.8);
        opacity: 0;
    }

    10% {
        opacity: 0.9;
    }

    to {
        transform: translateY(-160vh) rotate(0deg) scale(1.1);
        opacity: 0;
    }
}


.container {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

@media (max-width:900px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .title {
        font-size: 36px
    }

    .btn {
        min-width: 180px;
        padding: 6px 20px;
        height: 38px;
        font-size: 10px
    }
}

@media (max-width:520px) {
    .features {
        grid-template-columns: 1fr;
    }

    .btn {
        min-width: 140px;
        padding: 6px 16px;
        height: 36px;
        font-size: 10px
    }

    .title {
        font-size: 28px
    }

    .timeline-date {
        font-size: 12px
    }

    .timeline-text {
        font-size: 10px
    }

    .gallery {
        max-width: 400px;
    }

    .slide img {
        max-height: 200px;
    }
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #1e1e1e;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: #444;
  border-radius: 6px;
  border: 2px solid #1e1e1e;
  transition: background-color 0.3s;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #666;
}