/* Almas Poultry Farm — glass and liquid public theme */

body.almas-public {
    --am-ink: #eef6f1;
    --am-muted: rgba(238, 246, 241, 0.72);
    --am-gold: #f0c15a;
    --am-gold-2: #fff1c9;
    --am-mint: #7ddec0;
    --am-deep: #04140f;
    --am-line: rgba(255, 255, 255, 0.18);
    --am-display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
    --am-body: 'Manrope', 'Outfit', system-ui, sans-serif;
    --am-urdu: 'Noto Nastaliq Urdu', serif;
    --am-nav: 78px;
    background: var(--am-deep);
    color: var(--am-ink);
    font-family: var(--am-body);
}

body.almas-public .page-bg {
    background:
        radial-gradient(900px 480px at 8% -10%, rgba(125, 222, 192, 0.2), transparent 58%),
        radial-gradient(760px 520px at 100% 0%, rgba(240, 193, 90, 0.16), transparent 52%),
        radial-gradient(640px 420px at 70% 110%, rgba(14, 107, 82, 0.45), transparent 60%),
        linear-gradient(165deg, #03110d 0%, #073226 46%, #020a08 100%);
}

body.almas-public .page-bg::before,
body.almas-public .page-bg::after {
    display: none;
}

.am-liquid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.am-blob {
    position: absolute;
    width: 42vw;
    height: 42vw;
    min-width: 280px;
    min-height: 280px;
    border-radius: 46% 54% 62% 38% / 42% 36% 64% 58%;
    filter: blur(8px);
    opacity: 0.55;
    animation: amMorph 16s ease-in-out infinite;
}

.am-blob-a {
    top: -12vw;
    left: -8vw;
    background: radial-gradient(circle at 30% 30%, rgba(186, 255, 226, 0.55), rgba(16, 120, 90, 0.08) 70%);
}

.am-blob-b {
    right: -14vw;
    top: 18vh;
    background: radial-gradient(circle at 40% 40%, rgba(255, 226, 160, 0.42), rgba(240, 193, 90, 0.05) 72%);
    animation-delay: -6s;
}

.am-blob-c {
    left: 28vw;
    bottom: -18vw;
    width: 36vw;
    height: 36vw;
    background: radial-gradient(circle at 50% 40%, rgba(90, 200, 170, 0.28), transparent 70%);
    animation-delay: -11s;
}

@keyframes amMorph {
    0%, 100% { border-radius: 46% 54% 62% 38% / 42% 36% 64% 58%; transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { border-radius: 62% 38% 44% 56% / 58% 62% 38% 42%; transform: translate3d(2%, 3%, 0) rotate(8deg); }
}

body.almas-public .gg-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(4, 18, 14, 0.55);
    border-bottom: 1px solid var(--am-line);
    backdrop-filter: blur(22px) saturate(1.45);
    -webkit-backdrop-filter: blur(22px) saturate(1.45);
}

body.almas-public .gg-nav-bar {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    min-height: var(--am-nav);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 0 8px;
    position: relative;
}

body.almas-public .gg-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

body.almas-public .gg-nav-logo-wrap {
    width: 52px;
    height: 52px;
    padding: 2px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(240, 193, 90, 0.4) 40%, rgba(125, 222, 192, 0.45));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

body.almas-public .gg-nav-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    background: #06281c;
}

body.almas-public .gg-nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    min-width: 0;
}

body.almas-public .gg-nav-brand-top {
    font-family: var(--am-display);
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    line-height: 1.15;
    color: var(--am-gold-2);
    white-space: normal;
}

body.almas-public .gg-nav-brand-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    color: var(--am-mint);
    font-weight: 700;
}

body.almas-public .gg-nav-brand-sub span {
    width: 14px;
    height: 1px;
    background: rgba(125, 222, 192, 0.55);
}

body.almas-public .gg-nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--am-line);
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

body.almas-public .gg-nav-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--am-gold-2);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

body.almas-public .gg-nav.is-open .gg-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.almas-public .gg-nav.is-open .gg-nav-toggle span:nth-child(2) { opacity: 0; }
body.almas-public .gg-nav.is-open .gg-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.almas-public .gg-nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(280px, calc(100vw - 28px));
    padding: 10px;
    border-radius: 20px;
    border: 1px solid var(--am-line);
    background: rgba(6, 24, 18, 0.92);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(18px);
    flex-direction: column;
    gap: 4px;
    z-index: 50;
}

