/* Forsiden (gaming-portal): Zetbit Arena øverst, FarmLife 27, ekstra tjenester nederst */

.pt-page {
    --pt-bg: #0a0b0e;
    --pt-bg2: #111318;
    --pt-line: rgba(255, 255, 255, 0.08);
    --pt-text: #ece6dc;
    --pt-dim: #a39b8f;
    --pt-muted: #6f6a63;
    --pt-accent: #e0873a;
    --pt-accent-hi: #f4a85b;
    --pt-electric: #39d0ff;
    --pt-glow: rgba(224, 135, 58, 0.55);
    background: var(--pt-bg);
    color: var(--pt-text);
    font-family: Outfit, 'Century Gothic', sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Faint HUD grid behind the whole portal */
.pt-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 78%);
}

.pt-page > * { position: relative; z-index: 1; }

.pt-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- hero --- */

.pt-hero {
    position: relative;
    overflow: hidden;
    min-height: min(92vh, 940px);
    display: flex;
    align-items: flex-end;
    padding: 120px 0 64px;
}

.pt-hero-bg,
.pt-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
}

.pt-hero-bg {
    animation: pt-drift 40s ease-in-out infinite alternate;
}

@keyframes pt-drift {
    from { transform: scale(1.04) translateX(0); }
    to { transform: scale(1.12) translateX(-2%); }
}

@media (prefers-reduced-motion: reduce) {
    .pt-hero-bg { animation: none; }
}

.pt-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 11, 14, 0.15) 0%, rgba(10, 11, 14, 0.35) 45%, rgba(10, 11, 14, 0.96) 100%),
        linear-gradient(90deg, rgba(10, 11, 14, 0.85) 0%, rgba(10, 11, 14, 0.2) 60%);
}

/* Subtle CRT scanlines over the hero */
.pt-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0px,
        rgba(0, 0, 0, 0) 2px,
        rgba(0, 0, 0, 0.14) 3px
    );
    mix-blend-mode: overlay;
    opacity: 0.5;
}

.pt-hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
}

.pt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--pt-accent-hi);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 7px 14px 7px 12px;
    border: 1px solid rgba(244, 168, 91, 0.35);
    border-radius: 999px;
    background: rgba(224, 135, 58, 0.08);
    backdrop-filter: blur(6px);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.pt-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pt-accent);
    box-shadow: 0 0 12px var(--pt-accent);
    animation: pt-pulse 1.6s ease-in-out infinite;
}

@keyframes pt-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 12px var(--pt-accent); }
    50% { opacity: 0.4; box-shadow: 0 0 4px var(--pt-accent); }
}

.pt-hero-title {
    font-family: OutfitBold, 'Century Gothic', sans-serif;
    font-size: clamp(3rem, 9vw, 6.8rem);
    line-height: 0.92;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 20px;
    text-shadow:
        0 6px 40px rgba(0, 0, 0, 0.6),
        0 0 28px rgba(224, 135, 58, 0.35);
    text-transform: uppercase;
}

.pt-hero-sub {
    max-width: 620px;
    font-size: 1.18rem;
    line-height: 1.6;
    color: #d8d1c6;
    margin-bottom: 30px;
}

.pt-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pt-cta-center {
    justify-content: center;
}

.pt-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 10px;
    font-family: OutfitBold, 'Century Gothic', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    overflow: hidden;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

/* Animated sheen that sweeps across the button */
.pt-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.pt-btn:hover::before { left: 150%; }

.pt-btn-primary {
    background: linear-gradient(135deg, #c8642a, var(--pt-accent));
    color: #fff;
    box-shadow: 0 8px 28px rgba(224, 135, 58, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.pt-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 38px rgba(224, 135, 58, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.pt-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    color: var(--pt-text);
}

.pt-btn-ghost:hover {
    background: rgba(57, 208, 255, 0.1);
    box-shadow: inset 0 0 0 1px rgba(57, 208, 255, 0.5), 0 0 22px rgba(57, 208, 255, 0.18);
    color: #fff;
}

.pt-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 56px;
    max-width: 820px;
    background: var(--pt-line);
    border: 1px solid var(--pt-line);
    border-radius: 12px;
    overflow: hidden;
}

.pt-stats div {
    position: relative;
    background: rgba(10, 11, 14, 0.7);
    padding: 18px 18px 16px;
    backdrop-filter: blur(6px);
    transition: background 0.2s ease;
}

.pt-stats div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 26px;
    height: 2px;
    background: var(--pt-accent);
    box-shadow: 0 0 10px var(--pt-glow);
}

.pt-stats div:hover { background: rgba(224, 135, 58, 0.08); }

.pt-stats strong {
    display: block;
    font-family: OutfitBold, 'Century Gothic', sans-serif;
    font-size: 1.7rem;
    color: #fff;
    text-shadow: 0 0 18px rgba(224, 135, 58, 0.25);
}

.pt-stats span {
    color: var(--pt-dim);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* --- sektioner --- */

.pt-section {
    padding: 96px 0;
}

.pt-section-alt {
    background: var(--pt-bg2);
    border-top: 1px solid var(--pt-line);
    border-bottom: 1px solid var(--pt-line);
}

.pt-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pt-accent-hi);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.pt-label::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--pt-accent);
    box-shadow: 0 0 10px var(--pt-glow);
}

