/* ==========================================================================
   HERO — Desktop (1280px – 1920px)
   Design reference: 1920x922. Section height follows the real viewport
   (devices vary in aspect ratio), while everything inside scales in rem
   with the viewport width (see global.css fluid scale).
   ========================================================================== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Mobile-only hero elements (see hero.mobile.css) — hidden here so they
   don't leak through on desktop. */
.hero-mobile__bg,
.hero-mobile__wordmark,
.hero-mobile__logo,
.hero-mobile__marquee,
.popup-mobile {
    display: none;
}

/* Scoped to .hero (not a bare .popup rule) — popup.desktop.css loads
   after this file in <head>, so an equal-specificity .popup rule here
   would lose the cascade. The settings button on this page uses the
   actions.desktop.css default (bottom: 7rem), same as .settings-panel,
   so the pop-up sits ~14px above it at bottom: 13rem. */
.hero .popup {
    bottom: 13rem;
}


/* Seam patch — solid black strip right at the bottom edge, covering
   any hairline gap between hero and the section that follows it. */
.hero__seam-patch {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background-color: #000000;
    z-index: 10;
}

/* Background — covers the whole hero, extra height/width simply
   gets clipped by .hero's overflow: hidden. Anchored to the top so any
   spare height (taller/squarer screens) is cropped from the bottom. */
.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 0;
}

/* Decorative line grid — same treatment as the background: covers the
   whole hero, kept centered, extra size clipped by .hero's overflow. */
.hero__lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

/* Decorative rotating circles — fixed dead-center of the hero. */
.hero__circle {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
}

.hero__circle--1 {
    width: 105.5rem;
    height: 105.5rem;
    animation: hero-spin-cw 50s linear infinite;
}

.hero__circle--2 {
    width: 140rem;
    height: 140rem;
    animation: hero-spin-ccw 70s linear infinite;
}

@keyframes hero-spin-cw {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes hero-spin-ccw {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* Shared caps text style used by both the top-left nav links and the
   bottom-left link list (Manga/Characters). Each item is positioned
   with its own modifier class. */
.hero__text-link {
    position: absolute;
    left: 5rem;
    font-family: 'Atyp Display', sans-serif;
    font-weight: 400;
    font-size: 3.5rem;
    line-height: 3.5rem;
    letter-spacing: -0.08em;
    text-transform: uppercase;
    color: #000000;
    z-index: 3;
    transition: opacity 0.2s ease;
}

/* Top-left nav */
.hero__text-link--homepage {
    top: 5rem;
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.hero__text-link--portfolio,
.hero__text-link--services,
.hero__text-link--reviews,
.hero__text-link--events {
    opacity: 1;
}

.hero__text-link--portfolio:hover,
.hero__text-link--services:hover,
.hero__text-link--reviews:hover,
.hero__text-link--events:hover {
    opacity: 0.5;
}

.hero__text-link--portfolio { top: 9rem; }
.hero__text-link--services { top: 13rem; }
.hero__text-link--reviews { top: 17rem; }
.hero__text-link--events { top: 21rem; }

/* Bottom-left link list */
.hero__text-link--manga,
.hero__text-link--characters {
    color: #ffffff;
}

.hero__text-link--manga {
    bottom: 27rem;
    opacity: 0.2;
    text-decoration: line-through;
    cursor: default;
    pointer-events: none;
}

.hero__text-link--characters {
    bottom: 23rem;
    opacity: 1;
}

.hero__text-link--characters:hover {
    opacity: 0.5;
}

/* Bottom-left social icons */
.hero__social-icon {
    position: absolute;
    left: 5rem;
    width: 33.2rem;
    height: 2.7rem;
    z-index: 3;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.hero__social-icon:hover {
    opacity: 0.5;
}

.hero__social-icon--instagram { bottom: 18.1rem; }
.hero__social-icon--behance { bottom: 14.4rem; }
.hero__social-icon--linkedin { bottom: 10.7rem; }
.hero__social-icon--telegram { bottom: 7rem; }

/* Bottom-left copyright text */
.hero__rights {
    position: absolute;
    left: 5rem;
    bottom: 2rem;
    font-family: 'Atyp Display', sans-serif;
    font-weight: 400;
    font-size: 2rem;
    line-height: 2.5rem;
    letter-spacing: -0.08em;
    text-transform: uppercase;
    color: #ffffff;
    z-index: 3;
}

/* Bottom-right logo */
.hero__bottom-logo {
    position: absolute;
    right: 5rem;
    bottom: 2rem;
    width: 14.4rem;
    height: 2rem;
    z-index: 3;
}

