/*
Theme Name: LurkMap
Theme URI: https://lurkmap.com
Author: LurkMap
Description: Theme vitrine et compte pour LurkMap, pret a copier dans wp-content/themes.
Version: 1.0.0
Text Domain: lurkmap
*/

:root {
    --ink: #16171b;
    --muted: #676b75;
    --paper: #fffaf2;
    --surface: #ffffff;
    --line: #e4ddcf;
    --red: #b33b3d;
    --red-dark: #7d252b;
    --gold: #d2a84a;
    --green: #24705d;
    --blue: #275f8f;
    --shadow: 0 18px 50px rgba(42, 35, 25, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px clamp(18px, 4vw, 54px);
    border-bottom: 1px solid rgba(22, 23, 27, .08);
    background: rgba(255, 250, 242, .9);
    backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.site-footer nav,
.action-row {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 900;
}

.brand img {
    border-radius: 8px;
}

.site-nav {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.site-nav a,
.site-footer a {
    color: var(--muted);
    text-decoration: none;
    font-size: .94rem;
    font-weight: 750;
    padding: 8px 10px;
}

.site-nav a:hover,
.site-footer a:hover {
    color: var(--red-dark);
}

.header-cta,
.button,
button.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(179, 59, 61, .22);
}

.button.ghost {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line);
}

main {
    min-height: calc(100vh - 180px);
}

.hero {
    min-height: 760px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    align-items: center;
    gap: clamp(28px, 6vw, 80px);
    padding: clamp(52px, 7vw, 94px) clamp(18px, 5vw, 72px) 42px;
    background:
        linear-gradient(115deg, rgba(255, 250, 242, .92), rgba(255, 250, 242, .62)),
        url("assets/lurkmap-level.jpeg") center/cover;
}

.hero-copy {
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--red-dark);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    line-height: 1.02;
    letter-spacing: 0;
}

h1 {
    max-width: 860px;
    font-size: clamp(4.8rem, 12vw, 11rem);
}

.page-hero h1,
.account-panel h1 {
    font-size: clamp(2.35rem, 7vw, 5.4rem);
}

h2 {
    font-size: clamp(1.55rem, 3vw, 3.2rem);
}

p {
    color: var(--muted);
}

.hero-copy > p:not(.eyebrow),
.page-hero > p:not(.eyebrow),
.split-section p,
.account-panel > p {
    max-width: 660px;
    font-size: clamp(1.04rem, 1.7vw, 1.28rem);
}

.action-row {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.phone-stage {
    display: grid;
    place-items: center;
}

.phone {
    width: min(100%, 390px);
    aspect-ratio: 9 / 18.5;
    position: relative;
    overflow: hidden;
    border: 12px solid #1c1b1f;
    border-radius: 34px;
    background:
        linear-gradient(90deg, rgba(39, 95, 143, .08) 1px, transparent 1px),
        linear-gradient(rgba(36, 112, 93, .08) 1px, transparent 1px),
        #f8f0e5;
    background-size: 42px 42px;
    box-shadow: var(--shadow);
}

.map-top {
    position: absolute;
    top: 18px;
    left: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.map-top span {
    min-width: 0;
    border-radius: 8px;
    background: #fff;
    padding: 8px 6px;
    text-align: center;
    font-size: .76rem;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(22, 23, 27, .08);
}

.map-grid {
    position: absolute;
    inset: 86px 18px 170px;
    border: 1px solid rgba(22, 23, 27, .08);
    border-radius: 8px;
}

.pin {
    position: absolute;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #fff;
    font-size: .8rem;
    font-weight: 950;
    box-shadow: 0 10px 18px rgba(22, 23, 27, .18);
}

.pin.player {
    border-radius: 50% 50% 50% 8px;
    background: var(--green);
    transform: rotate(-45deg);
}

.pin.game {
    border-radius: 8px;
    background: var(--red);
}

.pin.spot {
    width: 0;
    height: 0;
    border-left: 19px solid transparent;
    border-right: 19px solid transparent;
    border-bottom: 34px solid var(--gold);
    box-shadow: none;
}

.p1 { left: 13%; top: 16%; }
.p2 { right: 18%; top: 25%; }
.p3 { left: 42%; top: 44%; }
.p4 { left: 22%; bottom: 18%; }
.p5 { right: 15%; bottom: 22%; }
.p6 { right: 40%; top: 8%; }

.sheet {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 16px;
    display: grid;
    gap: 6px;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 -14px 34px rgba(22, 23, 27, .12);
}

.sheet strong {
    font-size: 1rem;
}

.sheet span {
    color: var(--muted);
    font-size: .9rem;
}

.sheet button {
    margin-top: 8px;
    border: 0;
    border-radius: 999px;
    padding: 13px;
    background: var(--red);
    color: #fff;
    font-weight: 950;
}

.feature-band,
.split-section,
.page-hero,
.account-shell {
    padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.feature-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    background: #fff;
}

.feature-band article,
.download-card,
.account-panel,
.timeline article,
.faq-list details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 12px 28px rgba(42, 35, 25, .08);
}

.feature-band article {
    padding: 22px;
}

.feature-band img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
}