body.almas-public .gg-nav.is-open .gg-nav-menu { display: flex; }

body.almas-public .gg-nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    color: var(--am-ink);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

body.almas-public .gg-nav-link.is-active,
body.almas-public .gg-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--am-gold-2);
}

body.almas-public .gg-nav-cta {
    justify-content: center;
    margin-top: 4px;
    background: linear-gradient(120deg, #fff4d2, #e7b44a 55%, #8fe0c4);
    color: #102117 !important;
}

@media (min-width: 980px) {
    body.almas-public .gg-nav-toggle { display: none; }
    body.almas-public .gg-nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        width: auto;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        gap: 4px;
    }
    body.almas-public .gg-nav-link {
        min-height: 40px;
        padding: 0 14px;
        border-radius: 999px;
        font-size: 0.84rem;
    }
    body.almas-public .gg-nav-cta {
        margin: 0 0 0 8px;
        padding: 0 16px;
    }
}

.am-wrap {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
}

.am-reel {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 20px));
    margin: 12px auto 6px;
    height: min(42vw, 340px);
    min-height: 210px;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
    background: #04140f;
}

.am-reel-track {
    position: absolute;
    inset: 0;
}

.am-reel-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.8s ease, transform 5s ease;
}

.am-reel-slide.is-on {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.am-reel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.am-reel-slide figcaption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(4, 20, 15, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff6dc;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.am-reel-dots {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.am-reel-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.38);
}

.am-reel-dots button.is-on {
    width: 28px;
    background: linear-gradient(90deg, #fff6dc, #f0c15a);
}

body.almas-home .am-btn,
body.almas-home .am-btn-ghost,
body.almas-home .gg-nav-link,
body.almas-home .am-stat,
body.almas-home .am-card,
body.almas-home .am-step,
body.almas-home .am-ref,
body.almas-home .am-rate,
body.almas-home .am-note {
    clip-path: none;
    border-radius: 18px;
}

body.almas-home .am-btn,
body.almas-home .am-btn-user {
    min-height: 58px;
    padding: 8px 22px;
    border-radius: 999px;
}

body.almas-home .gg-nav-link {
    border-radius: 999px;
}

body.almas-home .am-hero h1 {
    letter-spacing: -0.03em;
}

body.almas-home .am-lead {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

body.almas-home .am-liquid {
    display: none;
}

body.almas-home .page-bg {
    background:
        radial-gradient(720px 280px at 50% 0%, rgba(240, 193, 90, 0.12), transparent 58%),
        linear-gradient(180deg, #071910 0%, #0a2a1e 42%, #06140f 100%);
}

body.almas-home .am-hero {
    display: block;
    text-align: center;
    padding: 28px 0 8px;
}

body.almas-home .am-kicker {
    margin-left: auto;
    margin-right: auto;
}

body.almas-home .am-hero h1 span {
    display: inline;
}

body.almas-home .am-actions {
    justify-content: center;
}

body.almas-home .am-urdu {
    margin-left: auto;
    margin-right: auto;
}

body.almas-home .am-reel {
    height: min(48vw, 420px);
    min-height: 230px;
    border-radius: 32px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 241, 201, 0.12);
}

body.almas-public .am-submit,
body.almas-public .am-outline,
body.almas-public .am-auth-card,
body.almas-public .am-auth-visual {
    clip-path: none;
}

body.almas-public .am-auth-card,
body.almas-public .am-auth-visual {
    border-radius: 28px;
}

body.almas-public .am-submit,
body.almas-public .am-outline {
    border-radius: 999px;
}

.am-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
    align-items: center;
    padding: 28px 0 18px;
}

.am-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--am-line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--am-gold-2);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.am-kicker i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--am-mint);
    box-shadow: 0 0 12px var(--am-mint);
}

.am-hero h1 {
    font-family: var(--am-display);
    font-weight: 650;
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    line-height: 0.96;
    letter-spacing: 0.01em;
}

