/* GameHub CMS — contact page (CS2 theme) */
.gh-page-contact #ghMain {
    padding-bottom: 48px;
}

.gh-contact-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 2rem) max(16px, env(safe-area-inset-right)) clamp(2.5rem, 5vw, 4rem) max(16px, env(safe-area-inset-left));
}

.gh-contact-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gh-text-muted);
    margin-bottom: 20px;
}
.gh-contact-breadcrumb a {
    color: var(--cs2-blue, #4a9eff);
    text-decoration: none;
}
.gh-contact-breadcrumb a:hover { color: var(--cs2-orange, #e8a020); }

.gh-contact-hero {
    margin-bottom: 28px;
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 14px;
    border: 1px solid rgba(232, 160, 32, .22);
    background: linear-gradient(135deg, rgba(12, 16, 24, .95), rgba(18, 26, 36, .92));
    position: relative;
    overflow: hidden;
}
.gh-contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 10%, rgba(74, 158, 255, .12), transparent 45%);
    pointer-events: none;
}
.gh-contact-hero > * { position: relative; z-index: 1; }
.gh-contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cs2-orange);
    margin-bottom: 10px;
}
.gh-contact-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(1.75rem, 4.5vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--gh-text);
}
.gh-contact-hero p {
    margin: 0;
    max-width: 52ch;
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    line-height: 1.55;
    color: var(--gh-text-muted);
}

.gh-contact-layout {
    display: grid;
    gap: 24px;
    align-items: start;
}
@media (min-width: 960px) {
    .gh-contact-layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
        gap: 28px;
    }
}

.gh-contact-form-card {
    background: var(--gh-card, #0e141c);
    border: 1px solid rgba(74, 158, 255, .18);
    border-radius: 14px;
    padding: clamp(18px, 3vw, 28px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.gh-contact-alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}
.gh-contact-alert--success {
    background: rgba(61, 214, 140, .12);
    border: 1px solid rgba(61, 214, 140, .35);
    color: #6ee7b7;
}
.gh-contact-alert--error {
    background: rgba(255, 92, 92, .1);
    border: 1px solid rgba(255, 92, 92, .35);
    color: #fca5a5;
}
.gh-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.gh-contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.gh-contact-field--full { grid-column: 1 / -1; }
.gh-contact-field span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--gh-text-muted);
}
.gh-contact-field input,
.gh-contact-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(74, 158, 255, .22);
    border-radius: 10px;
    font: inherit;
    background: var(--gh-navy-mid, #0c1018);
    color: var(--gh-text);
}
.gh-contact-field textarea {
    resize: vertical;
    min-height: 140px;
}
.gh-contact-field input:focus,
.gh-contact-field textarea:focus {
    outline: 2px solid var(--cs2-orange);
    outline-offset: 1px;
    border-color: rgba(232, 160, 32, .45);
}
.gh-contact-captcha {
    margin: 18px 0 10px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}
.gh-contact-note {
    font-size: 12px;
    color: var(--gh-text-muted);
    text-align: center;
    margin: 0 0 14px;
    line-height: 1.45;
}
.gh-contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    background: linear-gradient(135deg, var(--cs2-orange), #c47a10);
    color: #0a0e14;
    min-height: 48px;
}
.gh-contact-submit:hover { filter: brightness(1.06); }
.gh-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

.gh-contact-aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.gh-contact-aside-block {
    background: var(--gh-card, #0e141c);
    border: 1px solid rgba(74, 158, 255, .15);
    border-radius: 14px;
    padding: 18px;
}
.gh-contact-aside-title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gh-text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.gh-contact-aside-title i { color: var(--cs2-orange); }
.gh-contact-aside-hint {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--gh-text-muted);
}
.gh-contact-map-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.gh-contact-map-tile {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(74, 158, 255, .14);
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, transform .2s;
}
.gh-contact-map-tile:hover {
    border-color: rgba(232, 160, 32, .45);
    transform: translateY(-2px);
}
.gh-contact-map-tile img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.gh-contact-map-tile span {
    display: block;
    padding: 7px 8px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    background: rgba(6, 8, 12, .85);
    color: var(--cs2-orange);
}

.gh-contact-demo {
    display: grid;
    gap: 12px;
}
.gh-contact-demo-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    background: rgba(74, 158, 255, .06);
    border: 1px solid rgba(74, 158, 255, .14);
}
.gh-contact-demo-card img {
    width: 96px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(232, 160, 32, .25);
}
.gh-contact-demo-card h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
}
.gh-contact-demo-card p {
    margin: 0 0 8px;
    font-size: 12px;
    color: var(--gh-text-muted);
}
.gh-contact-demo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.gh-contact-demo-actions .gh-btn-steam {
    margin: 0;
    width: auto;
    flex: 1 1 100%;
    padding: 10px 12px;
    font-size: 13px;
}
.gh-contact-demo-actions .gh-btn-ghost {
    font-size: 12px;
    padding: 8px 12px;
}
.gh-contact-aside-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cs2-blue);
    text-decoration: none;
}
.gh-contact-aside-link:hover { color: var(--cs2-orange); }

@media (max-width: 600px) {
    .gh-contact-grid { grid-template-columns: 1fr; }
    .gh-contact-map-grid { grid-template-columns: 1fr 1fr; }
    .gh-contact-demo-card { grid-template-columns: 1fr; }
    .gh-contact-demo-card img { width: 100%; height: auto; aspect-ratio: 16/9; }
    .gh-contact-captcha .g-recaptcha {
        transform: scale(0.92);
        transform-origin: center top;
    }
}