.pt-title {
    font-family: OutfitBold, 'Century Gothic', sans-serif;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    color: #fff;
    margin: 0 0 18px;
    max-width: 760px;
}

.pt-lead {
    color: var(--pt-dim);
    font-size: 1.08rem;
    line-height: 1.65;
    max-width: 720px;
    margin-bottom: 36px;
}

.pt-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 34px;
}

.pt-feature {
    position: relative;
    background: var(--pt-bg2);
    border: 1px solid var(--pt-line);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

/* Angular corner tick in the top-right, like a game UI panel */
.pt-feature::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 14px;
    height: 14px;
    border-top: 2px solid rgba(244, 168, 91, 0.4);
    border-right: 2px solid rgba(244, 168, 91, 0.4);
    transition: border-color 0.18s ease;
}

.pt-feature:hover {
    transform: translateY(-3px);
    border-color: rgba(224, 135, 58, 0.5);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(224, 135, 58, 0.25);
}

.pt-feature:hover::after {
    border-color: var(--pt-accent-hi);
}

.pt-feature i {
    font-size: 1.7rem;
    color: var(--pt-accent);
    text-shadow: 0 0 18px var(--pt-glow);
}

.pt-feature h3 {
    font-family: OutfitBold, 'Century Gothic', sans-serif;
    color: #fff;
    font-size: 1.25rem;
    margin: 14px 0 8px;
}

.pt-feature p {
    color: var(--pt-dim);
    line-height: 1.6;
    margin: 0;
}

.pt-feature-wide {
    grid-column: 1 / -1;
    padding: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
}

.pt-feature-wide img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.pt-feature-body {
    padding: 34px;
    align-self: center;
}

.pt-feature-body h3 {
    margin-top: 0;
}

/* --- slutreklame --- */

.pt-banner {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.pt-banner-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 11, 14, 0.78);
}

.pt-banner-inner {
    position: relative;
}

.pt-banner h2 {
    font-family: OutfitBold, 'Century Gothic', sans-serif;
    font-size: clamp(2.2rem, 6vw, 4rem);
    color: #fff;
    margin-bottom: 12px;
}

.pt-banner p {
    color: #d8d1c6;
    font-size: 1.1rem;
    margin-bottom: 28px;
}

/* --- FarmLife 27 --- */

.pt-game {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 36px;
    align-items: center;
    background: var(--pt-bg2);
    border: 1px solid var(--pt-line);
    border-radius: 18px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.18s ease;
}

.pt-game:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: inherit;
}

.pt-game-img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.pt-game-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.pt-game-head img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
}

.pt-game-head h2 {
    font-family: OutfitBold, 'Century Gothic', sans-serif;
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
}

.pt-game-head span,
.pt-game-body p {
    color: var(--pt-dim);
}

.pt-game-body p {
    line-height: 1.65;
    max-width: 640px;
}

.pt-link {
    color: var(--pt-accent-hi);
    font-family: OutfitBold, 'Century Gothic', sans-serif;
}

/* --- ekstra tjenester (diskret) --- */

.pt-extras {
    padding: 56px 0 80px;
    border-top: 1px solid var(--pt-line);
}

.pt-extra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
}

.pt-extra {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid var(--pt-line);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.pt-extra:hover {
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
}

.pt-extra img {
    width: 30px;
    height: 30px;
    opacity: 0.7;
    flex-shrink: 0;
}

.pt-extra h3 {
    font-family: OutfitBold, 'Century Gothic', sans-serif;
    font-size: 1rem;
    color: var(--pt-text);
    margin: 0 0 2px;
}

.pt-extra p {
    color: var(--pt-muted);
    font-size: 0.86rem;
    margin: 0;
}

.pt-extra > i {
    margin-left: auto;
    color: var(--pt-muted);
}

/* --- mobil --- */

@media (max-width: 860px) {
    .pt-feature-grid { grid-template-columns: 1fr; }
    .pt-feature-wide { grid-template-columns: 1fr; }
    .pt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pt-game { grid-template-columns: 1fr; }
    .pt-game-img { max-width: 260px; }
    .pt-section { padding: 64px 0; }
}

@media (max-width: 480px) {
    .pt-extra-grid { grid-template-columns: 1fr; }
    .pt-hero { padding-top: 90px; }
}
