/* ============================================================
   css/join.css  –  styles for dzialaj-z-nami.html (Działaj z Nami)
   Inherits CSS variables from css/style.css loaded first.
   ============================================================ */

/* ── active nav link ─────────────────────────────────────── */
.top-link.active-page {
    color: var(--magenta-light) !important;
}
.top-link.active-page::after {
    width: 100% !important;
    background: linear-gradient(90deg, var(--magenta), var(--violet-light));
}

/* ── global section centering (HUD 160px + top-nav 72px) ─── */
.join-hero,
.join-roles,
.join-perks,
.join-recruit {
    padding-left: 60px;
    padding-right: 60px;
}

.join-roles .container,
.join-perks .container,
.join-recruit .container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   HERO – TWOJA KOLEJ NA RUCH
   ============================================================ */
.join-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

/* ── BG layers ── */
.jh-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.jh-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(192,38,211,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192,38,211,0.07) 1px, transparent 1px);
    background-size: 52px 52px;
    animation: jhGridDrift 18s linear infinite;
}

@keyframes jhGridDrift {
    0%   { background-position: 0 0; }
    100% { background-position: 52px 52px; }
}

.jh-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0,0,0,0.07) 3px,
        rgba(0,0,0,0.07) 4px
    );
}

.jh-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.jh-orb-1 {
    width: 600px; height: 600px;
    top: -200px; right: -100px;
    background: radial-gradient(circle, rgba(192,38,211,0.18) 0%, transparent 65%);
    animation: orbFloat1 12s ease-in-out infinite;
}

.jh-orb-2 {
    width: 400px; height: 400px;
    bottom: -100px; left: 10%;
    background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 65%);
    animation: orbFloat2 16s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%,100% { transform: translate(0,0) scale(1); }
    50%     { transform: translate(-40px, 30px) scale(1.1); }
}
@keyframes orbFloat2 {
    0%,100% { transform: translate(0,0); }
    50%     { transform: translate(30px,-20px); }
}

/* ── content ── */
.jh-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.jh-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--magenta-light);
    text-transform: uppercase;
    margin-bottom: 28px;
    opacity: 0.85;
}

.jh-tag-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--magenta);
    animation: pulseDot 2s ease-in-out infinite;
}

/* ── H1 ── */
.jh-title {
    font-family: var(--font-hero);
    font-size: clamp(3.2rem, 7vw, 6rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.0;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
}

.jh-line {
    display: block;
    color: #fff;
    opacity: 0;
    transform: translateY(36px);
    animation: jhReveal 0.85s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}

.jh-line:nth-child(1) { animation-delay: 0.25s; }
.jh-line:nth-child(2) { animation-delay: 0.45s; }
.jh-line:nth-child(3) { animation-delay: 0.65s; }

.jh-accent {
    background: linear-gradient(135deg, var(--magenta) 0%, var(--violet-light) 60%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 16px rgba(192,38,211,0.55));
}

@keyframes jhReveal {
    to { opacity: 1; transform: translateY(0); }
}

/* ── body text ── */
.jh-body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: jhReveal 0.9s 0.85s forwards;
}

/* ── CTA row ── */
.jh-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    opacity: 0;
    animation: jhReveal 0.8s 1.05s forwards;
}

.jh-skip-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
html.can-hover .jh-skip-link:hover { color: var(--magenta-light); }
.jh-skip-link i { font-size: 0.8rem; }

/* ── stat bar ── */
.jh-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    animation: jhReveal 0.7s 1.25s forwards;
}

