/* Unified information hub and official social channels. */
.page-info .info-hero .container::before {
    content: "SHINOBI LEGACY // ARCHÍVUM";
}

.page-socials .socials-hero .container::before {
    content: "SHINOBI LEGACY // SIGNAL";
}

.info-hero,
.socials-hero {
    overflow: hidden;
}

.info-hero h1 {
    max-width: 900px;
}

.info-hero p {
    max-width: 780px;
}

.info-quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 31px;
}

.info-quick-nav a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    border: 1px solid rgba(216, 184, 115, 0.2);
    color: rgba(247, 243, 233, 0.78);
    background: rgba(5, 12, 24, 0.72);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.info-quick-nav a span {
    color: var(--hud-gold);
}

.info-quick-nav a:hover {
    border-color: var(--hud-line-bright);
    color: var(--hud-text);
    background: rgba(216, 184, 115, 0.07);
    transform: translateY(-2px);
}

.info-hub {
    position: relative;
    z-index: 2;
    padding: 52px 0 58px;
    border-bottom: 1px solid rgba(216, 184, 115, 0.14);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        rgba(4, 9, 18, 0.86);
    background-size: 64px 64px;
}

.info-hub-heading,
.socials-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 27px;
}

.info-hub-heading h2,
.socials-section-heading h2 {
    margin-top: 8px;
    font-size: clamp(2rem, 4vw, 3.15rem);
}

.info-hub-heading > p,
.socials-section-heading > p {
    max-width: 390px;
    margin: 0;
    font-size: 0.83rem;
}

.info-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.info-hub-card {
    position: relative;
    display: flex;
    min-height: 275px;
    overflow: hidden;
    flex-direction: column;
    padding: 27px;
    border: 1px solid rgba(216, 184, 115, 0.17);
    background: linear-gradient(145deg, rgba(17, 30, 51, 0.94), rgba(6, 12, 23, 0.98));
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.18);
    transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.info-hub-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--hud-gold), transparent);
    transform: scaleX(0.2);
    opacity: 0.5;
    transition: transform 220ms ease, opacity 220ms ease;
}

.info-hub-card:hover {
    border-color: rgba(216, 184, 115, 0.38);
    box-shadow: 0 30px 72px rgba(0, 0, 0, 0.28);
    transform: translateY(-5px);
}

.info-hub-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.info-hub-number {
    position: absolute;
    top: 18px;
    right: 22px;
    color: rgba(216, 184, 115, 0.14);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.2rem;
    font-style: italic;
}

.info-hub-label {
    margin: 22px 0 10px;
    color: var(--hud-gold);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.info-hub-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 500;
}

.info-hub-card p {
    margin: 12px 0 22px;
    font-size: 0.85rem;
    line-height: 1.68;
}

.info-hub-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    color: rgba(247, 243, 233, 0.78);
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.info-hub-action b {
    color: var(--hud-gold);
    font-size: 1rem;
}

#rendszerallapot,
#gyik,
#kodex,
#platformok {
    scroll-margin-top: 76px;
}

.page-info .faq-status-section {
    padding-top: 62px;
}

.page-info .rules-oath-section {
    border-top: 1px solid rgba(216, 184, 115, 0.18);
}

/* Social hub */
.socials-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(40px, 8vw, 120px);
    align-items: center;
}

.socials-hero-copy {
    position: relative;
    z-index: 2;
}

.socials-hero h1 {
    max-width: 900px;
}

.socials-hero p {
    max-width: 770px;
}

.socials-scroll-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(216, 184, 115, 0.38);
    color: rgba(247, 243, 233, 0.82);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.socials-scroll-link span {
    color: var(--hud-gold);
}

.socials-signal {
    position: relative;
    display: grid;
    width: 260px;
    height: 260px;
    place-items: center;
    justify-self: end;
}

.socials-signal::before,
.socials-signal::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.socials-signal::before {
    inset: 22px;
    border: 1px solid rgba(216, 184, 115, 0.23);
    box-shadow: inset 0 0 48px rgba(216, 184, 115, 0.06), 0 0 56px rgba(0, 0, 0, 0.28);
}

.socials-signal::after {
    inset: 55px;
    border: 1px dashed rgba(216, 184, 115, 0.3);
    animation: socials-rotate 24s linear infinite;
}

.socials-signal-ring {
    position: absolute;
    border: 1px solid rgba(216, 184, 115, 0.17);
    border-radius: 50%;
    animation: socials-pulse 3.8s ease-out infinite;
}

.socials-signal-ring-one {
    inset: 0;
}

.socials-signal-ring-two {
    inset: -20px;
    animation-delay: 1.4s;
}

.socials-signal-core {
    color: var(--hud-gold);
    font-family: "Yu Mincho", "MS Mincho", Georgia, serif;
    font-size: 4.4rem;
    text-shadow: 0 0 28px rgba(216, 184, 115, 0.32);
}

.socials-signal-label {
    position: absolute;
    bottom: 36px;
    color: rgba(247, 243, 233, 0.48);
    font-size: 0.54rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.socials-platforms {
    position: relative;
    background:
        radial-gradient(circle at 8% 16%, rgba(88, 101, 242, 0.1), transparent 28%),
        radial-gradient(circle at 92% 72%, rgba(255, 0, 0, 0.07), transparent 26%),
        rgba(4, 9, 18, 0.78);
}

.social-platform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.social-platform-card {
    --channel-color: 216, 184, 115;
    position: relative;
    display: flex;
    min-height: 570px;
    overflow: hidden;
    flex-direction: column;
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid rgba(var(--channel-color), 0.24);
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--channel-color), 0.2), transparent 34%),
        linear-gradient(145deg, rgba(18, 30, 50, 0.96), rgba(5, 11, 21, 0.99));
    box-shadow: 0 30px 72px rgba(0, 0, 0, 0.24);
    transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.social-platform-discord {
    --channel-color: 88, 101, 242;
}

