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

body {
    background: linear-gradient(
        135deg,
        #0d0d0d 0%,
        #181818 100%
    );
    color: white;
    cursor: default;
    font-family: Arial, sans-serif;
}

/* =========================
   HERO
========================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5vw;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 700px;
}

.hero-content h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.9;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-content p {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
}

/* =========================
   HERO IMAGE
========================= */
.hero-image-wrapper {
    position: relative;
    flex-shrink: 0;
    width: min(55vw, 900px);
    height: min(75vh, 700px);
    transform: translateY(-20px);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    box-shadow:
        0 30px 80px rgba(0,0,0,.5),
        0 0 40px rgba(255,77,109,.15);

    transition: transform .3s ease;
}

.hero-image:hover {
    transform: scale(1.03);
}

/* glow behind image */
.hero-image-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: scale(1.2);
    background: radial-gradient(
        circle,
        rgba(255,77,109,.25),
        transparent 70%
    );
    filter: blur(50px);
    z-index: -1;
}

/* =========================
   SECTION
========================= */
.section {
    padding: 120px 8vw;
}

.section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 50px;
    color: #ff4d6d;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* =========================
   BOX
========================= */
.box {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,.85);
    backdrop-filter: blur(10px);
    box-shadow:
        0 20px 50px rgba(0,0,0,.35),
        0 0 30px rgba(255,77,109,.08);
}

.section-divider {
    width: min(50%, 700px);
    height: 3px;
    margin: 30px auto;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,77,109,.5),
        transparent
    );
    border-radius: 999px;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* ключевой момент */
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.item {
    width: 300px;
    padding: 25px;
    border-radius: 18px;
    border: 1px solid rgba(255,77,109,.25);
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,.85);
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    position: relative;
    text-align: center; /* текст слева */
}

.join-box {
    max-width: 700px;
    margin: 0 auto;

    padding: 30px;

    text-align: center;
    line-height: 1.8;

    color: rgba(255,255,255,.85);

    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,77,109,.2);

    border-radius: 18px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.3),
        0 0 20px rgba(255,77,109,.08);
}

.btn {
    display: inline-block;

    margin: 30px auto 0;
    padding: 14px 28px;

    border-radius: 14px;

    background: linear-gradient(135deg, #ff4d6d, #ff2e63);

    color: white;

    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;

    transition: 0.25s ease;

    box-shadow:
        0 10px 30px rgba(255,77,109,.25);
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);

    box-shadow:
        0 15px 40px rgba(255,77,109,.4);
}

.section .btn {
    display: block;
    width: fit-content;
}

footer {
    padding: 50px 8vw;

 display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: rgba(255,255,255,.5);

    font-size: 0.95rem;
    letter-spacing: 1px;
}