.jh-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jh-stat-val {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--magenta), var(--violet-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.jh-stat-label {
    font-family: var(--font-display);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.jh-stat-div {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(192,38,211,0.5), transparent);
}

/* ── HUD corner brackets ── */
.jh-corner {
    position: absolute;
    width: 24px; height: 24px;
    z-index: 3;
    pointer-events: none;
    opacity: 0.55;
}
.jh-tl { top: 80px; left: 20px; border-top: 2px solid var(--magenta); border-left: 2px solid var(--magenta); }
.jh-tr { top: 80px; right: 20px; border-top: 2px solid var(--magenta); border-right: 2px solid var(--magenta); }
.jh-bl { bottom: 20px; left: 20px; border-bottom: 2px solid var(--violet-light); border-left: 2px solid var(--violet-light); }
.jh-br { bottom: 20px; right: 20px; border-bottom: 2px solid var(--violet-light); border-right: 2px solid var(--violet-light); }


/* ============================================================
   ROLE SELECT – 4 karty klas
   ============================================================ */
.join-roles {
    padding-top: 120px;
    padding-bottom: 100px;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(124,58,237,0.07) 0%, transparent 65%);
}

/* 2×2 grid */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 16px;
}

/* ── card flip container ── */
.role-card {
    perspective: 1000px;
    height: 380px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
    isolation: isolate;
}

.role-card.revealed {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.7s ease var(--rc-delay, 0s),
        transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94) var(--rc-delay, 0s);
}

.role-card:nth-child(1) { --rc-delay: 0s; }
.role-card:nth-child(2) { --rc-delay: 0.1s; }
.role-card:nth-child(3) { --rc-delay: 0.2s; }
.role-card:nth-child(4) { --rc-delay: 0.3s; }

.role-card-inner {
    position: relative;
    width: 100%; height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

/* Hover-only for PC with mouse */
html.can-hover .role-card:hover .role-card-inner {
    transform: rotateY(180deg);
}

/* Manual toggle via .flipped class for all devices (including mobile) */
.role-card.flipped .role-card-inner {
    transform: rotateY(180deg);
}

/* both faces */
.role-front,
.role-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    padding: 32px 24px 28px;
    overflow: hidden;
    background: #0a051c;
    border: 1px solid rgba(192,38,211,0.2);
    display: flex;
    flex-direction: column;
    align-items: center; /* Centering */
    text-align: center;   /* Centering */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.role-back {
    transform: rotateY(180deg);
    border-color: rgba(192,38,211,0.45);
    box-shadow: 0 0 32px rgba(192,38,211,0.18);
}

html.can-hover .role-card:hover .role-front,
.role-card.flipped .role-front {
    border-color: rgba(192,38,211,0.5);
    box-shadow: 0 0 40px rgba(192,38,211,0.2);
}

/* ── glow blobs per role ── */
.role-glow {
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    top: -80px; right: -60px;
    filter: blur(55px);
    pointer-events: none;
    opacity: 0.45;
    transition: opacity 0.4s ease;
}

html.can-hover .role-card:hover .role-glow { opacity: 0.7; }

.role-glow-tech    { background: radial-gradient(circle, rgba(192,38,211,0.6) 0%, transparent 70%); }
.role-glow-org     { background: radial-gradient(circle, rgba(124,58,237,0.6) 0%, transparent 70%); }
.role-glow-creator { background: radial-gradient(circle, rgba(236,72,153,0.6) 0%, transparent 70%); }
.role-glow-gm      { background: radial-gradient(circle, rgba(168,85,247,0.6) 0%, transparent 70%); }

/* ── class badge ── */
.role-class-badge {
    font-family: var(--font-display);
    font-size: 0.55rem;
    letter-spacing: 0.25em;
    color: var(--magenta);
    margin-bottom: 16px;
    opacity: 0.7;
}

/* ── icon ── */
.role-icon-wrap {
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(192,38,211,0.2), rgba(124,58,237,0.2));
    border: 1.5px solid rgba(192,38,211,0.4);
    border-radius: 14px;
    font-size: 1.6rem;
    color: var(--magenta-light);
    margin: 0 auto 20px; /* Centered */
    box-shadow: 0 0 18px rgba(192,38,211,0.25);
    transition: all 0.35s ease;
}

html.can-hover .role-card:hover .role-icon-wrap {
    box-shadow: 0 0 30px rgba(192,38,211,0.55);
    border-color: var(--magenta);
    transform: scale(1.06);
}

/* ── role name (front) ── */
.role-name {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
    line-height: 1.15;
}

