* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #171515;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.topbar {
    height: 86px;
    background: #121212;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 86px;
}

.logo {
    color: white;
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    font-family: Impact, Arial Black, sans-serif;
}

.login-btn {
    width: 215px;
    height: 56px;
    background: #3c4ea8;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    transition: 0.15s ease;
}

.login-btn:hover {
    filter: brightness(1.08);
}

.hero {
    min-height: calc(100vh - 86px - 140px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 86px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 40%, rgba(80, 100, 255, 0.10), transparent 28%),
        radial-gradient(circle at 82% 55%, rgba(110, 130, 255, 0.08), transparent 22%),
        linear-gradient(90deg, #1b2031 0%, #1d2236 52%, #20253c 100%);
}

.hero::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 48%;
    height: 100%;
    background-image:
        linear-gradient(rgba(178, 129, 23, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(178, 129, 23, 0.22) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

.hero-left {
    width: 46%;
    position: relative;
    z-index: 3;
}

.hero-left h1 {
    font-size: 50px;
    line-height: 1.04;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.server-btn {
    min-width: 340px;
    height: 74px;
    background: linear-gradient(180deg, #ffb425, #f2a100);
    border: none;
    color: white;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    cursor: pointer;
    box-shadow: inset 0 -5px 0 rgba(0,0,0,0.12);
    transition: 0.15s ease;
}

.server-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.copy-icon {
    font-size: 24px;
}

.version-box {
    min-width: 300px;
    height: 74px;
    background: #4b4b4b;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: inset 0 -5px 0 rgba(0,0,0,0.15);
}

.hero-right {
    width: 54%;
    height: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bg-composition {
    position: relative;
    width: 100%;
    height: 680px;
    overflow: hidden;
}

.line-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(76, 96, 200, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 96, 200, 0.10) 1px, transparent 1px);
    background-size: 76px 76px;
    opacity: 0.35;
    mask-image: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0.22));
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1), rgba(0,0,0,0.22));
    pointer-events: none;
}

.noise-layer {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.02) 0 1px, transparent 1px),
        radial-gradient(circle at 80% 40%, rgba(255,255,255,0.02) 0 1px, transparent 1px),
        radial-gradient(circle at 50% 80%, rgba(255,255,255,0.02) 0 1px, transparent 1px);
    background-size: 120px 120px, 160px 160px, 140px 140px;
    opacity: 0.28;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    opacity: 0.42;
}

.glow1 {
    width: 340px;
    height: 340px;
    right: 210px;
    top: 110px;
    background: rgba(88, 108, 255, 0.16);
}

.glow2 {
    width: 260px;
    height: 260px;
    right: 80px;
    top: 320px;
    background: rgba(120, 150, 255, 0.12);
}

.glow3 {
    width: 220px;
    height: 220px;
    right: 360px;
    top: 330px;
    background: rgba(70, 110, 255, 0.10);
}

.glow4 {
    width: 180px;
    height: 180px;
    right: 130px;
    top: 120px;
    background: rgba(150, 170, 255, 0.08);
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(150, 170, 255, 0.08);
}

.circle1 {
    width: 300px;
    height: 300px;
    right: 210px;
    top: 160px;
}

.circle2 {
    width: 460px;
    height: 460px;
    right: 80px;
    top: 70px;
}

.circle3 {
    width: 180px;
    height: 180px;
    right: 330px;
    top: 260px;
}

.pixel-block,
.mini-square,
.bar,
.diamond {
    position: absolute;
}

.pixel-block {
    background: rgba(65, 87, 184, 0.22);
    box-shadow:
        inset 0 0 0 1px rgba(120, 145, 255, 0.05),
        0 0 24px rgba(53, 77, 170, 0.08);
}

.block1  { width: 180px; height: 180px; right: 90px;  top: 40px; }
.block2  { width: 130px; height: 130px; right: 270px; top: 120px; }
.block3  { width: 220px; height: 220px; right: 30px;  top: 240px; }
.block4  { width: 150px; height: 150px; right: 330px; top: 310px; }
.block5  { width: 190px; height: 190px; right: 170px; top: 460px; }
.block6  { width: 100px; height: 100px; right: 470px; top: 200px; }
.block7  { width: 80px;  height: 80px;  right: 560px; top: 120px; }
.block8  { width: 120px; height: 120px; right: 520px; top: 360px; }
.block9  { width: 90px;  height: 90px;  right: 410px; top: 520px; }
.block10 { width: 70px;  height: 70px;  right: 620px; top: 260px; }
.block11 { width: 140px; height: 140px; right: 610px; top: 430px; }
.block12 { width: 60px;  height: 60px;  right: 250px; top: 560px; }

.mini-square {
    background: rgba(170, 190, 255, 0.07);
    box-shadow: 0 0 12px rgba(100, 120, 255, 0.08);
}

.sq1 { width: 20px; height: 20px; right: 220px; top: 220px; }
.sq2 { width: 14px; height: 14px; right: 410px; top: 180px; }
.sq3 { width: 24px; height: 24px; right: 580px; top: 340px; }
.sq4 { width: 16px; height: 16px; right: 120px; top: 500px; }
.sq5 { width: 18px; height: 18px; right: 330px; top: 610px; }
.sq6 { width: 12px; height: 12px; right: 690px; top: 220px; }
.sq7 { width: 26px; height: 26px; right: 540px; top: 560px; }
.sq8 { width: 10px; height: 10px; right: 280px; top: 90px; }

.bar {
    background: linear-gradient(90deg, rgba(130,150,255,0.0), rgba(130,150,255,0.18), rgba(130,150,255,0.0));
    height: 2px;
    filter: blur(0.3px);
}

.bar1 {
    width: 220px;
    right: 170px;
    top: 210px;
    transform: rotate(-24deg);
}

.bar2 {
    width: 170px;
    right: 380px;
    top: 470px;
    transform: rotate(18deg);
}

.bar3 {
    width: 130px;
    right: 500px;
    top: 150px;
    transform: rotate(-32deg);
}

.diamond {
    width: 28px;
    height: 28px;
    background: rgba(120, 150, 255, 0.09);
    transform: rotate(45deg);
    box-shadow: 0 0 14px rgba(120,150,255,0.08);
}

.diamond1 {
    right: 460px;
    top: 95px;
}

.diamond2 {
    right: 150px;
    top: 285px;
}

.diamond3 {
    right: 620px;
    top: 500px;
}

.bottom-panel {
    height: 140px;
    background: #171515;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 86px;
}

.online-box {
    min-width: 360px;
    height: 82px;
    background: #303030;
    border: 4px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 20px;
}

.online-gif-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.online-gif {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: pixelated;
}

.online-text {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}

.socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 78px;
    height: 78px;
    background: #303030;
    border: 4px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.15s ease;
}

.social-btn:hover {
    background: #3b3b3b;
    transform: translateY(-2px);
}

.social-btn img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .hero {
        flex-direction: column;
        gap: 30px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-left,
    .hero-right {
        width: 100%;
    }

    .bg-composition {
        height: 420px;
    }
}

@media (max-width: 700px) {
    .topbar,
    .hero,
    .bottom-panel {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-left h1 {
        font-size: 28px;
    }

    .server-btn,
    .version-box,
    .online-box {
        width: 100%;
        min-width: unset;
    }

    .bottom-panel {
        height: auto;
        flex-direction: column;
        gap: 20px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .bg-composition {
        height: 300px;
    }
}