*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #171412;
}

body {
    min-height: 100vh;
    margin: 0;
    color: rgba(242, 246, 250, 0.9);
    background: linear-gradient(135deg, #171412 0%, #1d211f 47%, #111820 100%);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 2px solid rgba(235, 245, 255, 0.95);
    outline-offset: 4px;
}

.hub-page {
    display: grid;
    align-content: center;
    width: min(1120px, calc(100vw - 48px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 72px 0 54px;
    gap: 42px;
}

.hub-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
    align-items: end;
    gap: 36px;
}

.hub-intro {
    max-width: 760px;
}

.hub-kicker,
.hub-link-label {
    margin: 0 0 12px;
    color: rgba(198, 218, 230, 0.66);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hub-intro h1 {
    max-width: 820px;
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(34px, 5.6vw, 72px);
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: 0;
}

.hub-intro p {
    max-width: 660px;
    margin: 0;
    color: rgba(232, 238, 244, 0.78);
    font-size: 18px;
    line-height: 1.68;
}

.hub-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(210px, 21vw, 240px);
    gap: 18px;
}

.hub-link {
    display: grid;
    grid-template-columns: minmax(118px, 36%) minmax(0, 1fr);
    height: 100%;
    min-height: 0;
    color: rgba(242, 247, 252, 0.88);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    overflow: hidden;
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        background 0.24s ease;
}

.hub-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(255, 255, 255, 0.2);
}

.hub-link-image {
    display: block;
    min-height: 100%;
    background: rgba(0, 0, 0, 0.28);
}

.hub-link-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hub-link-image-creatou img {
    object-position: 54% center;
}

.hub-link-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    padding: 28px;
}

.hub-link-text strong {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.08;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.hub-link-text .hub-link-domain-long {
    font-size: clamp(20px, 2.25vw, 29px);
    line-height: 1.34;
    white-space: nowrap;
}

.hub-link-text span:last-child {
    color: rgba(230, 238, 245, 0.76);
    font-size: 16px;
    line-height: 1.55;
}

.hub-awards {
    display: grid;
    align-self: end;
    gap: 12px;
    justify-items: end;
    padding-bottom: 4px;
}

.hub-awards-label {
    margin: 0;
    color: rgba(198, 218, 230, 0.62);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hub-awards-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: min(330px, 100%);
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hub-awards-list li {
    min-width: 0;
}

.hub-award-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 36px;
    aspect-ratio: 1;
    padding: 8px;
    color: rgba(236, 244, 250, 0.78);
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    overflow: hidden;
    transition:
        transform 0.24s ease,
        color 0.24s ease,
        border-color 0.24s ease,
        background 0.24s ease;
}

.hub-award-button span {
    margin-bottom: 4px;
    color: rgba(198, 218, 230, 0.64);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hub-award-button strong {
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    line-height: 1.15;
    font-weight: 500;
}

.hub-award-button-image {
    padding: 8px;
}

.hub-award-button-image img {
    width: 100%;
    height: 100%;
    max-width: 52px;
    max-height: 52px;
    object-fit: contain;
    opacity: 0.9;
}

.hub-award-button-light {
    background: rgba(245, 248, 250, 0.84);
    border-color: rgba(255, 255, 255, 0.46);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.34),
        0 8px 20px rgba(0, 0, 0, 0.12);
}

.hub-award-button-light img {
    opacity: 1;
}

.hub-award-button:hover {
    color: #ffffff;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
}

.hub-award-button-light:hover {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(255, 255, 255, 0.7);
}

.hub-award-button:hover img {
    opacity: 1;
}

.hub-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(225, 235, 245, 0.52);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.hub-footer a {
    color: rgba(225, 235, 245, 0.68);
    text-decoration: none;
}

.hub-footer a:hover {
    color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 860px) {
    .hub-page {
        width: min(680px, calc(100vw - 32px));
        min-height: auto;
        padding: 46px 0 34px;
        gap: 30px;
    }

    .hub-intro h1 {
        font-size: clamp(32px, 10vw, 52px);
    }

    .hub-intro p {
        font-size: 16px;
        line-height: 1.62;
    }

    .hub-hero {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .hub-awards {
        justify-items: start;
        padding-bottom: 0;
    }

    .hub-awards-list {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        width: 100%;
        max-width: 420px;
    }

    .hub-links {
        grid-template-columns: 1fr;
        grid-auto-rows: clamp(180px, 28vw, 210px);
    }

    .hub-link {
        grid-template-columns: minmax(104px, 34%) minmax(0, 1fr);
        min-height: 0;
    }
}

@media (max-width: 540px) {
    .hub-page {
        width: calc(100vw - 28px);
        padding-top: 32px;
    }

    .hub-link {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hub-links {
        grid-auto-rows: auto;
    }

    .hub-link-image {
        height: 172px;
        min-height: 0;
    }

    .hub-link-text {
        padding: 22px;
    }

    .hub-link-text strong {
        font-size: 28px;
    }

    .hub-awards-list {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 6px;
    }

    .hub-award-button {
        padding: 6px;
    }

    .hub-award-button-image img {
        max-width: 44px;
        max-height: 44px;
    }
}