.role-codename {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    color: var(--magenta-light);
    margin-bottom: 14px;
    opacity: 0.75;
}

.role-teaser {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-secondary);
    flex: 1;
}

.role-hover-hint {
    font-family: var(--font-display);
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.25);
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center; /* Centered */
    gap: 6px;
}

/* ── back face ── */
.role-name-back {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.role-tasks {
    list-style: none;
    padding: 0; margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.role-tasks li {
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-secondary);
    display: flex;
    align-items: center;    /* Centered vertically */
    justify-content: center; /* Centered horizontally */
    gap: 8px;
    text-align: center;
}

.role-tasks li i {
    color: var(--magenta-light);
    margin-top: 3px;
    font-size: 0.65rem;
    flex-shrink: 0;
}

/* ── back CTA button ── */
.role-cta-btn {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--magenta) 0%, var(--violet) 100%);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 20px rgba(192,38,211,0.4);
}

html.can-hover .role-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(192,38,211,0.6), 0 0 40px rgba(124,58,237,0.3);
}


/* ============================================================
   PROFITY – LOOT SYSTEM
   ============================================================ */
.join-perks {
    padding-top: 120px;
    padding-bottom: 100px;
    position: relative;
}

.join-perks-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 60% at 50% 50%, rgba(192,38,211,0.06) 0%, transparent 65%),
        linear-gradient(180deg, transparent 0%, rgba(124,58,237,0.04) 100%);
    pointer-events: none;
    z-index: 0;
}

.join-perks .container {
    position: relative;
    z-index: 1;
}

/* 4-column grid */
.perks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 16px;
}

/* ── perk item ── */
.perk-item {
    background: rgba(10,5,28,0.6);
    border: 1px solid rgba(192,38,211,0.2);
    border-radius: 16px;
    padding: 36px 24px; /* Removed bottom padding for bar */
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    
    /* Centering */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.perk-item.revealed {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.7s ease var(--perk-delay, 0s),
        transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94) var(--perk-delay, 0s),
        box-shadow 0.35s ease;
}

html.can-hover .perk-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(192,38,211,0.2), 0 4px 16px rgba(124,58,237,0.15);
    border-color: rgba(192,38,211,0.45);
}

/* ── icon hex ── */
.perk-icon-wrap {
    position: relative;
    width: 68px; height: 68px;
    margin: 0 auto 20px; /* Centered */
}

.perk-hex {
    width: 68px; height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(192,38,211,0.22), rgba(124,58,237,0.22));
    border: 1.5px solid rgba(192,38,211,0.45);
    border-radius: 15px;
    font-size: 1.5rem;
    color: var(--magenta-light);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 0 18px rgba(192,38,211,0.25);
}

html.can-hover .perk-item:hover .perk-hex {
    box-shadow: 0 0 32px rgba(192,38,211,0.55);
    border-color: var(--magenta);
    transform: scale(1.07);
}

.perk-ring {
    position: absolute;
    inset: -7px;
    border-radius: 18px;
    border: 1px solid rgba(192,38,211,0.25);
    animation: iconRingPulse 2.8s ease-in-out infinite;
    pointer-events: none;
}

/* ── badge ── */
.perk-badge {
    position: relative; /* Changed from absolute to flow */
    margin-bottom: 12px;
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(192,38,211,0.85);
    color: #fff;
    box-shadow: 0 0 12px rgba(192,38,211,0.5);
}

.perk-badge-violet {
    background: rgba(124,58,237,0.85);
    box-shadow: 0 0 12px rgba(124,58,237,0.5);
}

.perk-badge-green {
    background: rgba(34,197,94,0.85);
    box-shadow: 0 0 12px rgba(34,197,94,0.5);
}

.perk-badge-gold {
    background: rgba(234,179,8,0.85);
    box-shadow: 0 0 12px rgba(234,179,8,0.5);
}

/* ── title & desc ── */
.perk-title {
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    line-height: 1.15;
}

.perk-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0; /* Removed bottom margin */
}

/* ── stat bar ── */
.perk-stat-bar {
    display: none; /* Removed as requested */
}

