:root {
    --text-dark: #14202b;
    --text-soft: #3f4f5d;
    --accent: #d9b36c;
    --accent-dark: #8a6425;
    --card: rgba(255, 255, 255, 0.94);
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text-dark);
    background:
        linear-gradient(rgba(10, 18, 25, 0.3), rgba(10, 18, 25, 0.3)),
        url("https://cdn.game-assets.org/apps/relyovo/r.jpg") no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 18, 25, 0.55);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-wrap {
    width: min(1180px, 94%);
    margin: 0 auto;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.95rem;
}

nav a:hover {
    opacity: 0.7;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 120px 20px;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(8,12,18,0.6), rgba(8,12,18,0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    margin-bottom: 15px;
}

.hero-text {
    font-size: 1.2rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    margin: 10px;
}

.btn-primary {
    background: var(--accent);
    color: black;
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
}

/* Sections */
.section {
    width: min(1100px, 92%);
    margin: 40px auto;
    scroll-margin-top: 100px;
}

/* Headings */
.section-heading {
    margin-bottom: 25px;
    background: rgba(255,255,255,0.92);
    padding: 18px 22px;
    border-radius: 16px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem,4vw,3rem);
    font-weight: 800;
    color: var(--text-dark);
}

.section-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-dark);
    letter-spacing: 0.15em;
}

/* Cards */
.text-card,
.feature-list-card,
.history-box,
.closing-card {
    background: var(--card);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.text-card p,
.history-box p,
.closing-card p {
    color: #2f3e4c;
    line-height: 1.8;
}

/* Grid layouts */
.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

/* Experience */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.experience-card {
    background: var(--card);
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Nearby */
.nearby-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.nearby-card {
    background: var(--card);
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Sensors */
.sensor-container {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 20px;
}

.sensor-card {
    background: var(--card);
    padding: 22px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.sensor-values p {
    color: #3c4c5a;
}

.sensor-time {
    color: #6b7a88;
}

/* Scenic */
.scenic-band {
    border-radius: 30px;
    overflow: hidden;
    padding: 60px;
    color: white;
    background:
        linear-gradient(rgba(10,15,20,0.8), rgba(10,15,20,0.85)),
        url("https://cdn.game-assets.org/apps/relyovo/r.jpg") center/cover;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 30px;
    color: white;
}

/* Responsive */
@media (max-width: 900px) {
    .split-layout,
    .experience-grid,
    .nearby-grid {
        grid-template-columns: 1fr;
    }
}

/* Stats / Highlights */
.stats-section {
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    width: min(1100px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-radius: 22px;
    padding: 26px 20px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
}

.stat-card strong {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    color: #14202b;
    margin-bottom: 6px;
}

.stat-card span {
    font-size: 0.95rem;
    color: #4a5a68;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Links section */
.links-section {
    margin-top: 20px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Link card */
.link-card {
    display: block;
    background: rgba(255, 255, 255, 0.94);
    padding: 26px;
    border-radius: 22px;
    text-decoration: none;
    color: #14202b;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.link-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.link-card p {
    margin: 0 0 14px;
    color: #4a5a68;
    line-height: 1.7;
}

.link-card span {
    font-weight: bold;
    color: #8a6425;
}

/* Hover effect */
.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.18);
}