.social-platform-youtube {
    --channel-color: 255, 48, 48;
}

.social-platform-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(var(--channel-color), 0.17);
    border-radius: 50%;
    transform: translate(42%, -42%);
    transition: transform 380ms ease;
}

.social-platform-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(var(--channel-color), 0.95), transparent);
    transform: scaleX(0.3);
    transition: transform 240ms ease;
}

.social-platform-card:hover {
    border-color: rgba(var(--channel-color), 0.55);
    box-shadow: 0 38px 92px rgba(0, 0, 0, 0.35);
    transform: translateY(-7px);
}

.social-platform-card:hover::before {
    transform: translate(36%, -36%) scale(1.15);
}

.social-platform-card:hover::after {
    transform: scaleX(1);
}

.social-platform-index {
    align-self: flex-end;
    color: rgba(247, 243, 233, 0.36);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.17em;
}

.social-platform-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 24px 0 30px;
    border: 1px solid rgba(var(--channel-color), 0.48);
    place-items: center;
    color: rgb(var(--channel-color));
    background: rgba(var(--channel-color), 0.08);
    box-shadow: 0 0 34px rgba(var(--channel-color), 0.12);
    transform: rotate(45deg);
}

.social-platform-icon svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
    transform: rotate(-45deg);
}

.social-platform-kicker {
    color: rgb(var(--channel-color));
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.social-platform-card h3 {
    margin: 9px 0 13px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    font-weight: 500;
}

.social-platform-card > p {
    max-width: 520px;
    margin: 0;
    font-size: 0.93rem;
}

.social-platform-card ul {
    display: grid;
    gap: 10px;
    margin: 26px 0 30px;
    padding: 0;
    list-style: none;
}

.social-platform-card li {
    position: relative;
    padding-left: 22px;
    color: rgba(247, 243, 233, 0.72);
    font-size: 0.77rem;
    line-height: 1.5;
}

.social-platform-card li::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 1px;
    width: 7px;
    height: 7px;
    border: 1px solid rgba(var(--channel-color), 0.75);
    transform: rotate(45deg);
}

.social-platform-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
    padding: 17px 0 11px;
    border-top: 1px solid rgba(var(--channel-color), 0.23);
    color: rgba(247, 243, 233, 0.92);
    font-size: 0.71rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.social-platform-action span {
    color: rgb(var(--channel-color));
    font-size: 1.2rem;
    transition: transform 180ms ease;
}

.social-platform-action:hover span {
    transform: translate(3px, -3px);
}

.socials-guide {
    padding: 76px 0;
    border-top: 1px solid rgba(216, 184, 115, 0.12);
    border-bottom: 1px solid rgba(216, 184, 115, 0.12);
    background: rgba(6, 12, 23, 0.92);
}

.socials-guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(48px, 9vw, 120px);
}

.socials-guide-layout h2 {
    margin-top: 9px;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.socials-guide-list {
    border-top: 1px solid rgba(216, 184, 115, 0.25);
}

.socials-guide-list article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.socials-guide-list article > span {
    color: rgba(216, 184, 115, 0.58);
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
}

.socials-guide-list h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.socials-guide-list p {
    margin: 0;
    font-size: 0.84rem;
}

.socials-final-cta {
    padding: 70px 0;
    background:
        radial-gradient(circle at 50% 120%, rgba(216, 184, 115, 0.1), transparent 42%),
        rgba(4, 9, 18, 0.85);
}

.socials-final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.socials-final-cta h2 {
    max-width: 650px;
    margin-top: 8px;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.socials-final-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 11px;
}

@keyframes socials-rotate {
    to { transform: rotate(360deg); }
}

@keyframes socials-pulse {
    0% { opacity: 0; transform: scale(0.76); }
    35% { opacity: 0.55; }
    100% { opacity: 0; transform: scale(1.12); }
}

@media (max-width: 980px) {
    .info-hub-heading,
    .socials-section-heading,
    .socials-final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .info-hub-grid {
        grid-template-columns: 1fr;
    }

    .info-hub-card {
        min-height: 230px;
    }

    .socials-hero-layout {
        grid-template-columns: 1fr;
    }

    .socials-signal {
        position: absolute;
        top: 50%;
        right: -80px;
        opacity: 0.28;
        transform: translateY(-50%);
    }

    .social-platform-grid,
    .socials-guide-layout {
        grid-template-columns: 1fr;
    }

    .social-platform-card {
        min-height: 530px;
    }

    .socials-final-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .info-quick-nav {
        display: grid;
        grid-template-columns: 1fr;
    }

    .info-quick-nav a {
        justify-content: flex-start;
    }

    .info-hub,
    .socials-guide,
    .socials-final-cta {
        padding-block: 48px;
    }

    .info-hub-heading,
    .socials-section-heading {
        margin-bottom: 21px;
    }

    .info-hub-card,
    .social-platform-card {
        padding: 24px;
    }

    .socials-signal {
        right: -130px;
    }

    .social-platform-card {
        min-height: 0;
    }

    .social-platform-icon {
        width: 60px;
        height: 60px;
    }

    .social-platform-icon svg {
        width: 30px;
        height: 30px;
    }

    .socials-final-actions,
    .socials-final-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .socials-signal::after,
    .socials-signal-ring {
        animation: none;
    }

    .info-hub-card,
    .social-platform-card,
    .info-quick-nav a {
        transition: none;
    }
}