.feature-band h2 {
    font-size: 1.3rem;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(280px, .72fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: start;
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.check-list li {
    padding: 15px 16px;
    border-left: 5px solid var(--green);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    font-weight: 750;
}

.page-hero.compact {
    max-width: 1120px;
    margin: 0 auto;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.download-card {
    display: grid;
    gap: 6px;
    padding: 24px;
    text-decoration: none;
}

.download-card span {
    color: var(--red-dark);
    font-weight: 900;
}

.download-card strong {
    font-size: 1.55rem;
}

.download-card small {
    color: var(--muted);
}

.faq-list,
.timeline {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.faq-list details {
    padding: 18px 20px;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 950;
    font-size: 1.1rem;
}

.timeline {
    counter-reset: steps;
}

.timeline article {
    position: relative;
    padding: 22px 22px 22px 84px;
}

.timeline span {
    position: absolute;
    left: 22px;
    top: 24px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    font-weight: 950;
}

.timeline h2 {
    font-size: 1.35rem;
}

.account-shell {
    display: grid;
    min-height: 680px;
    place-items: center;
}

.account-panel {
    width: min(100%, 640px);
    padding: clamp(24px, 5vw, 44px);
}

.account-panel.success {
    border-color: rgba(36, 112, 93, .35);
}

.account-panel.error {
    border-color: rgba(179, 59, 61, .35);
}

.form-panel {
    display: grid;
    gap: 16px;
}

.form-panel label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 850;
}

.form-panel input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px 15px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.form-panel input:focus {
    outline: 3px solid rgba(210, 168, 74, .32);
    border-color: var(--gold);
}

.notice {
    border-radius: 8px;
    padding: 13px 14px;
    font-weight: 750;
}

.notice.success {
    background: rgba(36, 112, 93, .1);
    color: var(--green);
}

.notice.error {
    background: rgba(179, 59, 61, .1);
    color: var(--red-dark);
}

.password-rules {
    display: grid;
    gap: 8px;
    margin: -4px 0 4px;
    padding: 0;
    list-style: none;
}

.password-rules li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-weight: 850;
}

.password-rules li.valid {
    color: var(--green);
}

.rule-icon {
    display: inline-grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 999px;
    background: rgba(112, 111, 102, .12);
    color: inherit;
    font-size: .8rem;
    font-weight: 950;
}

.password-rules li.valid .rule-icon {
    background: rgba(10, 171, 122, .14);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 28px clamp(18px, 4vw, 54px);
    border-top: 1px solid var(--line);
    background: #fff;
}

.site-footer div {
    display: grid;
    gap: 4px;
}

.site-footer span {
    color: var(--muted);
}

.site-footer nav {
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 860px) {
    .site-header {
        align-items: flex-start;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }

    .hero,
    .split-section,
    .feature-band,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    h1 {
        font-size: clamp(4.2rem, 18vw, 7rem);
    }

    .phone {
        width: min(92vw, 360px);
    }
}

@media (max-width: 560px) {
    .site-header,
    .site-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .header-cta {
        width: 100%;
    }

    .site-nav a {
        padding: 7px 8px;
    }

    .hero,
    .feature-band,
    .split-section,
    .page-hero,
    .account-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .timeline article {
        padding: 76px 18px 20px;
    }

    .timeline span {
        left: 18px;
    }
}
