/* Home matches the GoldenNest banner: same art, logo, icons, and navbar */

body.home-landing {
    margin: 0;
    background: #06351c;
    font-family: 'Plus Jakarta Sans', 'Outfit', system-ui, sans-serif;
}

body.home-landing > .page-bg,
body.home-landing::before,
body.home-landing .ir-nav {
    display: none !important;
}

.gn-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.gn-home > *:not(.gn-canvas) {
    position: relative;
    z-index: 1;
}

.gn-home {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gn-poster,
.gn-panel,
.gn-market,
body.home-landing .ir-foot {
    width: min(560px, 100%);
}

.gn-poster {
    position: relative;
    flex: 0 0 auto;
}

.gn-poster > img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 94%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 94%, transparent 100%);
}

.gn-hit {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
    cursor: pointer;
    border-radius: 999px;
    -webkit-tap-highlight-color: transparent;
}

.gn-hit:focus-visible {
    outline: 3px solid #fff6c8;
    outline-offset: 2px;
}

.gn-hit-menu {
    left: 3.4%;
    top: 2.15%;
    width: 13.5%;
    height: 6.1%;
}

.gn-hit-reg {
    left: 6%;
    top: 86.4%;
    width: 42%;
    height: 7.2%;
}

.gn-hit-log {
    left: 52%;
    top: 86.4%;
    width: 42%;
    height: 7.2%;
}

.gn-menu {
    position: absolute;
    z-index: 8;
    left: 4%;
    top: 9%;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    border-radius: 16px;
    background: #0c3d22;
    border: 1px solid rgba(240, 196, 90, 0.55);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.gn-menu[hidden] { display: none; }

.gn-menu a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    color: #fff8e6;
    font-weight: 800;
    text-decoration: none;
}

.gn-menu a:hover,
.gn-menu a:focus-visible {
    background: rgba(240, 196, 90, 0.2);
    color: #ffe7a8;
}

.gn-panel {
    margin: -28px 0 0;
    line-height: 0;
    flex: 0 0 auto;
    background: transparent;
}

.gn-panel img {
    width: 100%;
    height: auto;
    display: block;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 84%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 84%, transparent 100%);
}

.gn-market {
    margin: 0;
    padding: 4px 0 8px;
    box-sizing: border-box;
    overflow: hidden;
    background: transparent;
    border: 0;
}

.gn-track {
    display: flex;
    width: max-content;
    gap: 10px;
    padding: 0 10px;
    animation: gnSlide 46s linear infinite;
}

.gn-review {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 230px;
    min-height: 74px;
    padding: 8px 12px 8px 8px;
    border-radius: 16px;
    background: rgba(4, 32, 18, 0.55);
    border: 1px solid rgba(240, 196, 90, 0.28);
    box-shadow: none;
}

.gn-av {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #e7c56a;
    background: #e9f8ee;
}

.gn-review div { min-width: 0; }

.gn-review strong,
.gn-review em,
.gn-review span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gn-review strong { color: #fff8e6; font-size: 0.86rem; }
.gn-review em { margin-top: 1px; color: #ffe08a; font-size: 0.74rem; font-style: normal; font-weight: 700; }
.gn-review span { margin-top: 2px; color: #b7ebc9; font-size: 0.72rem; font-weight: 800; }

body.home-landing .ir-foot {
    position: relative;
    z-index: 2;
    align-self: stretch;
    width: 100%;
    margin: auto 0 0;
    padding: 18px 14px 22px;
    text-align: center;
    background: linear-gradient(180deg, rgba(4, 38, 21, 0.2), #03180e 28%);
    border-top: 1px solid rgba(240, 196, 90, 0.4);
}

.gn-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: min(520px, 100%);
    margin: 0 auto 16px;
    padding: 0;
    list-style: none;
}

.gn-badges li {
    min-width: 0;
    padding: 10px 6px 9px;
    border-radius: 16px;
    background: rgba(8, 48, 28, 0.72);
    border: 1px solid rgba(240, 196, 90, 0.55);
    box-shadow: 0 0 16px rgba(240, 193, 74, 0.12);
}

.gn-seal {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff6d0, #f0c14a 55%, #8a5a08);
    color: #042615;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 0 10px rgba(240, 193, 74, 0.45);
}

.gn-seal-live {
    background: #123d24;
    box-shadow: 0 0 0 1px rgba(240, 196, 90, 0.7);
}

.gn-seal-live::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3dff8a;
    box-shadow: 0 0 10px #3dff8a;
    animation: gnLive 1.3s ease-in-out infinite;
}

.gn-badges strong,
.gn-badges small {
    display: block;
}

.gn-badges strong {
    color: #fff6d4;
    font-size: 0.74rem;
    line-height: 1.15;
}

.gn-badges small {
    margin-top: 2px;
    color: rgba(215, 245, 228, 0.78);
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.2;
}

.gn-foot-brand {
    margin: 0 0 4px;
    color: #ffe08a;
    font-size: 0.95rem;
    font-weight: 800;
}

body.home-landing .ir-foot p {
    margin: 0;
    color: #f6ecd4;
    font-size: 0.74rem;
    font-weight: 600;
}

body.home-landing .ir-foot p + p { margin-top: 3px; }

@keyframes gnLive {
    0%, 100% { transform: scale(0.8); opacity: 0.65; }
    50% { transform: scale(1); opacity: 1; }
}

@keyframes gnSlide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (min-width: 900px) {
    .gn-poster { padding-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .gn-track,
    .gn-seal-live::after { animation: none; }
}