.perk-stat-fill {
    height: 100%;
    width: var(--w, 80%);
    background: linear-gradient(90deg, var(--magenta), var(--violet-light));
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(192,38,211,0.6);
    animation: perkBarGrow 1.2s cubic-bezier(0.4,0,0.2,1) forwards;
    transform-origin: left;
    transform: scaleX(0);
}

.perk-item.revealed .perk-stat-fill {
    animation: perkBarGrow 1.2s cubic-bezier(0.4,0,0.2,1) var(--perk-delay, 0.4s) forwards;
}

@keyframes perkBarGrow {
    to { transform: scaleX(1); }
}


/* ============================================================
   RECRUITMENT TERMINAL – formularz
   ============================================================ */
.join-recruit {
    padding-top: 120px;
    padding-bottom: 100px;
    position: relative;
}

.jr-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 60%, rgba(124,58,237,0.1) 0%, transparent 65%);
    pointer-events: none;
}

/* ── terminal panel ── */
.jr-terminal {
    max-width: 780px;
    margin: 0 auto;
    overflow: hidden;
    animation: fadeInUp 0.8s 0.2s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── header bar ── */
.jr-term-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(192,38,211,0.15);
}

.jr-term-title {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
}

/* ── body ── */
.jr-term-body {
    padding: 36px 40px 44px;
}

/* ── form ── */
.jr-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.jr-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── label ── */
.jr-label {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--magenta);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jr-prompt {
    color: var(--magenta-light);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ── input wrapper ── */
.jr-input-wrap,
.jr-select-wrap {
    position: relative;
}

/* ── inputs / select ── */
.jr-input,
.jr-select {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 8px 0 10px;
    caret-color: var(--magenta);
    resize: none;
}

.jr-select {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.jr-select option {
    background: var(--dark);
    color: #fff;
}

.jr-select-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--magenta);
    font-size: 0.7rem;
    pointer-events: none;
}

.jr-textarea {
    line-height: 1.6;
    min-height: 90px;
}

/* ── neon underline ── */
.jr-underline {
    height: 2px;
    background: linear-gradient(90deg,
        rgba(192,38,211,0.5),
        rgba(124,58,237,0.3));
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 6px rgba(192,38,211,0.3);
}

.jr-input:focus ~ .jr-underline,
.jr-select:focus ~ .jr-underline {
    background: linear-gradient(90deg, var(--magenta), var(--violet-light));
    box-shadow: 0 0 14px rgba(192,38,211,0.65),
                0 0 30px rgba(124,58,237,0.25);
}

/* ── placeholder style ── */
.jr-input::placeholder {
    color: rgba(255,255,255,0.18);
    letter-spacing: 0.3em;
}

/* ── submit row ── */
.jr-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 8px;
}

.jr-output {
    font-family: var(--font-display);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    gap: 8px;
}

.jr-out-prefix {
    color: var(--magenta);
    opacity: 0.75;
}

.jr-submit-btn {
    min-width: 200px;
}

/* success state */
.jr-output.success #joinOutputText { color: #4ade80; }
.jr-output.error   #joinOutputText { color: #f87171; }


/* ── shake animation for missing fields ── */
@keyframes inputShake {
    0%,100% { transform: translateX(0); }
    20%,60% { transform: translateX(-6px); }
    40%,80% { transform: translateX(6px); }
}
.jr-input.shake {
    animation: inputShake 0.45s ease;
    color: #f87171;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    /* hide HUD, reset padding */
    .join-hero,
    .join-roles,
    .join-perks,
    .join-recruit {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jr-term-body {
        padding: 24px 20px 32px;
    }

    .jr-submit-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .jr-submit-btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .jh-title {
        font-size: clamp(2.2rem, 9vw, 3.4rem);
    }

    .jh-stats {
        gap: 16px;
    }

    .roles-grid {
        grid-template-columns: 1fr;
    }

    .perks-grid {
        grid-template-columns: 1fr;
    }

    .role-card {
        height: 420px;
    }
}