.am-hero h1 span {
    display: block;
    background: linear-gradient(120deg, #fffaf0 10%, #f0c15a 42%, #b8ffe4 88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.am-urdu {
    margin-top: 14px;
    font-family: var(--am-urdu);
    font-size: 1.15rem;
    line-height: 2;
    color: var(--am-gold-2);
}

.am-lead {
    max-width: 540px;
    margin-top: 14px;
    color: var(--am-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.am-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.am-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: #102117;
    background: linear-gradient(115deg, #fff6dc 0%, #f0c15a 46%, #7ddec0 130%);
    box-shadow: 0 14px 30px rgba(240, 193, 90, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.75);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.am-btn small,
.am-btn-ghost small {
    display: block;
    font-weight: 650;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    opacity: 0.75;
}

.am-btn strong,
.am-btn-ghost strong { display: block; font-size: 0.98rem; }

.am-btn::after,
.am-submit::after {
    content: '';
    position: absolute;
    inset: -40% auto -40% -40%;
    width: 38%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    transform: skewX(-18deg);
    animation: amSheen 3.6s ease-in-out infinite;
}

.am-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(240, 193, 90, 0.32); }

.am-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid var(--am-line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--am-ink);
    text-decoration: none;
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.am-btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.am-btn-mark,
.am-submit img,
.am-outline img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
}

@keyframes amSheen {
    0%, 42% { left: -40%; }
    70%, 100% { left: 130%; }
}

.am-orbit {
    position: relative;
    height: min(520px, 72vw);
    perspective: 1200px;
    transform-style: preserve-3d;
    transition: transform 0.18s ease-out;
}

.am-orbit-ring,
.am-orbit-ring-2 {
    position: absolute;
    inset: 8% 6%;
    border-radius: 46% 54% 48% 52%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: amSpin 22s linear infinite;
}

.am-orbit-ring-2 {
    inset: 16% 14%;
    animation-duration: 16s;
    animation-direction: reverse;
    border-color: rgba(240, 193, 90, 0.35);
}

@keyframes amSpin { to { transform: rotate(360deg); } }

.am-orbit-card {
    position: absolute;
    inset: 12% 10% 14%;
    margin: 0;
    border-radius: 36px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: rotateY(-14deg) rotateX(6deg);
    animation: amFloat 5.5s ease-in-out infinite;
}

.am-orbit-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.am-orbit-logo {
    position: absolute;
    width: 132px;
    height: 132px;
    right: 0;
    bottom: 6%;
    object-fit: cover;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    animation: amFloat 4.4s ease-in-out infinite reverse;
}

@keyframes amFloat {
    0%, 100% { transform: translateY(0) rotateY(-14deg) rotateX(6deg); }
    50% { transform: translateY(-12px) rotateY(-8deg) rotateX(3deg); }
}

.am-orbit-logo { animation-name: amFloatLogo; }
@keyframes amFloatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.am-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 8px 0 28px;
}

.am-stat,
.am-card,
.am-step,
.am-ref,
.am-auth-card,
.am-auth-visual {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.am-stat {
    padding: 16px 16px 14px;
    border-radius: 22px;
}

.am-stat b {
    display: block;
    font-family: var(--am-display);
    font-size: 1.35rem;
    color: var(--am-gold-2);
}

.am-stat span {
    display: block;
    margin-top: 4px;
    color: var(--am-muted);
    font-size: 0.84rem;
}

.am-section { padding: 18px 0 8px; }

.am-section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 16px;
}

.am-section-head h2,
.am-ref h2,
.am-auth-card h2 {
    font-family: var(--am-display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 650;
    letter-spacing: 0.01em;
}

.am-section-head p,
.am-ref p,
.am-step p,
.am-card p { color: var(--am-muted); line-height: 1.6; }

.am-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.am-card,
.am-step {
    border-radius: 26px;
    padding: 18px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.am-card:hover,
.am-step:hover {
    transform: translateY(-6px);
    border-color: rgba(240, 193, 90, 0.45);
}

.am-glyph {
    width: 86px;
    height: 86px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.am-glyph img {
    position: absolute;
    top: 0;
    height: 100%;
    width: 300%;
    max-width: none;
    object-fit: cover;
}

.am-glyph-hen img { left: 0; }
.am-glyph-egg img { left: -100%; }
.am-glyph-shield img { left: -200%; }

.am-glyph-svg {
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 20%, rgba(255, 244, 210, 0.4), rgba(8, 40, 30, 0.2));
}

.am-glyph-svg svg { width: 40px; height: 40px; stroke: #fff4d2; fill: none; }

.am-card h3,
.am-step h3 { font-size: 1.05rem; margin-bottom: 6px; }

.am-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.am-step em {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: rgba(240, 193, 90, 0.16);
    color: var(--am-gold-2);
    font-style: normal;
    font-weight: 800;
}

.am-ref {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 22px;
    margin: 22px 0 10px;
    padding: 26px;
    border-radius: 32px;
}

.am-ref-rates {
    display: grid;
    gap: 10px;
    align-content: center;
}

.am-rate {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(4, 20, 15, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.am-rate b {
    display: block;
    font-family: var(--am-display);
    font-size: 1.6rem;
    color: var(--am-gold-2);
}

.am-rate span { color: var(--am-muted); font-size: 0.86rem; }

.am-note {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(240, 193, 90, 0.12);
    border: 1px solid rgba(240, 193, 90, 0.28);
    color: #fff6df;
    font-size: 0.92rem;
}

body.almas-public .gg-footer {
    position: relative;
    z-index: 1;
    margin-top: 28px;
    padding: 28px 16px calc(22px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--am-line);
    background: rgba(3, 14, 11, 0.55);
    backdrop-filter: blur(16px);
}

body.almas-public .gg-footer-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    text-align: center;
}

body.almas-public .gg-footer-crown img {
    width: 54px;
    height: 54px;
    margin: 0 auto 10px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

body.almas-public .gg-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 10px;
}

body.almas-public .gg-footer-links a {
    color: var(--am-muted);
    font-weight: 700;
    font-size: 0.88rem;
}

body.almas-public .gg-footer-links a:hover,
body.almas-public .gg-footer-links a.is-active { color: var(--am-gold-2); }

body.almas-public .gg-footer-note,
body.almas-public .gg-footer-copy {
    color: var(--am-muted);
    font-size: 0.84rem;
}

body.almas-public .gg-heart { color: #f0c15a; }

.am-auth {
    position: relative;
    z-index: 1;
    width: min(1080px, calc(100% - 28px));
    margin: 22px auto 10px;
}

.am-auth-shell {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 16px;
    align-items: stretch;
}

.am-auth-visual {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    border-radius: 32px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.am-auth-visual img.am-auth-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.am-auth-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 16, 12, 0.05), rgba(4, 16, 12, 0.78));
}

.am-auth-visual .am-auth-copy { position: relative; z-index: 1; }

.am-auth-visual h2 {
    font-family: var(--am-display);
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1;
}

.am-auth-card {
    border-radius: 32px;
    padding: 26px 24px 22px;
}

.am-auth-card h2 span {
    background: linear-gradient(120deg, #fff6dc, #7ddec0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.am-auth-card .am-sub {
    margin: 6px 0 16px;
    color: var(--am-muted);
}

.am-field { margin-bottom: 12px; }

.am-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(238, 246, 241, 0.78);
}

.am-box {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(3, 16, 12, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.am-box:focus-within {
    border-color: rgba(240, 193, 90, 0.7);
    box-shadow: 0 0 0 4px rgba(240, 193, 90, 0.12);
}

.am-box svg { width: 18px; height: 18px; stroke: #f0c15a; flex-shrink: 0; }

.am-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 0.98rem;
}

.am-box input::placeholder { color: rgba(255, 255, 255, 0.38); }

.am-eye {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #fff6df;
    display: grid;
    place-items: center;
}

.am-eye svg { width: 18px; height: 18px; stroke: currentColor; }

.am-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin: 4px 0 12px;
    font-size: 0.88rem;
}

.am-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--am-muted);
}

.am-check input { accent-color: #d7a441; }

.am-forgot { color: var(--am-gold-2); font-weight: 700; }

.am-ref-pill {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(125, 222, 192, 0.12);
    border: 1px solid rgba(125, 222, 192, 0.28);
    color: #e7fff6;
    font-size: 0.9rem;
}

.am-submit,
.am-outline {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    text-decoration: none;
}

.am-submit {
    border: 0;
    color: #102117;
    background: linear-gradient(115deg, #fff6dc, #f0c15a 50%, #8fe0c4);
    box-shadow: 0 12px 26px rgba(240, 193, 90, 0.24);
}

.am-submit:disabled { opacity: 0.7; }

.am-or {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
}

.am-or::before,
.am-or::after {
    content: '';
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.am-outline {
    border: 1px solid var(--am-line);
    color: var(--am-ink);
    background: rgba(255, 255, 255, 0.04);
}

.am-switch { margin-top: 12px; text-align: center; color: var(--am-muted); }
.am-switch a { color: var(--am-gold-2); font-weight: 800; }

.auth-msg {
    display: none;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
}

.auth-msg.show { display: block; }
.auth-msg.error { background: rgba(255, 120, 120, 0.14); color: #ffd4d4; border: 1px solid rgba(255, 140, 140, 0.3); }
.auth-msg.success { background: rgba(125, 222, 192, 0.14); color: #dcfff3; border: 1px solid rgba(125, 222, 192, 0.32); }

.am-trust {
    position: relative;
    z-index: 1;
    width: min(1080px, calc(100% - 28px));
    margin: 14px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.am-trust article {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--am-muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.am-rise { animation: amRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.am-d1 { animation-delay: 0.08s; }
.am-d2 { animation-delay: 0.16s; }
.am-d3 { animation-delay: 0.24s; }

@keyframes amRise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

body.almas-public .gg-load {
    background: #03110d;
}

body.almas-public .gg-load-bg {
    background:
        radial-gradient(500px 280px at 50% 30%, rgba(240, 193, 90, 0.18), transparent 60%),
        radial-gradient(420px 320px at 20% 80%, rgba(125, 222, 192, 0.16), transparent 60%),
        #03110d;
}

body.almas-public .gg-load-chick,
body.almas-public .gg-load-egg,
body.almas-public .gg-load-shadow { display: none; }

body.almas-public .gg-load-float {
    width: 148px;
    height: 148px;
    display: grid;
    place-items: center;
}

body.almas-public .am-load-mark {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    animation: amFloatLogo 3s ease-in-out infinite;
}

body.almas-public .gg-load-brand,
body.almas-public .gg-load-sub { letter-spacing: 0.22em; }
body.almas-public .gg-load-brand { color: #fff6df; }
body.almas-public .gg-load-sub { color: #7ddec0; }

@media (max-width: 979px) {
    .am-hero,
    .am-ref,
    .am-auth-shell,
    .am-grid,
    .am-steps,
    .am-stats,
    .am-trust { grid-template-columns: 1fr 1fr; }
    .am-orbit { height: 380px; order: -1; }
    .am-hero { grid-template-columns: 1fr; }
    .am-auth-visual { min-height: 240px; }
}

@media (max-width: 680px) {
    .am-grid,
    .am-steps,
    .am-stats,
    .am-trust,
    .am-ref,
    .am-auth-shell { grid-template-columns: 1fr; }
    .am-section-head { flex-direction: column; align-items: flex-start; }
    .am-orbit { height: 340px; }
    .am-orbit-logo { width: 84px; height: 84px; }
    .am-orbit-field { display: none; }
    body.almas-public .gg-nav-brand-top { font-size: 0.78rem; }
}

/* Advanced cut shapes — buttons, panels, hen frames */

.am-btn,
.am-submit {
    border-radius: 0;
    border: 0;
    clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
    filter: drop-shadow(0 14px 16px rgba(240, 193, 90, 0.28));
    padding-left: 28px;
    padding-right: 28px;
}

.am-btn-ghost,
.am-outline,
.am-portal {
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 18px 100%);
}

.am-btn-admin,
.am-portal.is-admin,
body.almas-public .gg-nav-admin {
    clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
    background: linear-gradient(120deg, rgba(125, 222, 192, 0.22), rgba(255, 255, 255, 0.06));
    color: #e9fff6;
    border: 0;
}

.am-btn-user,
.am-portal.is-user,
body.almas-public .gg-nav-user {
    clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
    background: linear-gradient(115deg, #fff6dc, #f0c15a 70%);
    color: #102117;
    border: 0;
}

body.almas-public .gg-nav-link {
    border-radius: 0;
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
    padding: 0 18px;
}

body.almas-public .gg-nav-link.is-active,
body.almas-public .gg-nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--am-gold-2);
}

body.almas-public .gg-nav-user,
body.almas-public .gg-nav-user.is-active,
body.almas-public .gg-nav-user:hover {
    background: linear-gradient(115deg, #fff6dc, #f0c15a);
    color: #102117;
}

body.almas-public .gg-nav-admin,
body.almas-public .gg-nav-admin:hover {
    background: linear-gradient(120deg, #14382c, #1f6b56);
    color: #e9fff6;
}

.am-stat,
.am-card,
.am-rate,
.am-note {
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.am-step:nth-child(1) {
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}
.am-step:nth-child(2) {
    border-radius: 0;
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
}
.am-step:nth-child(3) {
    border-radius: 0;
    clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%, 0 26px);
}

.am-ref {
    border-radius: 0;
    clip-path: polygon(0 32px, 32px 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%);
}

.am-auth-card {
    border-radius: 0;
    padding-right: 42px;
    clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
}

.am-auth-visual {
    border-radius: 0;
    clip-path: polygon(46px 0, 100% 0, 100% 100%, 0 100%, 0 46px);
}

.am-box {
    border-radius: 2px 18px 2px 18px;
}

.am-glyph {
    border-radius: 0;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.am-glyph-photo img {
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.am-orbit-card {
    border-radius: 0;
    clip-path: polygon(50% 0, 100% 24%, 84% 100%, 16% 100%, 0 24%);
}

.am-orbit-side,
.am-orbit-field {
    position: absolute;
    margin: 0;
    overflow: hidden;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.am-orbit-side {
    width: 42%;
    height: 30%;
    left: 0;
    bottom: 10%;
    clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}

.am-orbit-field {
    width: 34%;
    height: 24%;
    right: 4%;
    top: 8%;
    clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

.am-orbit-side img,
.am-orbit-field img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.am-orbit-logo {
    border-radius: 0;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    object-fit: cover;
    background: #1a1208;
    z-index: 3;
}

.am-auth-hen {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    width: 84px;
    height: 84px;
    object-fit: cover;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    border: 0;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.4));
}

.am-portals {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.am-portal {
    min-height: 40px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.04em;
}

.am-portal.is-on {
    filter: drop-shadow(0 8px 12px rgba(240, 193, 90, 0.25));
}

/* One background, centered mobile tree, realistic icons */

body.almas-public .am-liquid {
    display: none;
}

body.almas-public .page-bg {
    background:
        linear-gradient(180deg, rgba(5, 22, 16, 0.88) 0%, rgba(6, 28, 20, 0.92) 40%, rgba(4, 16, 12, 0.94) 100%),
        url('../images/almas-hen-4.jpg') center 20% / cover no-repeat fixed;
}

body.almas-public .am-auth-visual {
    display: none;
}

body.almas-public .am-auth,
body.almas-public .am-auth-shell,
body.almas-public .am-wrap,
body.almas-public .am-reel,
body.almas-public .am-trust {
    width: min(440px, calc(100% - 20px));
    margin-left: auto;
    margin-right: auto;
}

body.almas-public .am-auth-shell,
body.almas-public .am-grid,
body.almas-public .am-steps,
body.almas-public .am-stats,
body.almas-public .am-trust,
body.almas-public .am-ref {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

body.almas-public .am-hero,
body.almas-public .am-section,
body.almas-public .am-section-head,
body.almas-public .am-section-head p,
body.almas-public .am-card,
body.almas-public .am-step,
body.almas-public .am-stat,
body.almas-public .am-ref,
body.almas-public .am-rate,
body.almas-public .am-note,
body.almas-public .am-auth-card,
body.almas-public .am-trust article,
body.almas-public .gg-footer {
    text-align: center;
}

body.almas-public .am-section-head {
    display: block;
}

body.almas-public .am-actions,
body.almas-public .am-urdu,
body.almas-public .am-lead,
body.almas-public .am-kicker {
    margin-left: auto;
    margin-right: auto;
}

body.almas-public .am-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.almas-public .am-btn,
body.almas-public .am-btn-ghost,
body.almas-public .am-submit,
body.almas-public .am-outline {
    width: min(100%, 340px);
    justify-content: center;
}

body.almas-public .am-tree {
    position: relative;
    padding: 4px 0;
}

body.almas-public .am-tree::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 18px;
    bottom: 18px;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(#f0c15a, rgba(125, 222, 192, 0.2), #7ddec0);
    pointer-events: none;
}

body.almas-public .am-real {
    width: 64px;
    height: 64px;
    margin: 0 auto 8px;
    border-radius: 50%;
    object-fit: cover;
    background: #102117;
    border: 2px solid rgba(240, 193, 90, 0.7);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    position: relative;
    z-index: 1;
}

body.almas-public .am-btn .am-real,
body.almas-public .am-btn-mark {
    width: 32px;
    height: 32px;
    margin: 0;
    border-radius: 50%;
    object-fit: cover;
}

body.almas-public .am-stat,
body.almas-public .am-card,
body.almas-public .am-step,
body.almas-public .am-trust article {
    position: relative;
    z-index: 1;
}

body.almas-public .am-trust article {
    flex-direction: column;
    justify-content: center;
}

body.almas-public .am-field label,
body.almas-public .am-box,
body.almas-public .am-row,
body.almas-public .am-check {
    text-align: left;
}

body.almas-public .am-auth-card h2,
body.almas-public .am-sub,
body.almas-public .am-switch {
    text-align: center;
}

/* Premium auth panels — login & register */
body.almas-auth .am-auth-pro {
    position: relative;
    z-index: 1;
    width: min(430px, calc(100% - 22px));
    margin: 18px auto 12px;
    padding-bottom: 8px;
}

body.almas-auth .am-auth-glow {
    position: absolute;
    inset: -8% -18% auto;
    height: 220px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 40%, rgba(240, 193, 90, 0.28), transparent 58%),
        radial-gradient(circle at 70% 50%, rgba(125, 222, 192, 0.22), transparent 60%);
    filter: blur(8px);
    pointer-events: none;
    animation: amAuthPulse 5.5s ease-in-out infinite;
}

@keyframes amAuthPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

body.almas-auth .am-auth-panel {
    position: relative;
    overflow: hidden;
    padding: 28px 22px 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05) 42%, rgba(8, 34, 25, 0.55));
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
    animation: amAuthRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.almas-auth .am-auth-panel::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fff6dc, #f0c15a, #7ddec0, transparent);
}

body.almas-auth .am-auth-panel::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 193, 90, 0.16), transparent 68%);
    pointer-events: none;
}

@keyframes amAuthRise {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

body.almas-auth .am-auth-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    margin: 0 auto 14px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(240, 193, 90, 0.4);
    background: rgba(240, 193, 90, 0.12);
    color: #fff1c9;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.almas-auth .am-auth-panel h2 {
    margin: 0 0 6px;
    font-family: var(--am-display);
    font-size: clamp(1.9rem, 7vw, 2.4rem);
    line-height: 1.05;
}

body.almas-auth .am-auth-panel h2 span {
    background: linear-gradient(120deg, #fff6dc, #f0c15a 45%, #9ef0d0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.almas-auth .am-auth-panel .am-sub {
    margin: 0 auto 18px;
    max-width: 30ch;
    color: rgba(238, 246, 241, 0.72);
    font-size: 0.94rem;
    line-height: 1.55;
}

body.almas-auth .am-field label {
    text-align: left;
    margin-bottom: 8px;
    color: rgba(255, 246, 220, 0.86);
}

body.almas-auth .am-box {
    min-height: 56px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(3, 18, 13, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.almas-auth .am-box:focus-within {
    border-color: rgba(240, 193, 90, 0.8);
    box-shadow: 0 0 0 4px rgba(240, 193, 90, 0.14);
    transform: translateY(-1px);
}

body.almas-auth .am-submit {
    margin-top: 6px;
    min-height: 56px;
    border-radius: 999px;
    font-size: 1rem;
    letter-spacing: 0.02em;
    box-shadow:
        0 16px 28px rgba(240, 193, 90, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body.almas-auth .am-submit:hover {
    transform: translateY(-2px);
}

body.almas-auth .am-outline {
    min-height: 50px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
}

body.almas-auth .am-outline:hover {
    background: rgba(255, 255, 255, 0.12);
}

body.almas-auth .am-ref-pill {
    border-radius: 16px;
    background: rgba(125, 222, 192, 0.14);
    border: 1px solid rgba(125, 222, 192, 0.32);
}

body.almas-auth .am-auth-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

body.almas-auth .am-auth-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(4, 20, 15, 0.45);
    color: rgba(255, 246, 220, 0.84);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

body.almas-auth .gg-footer {
    margin-top: 18px;
}

@media (prefers-reduced-motion: reduce) {
    .am-blob,
    .am-orbit-ring,
    .am-orbit-ring-2,
    .am-orbit-card,
    .am-orbit-logo,
    .am-btn::after,
    .am-submit::after,
    .am-rise,
    body.almas-public .am-load-mark,
    body.almas-auth .am-auth-glow,
    body.almas-auth .am-auth-panel {
        animation: none !important;
    }
}
