/* ==========================================================
HERO
Изображение account.png и заголовок поверх
========================================================== */

.account-hero {
    position:relative;
    width:100%;
    height:600px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-image {
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.15),
            rgba(0,0,0,.55)
        );
}

.hero-content {
    position:relative;
    z-index:2;
    text-align:center;
    padding:20px;
}

/* ==========================================================
HERO TEXT
Текст поверх изображения
========================================================== */

.hero-text {
    text-align:center;
    color:white;
}

.hero-label {
    display:block;
    margin-bottom:20px;
    color:var(--light-purple);
    font-family:"Orbitron",sans-serif;
    font-size:20px;
    letter-spacing:.2em;
}


.hero-text h1 {

    font-family:
    "Orbitron",
    sans-serif;

    font-size:
    clamp(42px,6vw,90px);

    line-height:
    1.05;

    font-weight:
    700;

    color:
    white;

    margin-bottom:
    30px;

}


.hero-text p {

    max-width:600px;

    margin:
    0 auto;

    color:
    rgba(255,255,255,.75);

    font-size:
    18px;

}
.light-theme .hero-overlay {

    background:
    linear-gradient(
        180deg,
        rgba(255,255,255,.45),
        rgba(255,255,255,.75)
    );

}


.light-theme .hero-text h1 {

    color:
    #111111;

}


.light-theme .hero-label {

    color:
    var(--dark-purple);

}


.light-theme .hero-text p {

    color:
    rgba(0,0,0,.65);

}
@media(max-width:900px) {

    .account-hero {
        height:450px;
    }

    .hero-text {
        padding:30px 20px;
    }

    .hero-text h1 {
        font-size:32px;
    }
}
/* =====================================================
   HUB PAGE
===================================================== */

.hub-page {
    width: 100%;
}


/* =====================================================
   HERO
===================================================== */

.hub-hero {
    max-width: 1200px;

    margin: 0 auto;

    padding: 100px 30px 60px;

    text-align: center;
}

.hub-hero h1 {
    font-size: clamp(40px, 6vw, 72px);

    margin-bottom: 20px;
}

.hub-hero p {
    max-width: 650px;

    margin: 0 auto;

    color: var(--text-secondary);

    font-size: 18px;
    line-height: 1.6;
}


/* =====================================================
   SECTION
===================================================== */

.hub-section {
    max-width: 1200px;

    margin: 0 auto;

    padding: 20px 30px 70px;
}

.hub-section h2 {
    margin-bottom: 30px;

    font-size: 28px;
}


/* =====================================================
   SITE GRID
===================================================== */

.hub-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;
}


/* =====================================================
   SITE CARD
===================================================== */

.hub-card {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 190px;

    padding: 30px;

    gap: 25px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    overflow: hidden;

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.hub-card:hover {
    border-color: var(--purple);

    box-shadow:
        0 0 30px rgba(138,123,182,.3);
}


/* =====================================================
   CARD DECORATION
===================================================== */

.hub-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -80px;
    bottom: -100px;

    border-radius: 50%;

    border: 1px solid
        rgba(138,123,182,.15);

    pointer-events: none;
}


/* =====================================================
   ICON
===================================================== */

.hub-card-icon {
    flex: 0 0 70px;

    width: 70px;
    height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    background:
        rgba(138,123,182,.1);

    border: 1px solid
        rgba(138,123,182,.25);
}

.hub-card-icon img {
    width: 38px;
    height: 38px;

    object-fit: contain;
}


/* =====================================================
   CONTENT
===================================================== */

.hub-card-content {
    min-width: 0;
}

.hub-card-content h3 {
    margin-bottom: 10px;

    font-size: 21px;
}

.hub-card-content p {
    margin-bottom: 15px;

    color: var(--text-secondary);

    font-size: 14px;

    line-height: 1.6;
}

.hub-card-content span {
    color: var(--purple);

    font-size: 14px;

    font-weight: 600;
}


/* =====================================================
   SOCIAL
===================================================== */

.hub-social-section {
    padding-top: 0;
}

.hub-social-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}

.hub-social-card {
    display: flex;

    align-items: center;

    gap: 20px;

    padding: 22px 25px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 18px;

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.hub-social-card:hover {
    border-color: var(--purple);

    box-shadow:
        0 0 25px rgba(138,123,182,.25);
}

.hub-social-card img {
    width: 38px;
    height: 38px;

    object-fit: contain;
}

.hub-social-card h3 {
    margin-bottom: 5px;

    font-size: 17px;
}

.hub-social-card p {
    color: var(--text-secondary);

    font-size: 13px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px) {

    .hub-grid {
        grid-template-columns: 1fr;
    }

    .hub-social-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .hub-hero {
        padding:
            70px 20px 45px;
    }

    .hub-section {
        padding:
            20px 20px 50px;
    }

    .hub-card {
        min-height: 160px;

        padding: 22px;

        gap: 18px;
    }

    .hub-card-icon {
        flex-basis: 55px;

        width: 55px;
        height: 55px;

        border-radius: 15px;
    }

    .hub-card-icon img {
        width: 30px;
        height: 30px;
    }

    .hub-card-content h3 {
        font-size: 18px;
    }

    .hub-card-content p {
        font-size: 13px;
    }

    .hub-social-card {
        padding: 18px;
    }

}
.hub-card-icon img,
.hub-social-card img {
    filter: brightness(0) invert(1);
}

.light-theme .hub-card-icon img,
.light-theme .hub-social-card img {
    filter: brightness(0);
}