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

body {
    background-color: #000;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    user-select: none;
    font-family: 'Inter', sans-serif;
}


.buterfly {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52%;
    pointer-events: none;
    z-index: 0;
}

.buterfly img {
    width: 100%;
    height: auto;
    display: block;
}


.glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.7) 8%,
        rgba(255,210,120,0.25) 30%,
        transparent 65%
    );
    border-radius: 50%;
    top: -60px;
    right: 60px;
    pointer-events: none;
}


header {
    position: absolute;
    top: 24px;
    left: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 1;
}

.logo img {
    width: 64px;
    height: auto;
}

.mane {
    color: #00bfff;
    font-size: 34px;
    font-weight: 700;
}

.chain {
    color: #3a3838;
    font-size: 34px;
    font-weight: 700;
}


.topnav {
    position: absolute;
    top: 30px;
    right: 28px;
    display: flex;
    gap: 24px;
    z-index: 1;
}

.topnav a {
    color: #3b9fdc;
    font-size: 13px;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.15s;
}

.topnav a:hover {
    opacity: 1;
    text-decoration: underline;
}


.info {
    position: absolute;
    top: 110px;
    left: 28px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #fff;
    font-size: 14px;
    opacity: 0.8;
    z-index: 1;
}


.center-text {
    position: absolute;
    top: 50%;
    left: 28px;
    transform: translateY(-50%);
    z-index: 1;
    max-width: 45%;
}

.center-text h1 {
    font-size: clamp(32px, 4vw, 64px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.center-text p {
    font-size: clamp(12px, 1.2vw, 16px);
    color: #6a9fc0;
    letter-spacing: 0.3px;
}


.e {
    position: absolute;
    bottom: 16px;
    right: 24px;
    z-index: 1;
    font-size: 13px;
}

.dev   { color: grey; }
.eloper { color: skyblue; }

/* ── КАРТОЧКИ ── */
.downcards {
    position: absolute;
    bottom: 40px;
    left: 28px;
    display: flex;
    flex-direction: row;
    gap: 14px;
    z-index: 1;
}

.android, .linux, .windows {
    background: rgba(10, 21, 32, 0.88);
    border: 1px solid #1a3a5c;
    border-radius: 12px;
    padding: 18px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 230px;
    backdrop-filter: blur(6px);
    transition: box-shadow 0.2s;
}

.android:hover, .linux:hover, .windows:hover {
    box-shadow: 0 0 20px rgba(59, 159, 220, 0.7);
}

.card-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.addrlogo, .linxlogo, .winxlogo {
    width: 18px;
    height: 18px;
    filter: invert(1) sepia(1) saturate(3) hue-rotate(180deg);
}

#ad, #li, #wn {
    font-size: 17px;
    font-weight: 600;
    color: #3b9fdc;
}



.btn-row {
    display: flex;
    gap: 8px;
}

.andr, .linx, .winx {
    background: #0f2a3f;
    border: 1px solid #1e5070;
    color: #3b9fdc;
    font-size: 11px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    font-family: inherit;
}
.andr:hover, .linx:hover, .winx:hover {
    background: #173650;
    border-color: #3b9fdc;
}

.terminal-line {
    font-size: 11px;
    color: #6a9fc0;
    line-height: 1.4;
}

.terminal-line code {
    color: #3b9fdc;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    user-select: all;
}

@media (max-width: 1100px) {
    .buterfly { width: 50%; }
    .android, .linux, .windows { width: 195px; }
    .center-text h1 { font-size: 36px; }
}

@media (max-width: 768px) {
    body { overflow-y: auto; height: auto; }

    .buterfly { width: 100%; opacity: 0.3; position: fixed; }

    .center-text {
        position: relative;
        top: auto; left: auto;
        transform: none;
        max-width: 100%;
        padding: 120px 24px 24px;
        text-align: center;
    }

    .downcards {
        position: relative;
        bottom: auto; left: auto;
        flex-direction: column;
        align-items: center;
        padding: 24px;
    }

    .android, .linux, .windows { width: 90vw; }

    .info {
        position: relative;
        top: auto; left: auto;
        padding: 0 24px;
        align-items: center;
    }
}