* {
    box-sizing: border-box;
}

body {
    background-color: #1B1B1B;
    color: #FFFFFF;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    min-width: 320px;
}

.background-blurs {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.blur-1 {
    position: absolute;
    width: 577px;
    height: 586px;
    left: -200px;
    top: -200px;
    background: rgba(255, 0, 0, 0.25);
    filter: blur(400px);
}

.blur-2 {
    position: absolute;
    width: 542px;
    height: 564px;
    right: -250px;
    bottom: -250px;
    background: rgba(255, 0, 0, 0.25);
    filter: blur(400px);
}

.container {
    width: 100%;
    max-width: 986px;
    display: flex;
    flex-direction: column;
    gap: clamp(30px, 5vh, 47px);
}

.hero-section {
    background: rgba(45, 45, 45, 0.25);
    border: 1px solid #3D3D3D;
    backdrop-filter: blur(10px);
    border-radius: 35px;
    padding: clamp(15px, 3vh, 20px);
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vh, 38px);
}

.logo {
    max-width: 100%;
    height: auto;
    width: 333px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-text h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 45px;
    margin: 0;
    font-weight: 400;
}

.hero-text p {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 25px;
    color: #BFBFBF;
    margin: 0;
    max-width: 502px;
    font-weight: 400;
}

.links-section {
    display: flex;
    gap: 166px;
    justify-content: center;
}

.links-column {
    display: flex;
    flex-direction: column;
    gap: clamp(15px, 3vh, 24px);
    width: 325px;
}

.links-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.links-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.links-title img {
    width: 50px;
    height: 50px;
}
.links-title h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 45px;
    margin: 0;
    font-weight: 400;
}

.divider {
    height: 6px;
    background-color: #FFFFFF;
    border-radius: 100px;
    width: 50px;
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-card {
    background: rgba(45, 45, 45, 0.25);
    border: 1px solid #3D3D3D;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 55px;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 25px;
    transition: transform 0.1s ease, background-color 0.2s ease;
}

.link-card:hover {
    background: rgba(65, 65, 65, 0.4);
    cursor: pointer;
}

.link-card:active {
    transform: scale(0.98);
    background: rgba(35, 35, 35, 0.5);
}

.link-card span {
    flex-grow: 1;
}

.link-icon-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -20px;
}
.link-icon {
    width: 38px;
    height: 38px;
}

.arrow-icon, .copy-icon {
    width: 38px;
    height: 38px;
}

.signal { background-color: #3A76F0; }
.jabber { background-color: #CC0000; }
.element { background-color: #0DBD8B; }
.telegram { background-color: #1B92D1; }
.telegram-bot { background-color: #1B92D1; }

.column-divider {
    width: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
}


/* Адаптивность */
@media (max-width: 1024px) {
    .links-section {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        /* gap: 30px; */ /* Removed as clamp() now handles this */
    }
    .hero-section {
        /* padding: 15px; */ /* Removed as clamp() now handles this */
    }

    .logo {
        width: 250px;
        height: auto;
    }

    .hero-text h1 {
        font-size: 35px;
    }
    .hero-text p {
        font-size: 20px;
    }
    .links-column {
        width: 100%;
        max-width: 325px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    .hero-section {
       /* gap: 20px; */ /* Removed as clamp() now handles this */
    }
    .logo {
        width: 200px;
    }
     .hero-text h1 {
        font-size: 30px;
    }
    .hero-text p {
        font-size: 18px;
    }
    .link-card {
        padding: 10px 15px;
        font-size: 20px;
    }
    .link-icon-wrapper {
        width: 45px;
        height: 45px;
        margin-left: -5px;
    }
    .link-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 320px) {
    .hero-section {
        padding: 10px;
    }
    .logo {
        width: 150px;
    }
    .hero-text h1 {
        font-size: 24px;
    }
    .hero-text p {
        font-size: 16px;
    }
}