:root {
    --bg: #07111f;
    --bg-2: #0f1d31;
    --surface: rgba(10, 20, 36, 0.74);
    --surface-strong: rgba(8, 16, 30, 0.9);
    --surface-border: rgba(255, 255, 255, 0.12);
    --text: #f4f1eb;
    --muted: #c4cbd8;
    --accent: #ee8b2d;
    --accent-soft: rgba(238, 139, 45, 0.18);
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --max-width: 1100px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    color: var(--text);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(71, 124, 220, 0.32), transparent 35%),
        radial-gradient(circle at 85% 15%, rgba(238, 139, 45, 0.22), transparent 28%),
        linear-gradient(150deg, var(--bg), var(--bg-2) 55%, #08101c);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 85%);
    pointer-events: none;
}

.page-shell {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 24px 18px 20px;
}

.ambient {
    position: absolute;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
}

.ambient-a {
    top: 40px;
    left: -90px;
    width: 260px;
    height: 260px;
    background: rgba(74, 129, 214, 0.42);
}

.ambient-b {
    right: -60px;
    bottom: 100px;
    width: 240px;
    height: 240px;
    background: rgba(238, 139, 45, 0.25);
}

.layout,
.site-footer {
    position: relative;
    z-index: 1;
    width: min(100%, var(--max-width));
    margin: 0 auto;
}

.hero {
    padding: 10px 0 18px;
    text-align: center;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    top: -8px;
    width: 280px;
    height: 280px;
    opacity: 0.16;
    background-image: radial-gradient(circle, rgba(255, 204, 151, 0.85) 1px, transparent 1.5px);
    background-size: 10px 10px;
    mask-image: radial-gradient(circle at center, black 32%, transparent 72%);
    pointer-events: none;
}

.hero::before {
    left: -70px;
}

.hero::after {
    right: -70px;
}

.hero-label,
.panel-kicker,
.footer-label {
    margin: 0 0 12px;
    color: #f0b277;
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-family: Cambria, "Times New Roman", serif;
    font-size: clamp(2.35rem, 5.6vw, 4.2rem);
    font-weight: 700;
    line-height: 0.98;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

.hero-ip {
    margin-top: 12px;
    font-family: Cambria, "Times New Roman", serif;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #ffc58e;
    text-shadow: 0 0 24px rgba(238, 139, 45, 0.25), 0 0 64px rgba(238, 139, 45, 0.22);
}

.hero-hostname {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.hero-copy {
    width: min(100%, 680px);
    margin: 10px auto 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.panel {
    position: relative;
    padding: 18px;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.panel::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%);
    pointer-events: none;
}

.panel-featured {
    grid-column: span 2;
    background:
        linear-gradient(120deg, rgba(238, 139, 45, 0.11), rgba(64, 112, 193, 0.08) 58%, rgba(255, 255, 255, 0.03)),
        var(--surface-strong);
}

.panel-map {
    grid-column: span 2;
}

.panel-featured::before {
    content: "";
    position: absolute;
    right: -20px;
    bottom: -48px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(238, 139, 45, 0.22) 0 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px);
    background-size: 10px 10px, 28px 28px;
    mask-image: radial-gradient(circle at center, black 38%, transparent 72%);
    opacity: 0.6;
    pointer-events: none;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.panel-value {
    position: relative;
    z-index: 1;
    font-size: 1.22rem;
    font-weight: 600;
    line-height: 1.28;
}

.panel-value-primary {
    font-size: clamp(1.8rem, 3.2vw, 2.9rem);
    letter-spacing: 0.04em;
}

.panel-value-small {
    font-size: 1rem;
}

.panel-note {
    position: relative;
    z-index: 1;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.89rem;
    line-height: 1.45;
}

.panel-meta-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
}

.panel-meta-row .panel-note {
    margin-top: 0;
}

.panel-note-inline {
    text-align: right;
    white-space: nowrap;
}

.copy-button {
    border: 1px solid rgba(247, 194, 143, 0.55);
    border-radius: 999px;
    padding: 9px 14px;
    background: rgba(20, 34, 57, 0.78);
    color: var(--text);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.copy-button:hover,
.copy-button:focus-visible {
    background: var(--accent);
    color: #111;
    transform: translateY(-1px);
    outline: none;
}

.browser-summary,
.location-block {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.browser-badge,
.browser-icon,
.flag {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    flex: 0 0 46px;
}

.browser-badge {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
}

.browser-icon {
    display: block;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 6px;
}

.browser-family-chrome {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.6), rgba(245, 158, 11, 0.58));
}

.browser-family-edge {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.7), rgba(16, 185, 129, 0.52));
}

.browser-family-firefox {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.7), rgba(217, 70, 239, 0.48));
}

.browser-family-safari {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.76), rgba(255, 255, 255, 0.22));
}

.browser-family-opera {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.74), rgba(190, 24, 93, 0.5));
}

.browser-family-ie {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.64), rgba(59, 130, 246, 0.46));
}

.flag {
    display: block;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
}

.flag-fallback {
    display: grid;
    place-items: center;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.text-link {
    color: #f7c28f;
    text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
    text-decoration: underline;
    outline: none;
}

.map-embed {
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    height: 300px;
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 300px;
    border: 0;
    filter: saturate(0.9) contrast(1.02);
}

.map-consent {
    display: flex;
    align-items: stretch;
}

.map-consent-inner {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(238, 139, 45, 0.06)),
        rgba(255, 255, 255, 0.03);
}

.map-consent-title {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
}

.map-consent-copy {
    margin: 0;
    max-width: 580px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.map-consent-button {
    border: 1px solid rgba(247, 194, 143, 0.55);
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(20, 34, 57, 0.84);
    color: var(--text);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.map-consent-button:hover,
.map-consent-button:focus-visible {
    background: var(--accent);
    color: #111;
    transform: translateY(-1px);
    outline: none;
}

.privacy-strip {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    line-height: 1.7;
}

.privacy-strip p {
    margin: 0;
}

.privacy-title {
    margin-bottom: 4px;
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 600;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    color: var(--text);
    text-decoration: none;
}

.footer-brand-copy {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand img {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.footer-brand span {
    font-weight: 600;
    letter-spacing: 0.03em;
}

@media (max-width: 760px) {
    .page-shell {
        padding: 18px 12px 16px;
    }

    .hero {
        padding-top: 4px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .panel-featured {
        grid-column: span 1;
    }

    .panel-map {
        grid-column: span 1;
    }

    .panel {
        padding: 16px;
    }

    .panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .panel-meta-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .panel-note-inline {
        text-align: left;
        white-space: normal;
    }

    .browser-summary,
    .location-block {
        align-items: flex-start;
    }

    .hero::before,
    .hero::after,
    .panel-featured::before {
        display: none;
    }

    .copy-button {
        width: 100%;
        justify-content: center;
    }

    .privacy-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-brand {
        margin-left: 0;
    }
}
