
/* Mont font faces */
@font-face {
    font-family: 'Mont';
    src: url('../fonts/Mont-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mont';
    src: url('../fonts/Mont-Heavy.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --cityrp-bg: #05070b;
    --cityrp-bg-alt: #0b1018;
    --cityrp-card: #101622;
    --cityrp-accent: #4cc9f0;
    --cityrp-accent-soft: rgba(76, 201, 240, 0.18);
    --cityrp-text-main: #f5f7ff;
    --cityrp-text-muted: #8b93a7;
    --cityrp-border-subtle: rgba(255, 255, 255, 0.06);
    --cityrp-radius-xl: 22px;
    --cityrp-shadow-soft: 0 26px 60px rgba(0, 0, 0, 0.65);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    padding: 0;
    margin: 0;
}

body {
    padding-top:110px;
    font-family: 'Mont', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top left, #111827 0, #02040a 45%, #02040a 100%);
    color: var(--cityrp-text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 700ms ease;
}

/* Smooth page fade-in */
body.page-loaded {
    opacity: 1;
}

/* Global smooth animations */
.section-animate {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 700ms ease-out,
        transform 700ms ease-out;
}

.section-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar styling (for desktops) */
::-webkit-scrollbar {
    width: 9px;
}
::-webkit-scrollbar-track {
    background: #020410;
}
::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #374151;
}

/* Navbar */
.navbar {
    backdrop-filter: blur(20px);
    background: linear-gradient(to right, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.88)) !important;
    border-bottom: 1px solid var(--cityrp-border-subtle);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 0.18em;
    font-size: 0.9rem;
}

.navbar-brand span.logo-pill {
    padding: 4px 12px;
    border-radius: 999px;
    background: linear-gradient(120deg, #4cc9f0, #a855f7);
    box-shadow: 0 10px 30px rgba(76, 201, 240, 0.4);
    font-weight: 800;
}

.nav-link {
    font-size: 0.86rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cityrp-text-muted) !important;
    position: relative;
    padding-inline: 0.9rem !important;
    transition:
        color 220ms ease,
        transform 220ms ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, #4cc9f0, #a855f7);
    transition: transform 220ms ease-out;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: var(--cityrp-text-main) !important;
    transform: translateY(-1px);
}

main {
    position: relative;
    background: url('../img/background1.jpg') center/cover no-repeat fixed;
    /* Or remove "fixed" if you want it to scroll normally */
}

/* Overlay layer */
main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9); /* darkness level */
    backdrop-filter: blur(6px);      /* blur strength */
    -webkit-backdrop-filter: blur(6px); /* Safari support */
    z-index: 0;
}

/* Ensure actual page content sits above overlay */
main > * {
    position: relative;
    z-index: 1;
}

/* Account pill on nav */
.nav-account {
    padding-inline: 0 !important;
}

.nav-account .account-pill {
    border-radius: 999px;
    padding: 7px 16px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8));
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e5e7eb;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.8);
    transition:
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease,
        background 220ms ease;
}

.nav-account .account-pill i {
    font-size: 1.1rem;
}

.nav-account .account-pill:hover {
    border-color: rgba(236, 252, 255, 0.9);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.95);
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

/* Hero */
.hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8));
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #4ade80;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.8);
}

.hero-title {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: clamp(2rem, 4vw, 2.65rem);
}

.hero-gradient {
    background: linear-gradient(120deg, #e5f0ff, #4cc9f0, #a855f7);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    color: var(--cityrp-text-muted);
    max-width: 32rem;
}

.hero-cta-group .btn {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.76rem;
    border-radius: 999px;
    padding: 0.75rem 1.4rem;
}

.btn-primary-city {
    background: linear-gradient(135deg, #4cc9f0, #a855f7);
    border: none;
    box-shadow: 0 18px 40px rgba(76, 201, 240, 0.45);
}

.btn-primary-city:hover {
    box-shadow: 0 24px 55px rgba(76, 201, 240, 0.6);
    transform: translateY(-1px);
}

.btn-outline-city {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.6);
}

.btn-outline-city:hover {
    border-color: rgba(226, 232, 240, 0.9);
    background: rgba(30, 64, 175, 0.45);
}

/* Hero right: animated mockup */
.hero-card {
    border-radius: var(--cityrp-radius-xl);
    border: 1px solid var(--cityrp-border-subtle);
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.28), rgba(15, 23, 42, 0.96));
    box-shadow: var(--cityrp-shadow-soft);
    overflow: hidden;
    position: relative;
}

.hero-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 0%, rgba(76, 201, 240, 0.12) 0, transparent 50%),
                radial-gradient(circle at 80% 120%, rgba(168, 85, 247, 0.15) 0, transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

.hero-card-inner {
    position: relative;
    padding: 1.25rem 1.4rem;
}

/* Pill stats */
.hero-server-pill {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e5e7eb;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.65);
    background: rgba(15, 23, 42, 0.8);
}

.hero-server-pill span.value {
    font-weight: 800;
}

/* Screenshot grid */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 1rem;
}

.screenshot-tile {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #020617;
    isolation: isolate;
}

.screenshot-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    transition: transform 1200ms ease-out;
}

.screenshot-tile:nth-child(odd) img {
    transform-origin: center left;
}
.screenshot-tile:nth-child(even) img {
    transform-origin: center right;
}

.screenshot-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7), transparent 40%);
}

/* Cards & sections */
.section-title {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    color: var(--cityrp-text-muted);
}

.section-heading {
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1rem;
}

.card-city {
    border-radius: var(--cityrp-radius-xl);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 1), rgba(2, 6, 23, 0.98));
    border: 1px solid var(--cityrp-border-subtle);
    box-shadow: var(--cityrp-shadow-soft);
}

/* Store */
.store-hero {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

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

.store-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--cityrp-radius-xl);
    border: 1px solid var(--cityrp-border-subtle);
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), rgba(2, 6, 23, 0.98));
    box-shadow: var(--cityrp-shadow-soft);
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
    border-color: rgba(76, 201, 240, 0.8);
}

.store-tag {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    color: #e5e7eb;
}

/* Account */
.account-hero {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 290px) minmax(0, 1fr);
    gap: 1.6rem;
}

@media (max-width: 992px) {
    .account-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

.account-card {
    border-radius: var(--cityrp-radius-xl);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 1), rgba(2, 6, 23, 0.98));
    border: 1px solid var(--cityrp-border-subtle);
    box-shadow: var(--cityrp-shadow-soft);
}

.badge-rank {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(76, 201, 240, 0.16);
    color: #e0f2fe;
    border: 1px solid rgba(56, 189, 248, 0.9);
}

/* Transaction table */
.table-transactions {
    --bs-table-bg: transparent;
    --bs-table-border-color: rgba(148, 163, 184, 0.35);
    --bs-table-color: var(--cityrp-text-main);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.table-transactions thead {
    background: rgba(15, 23, 42, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.7rem;
}

.table-transactions tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.7);
}

.table-transactions tbody tr:hover {
    background: rgba(30, 64, 175, 0.65);
}

/* Footer */
.footer {
    border-top: 1px solid var(--cityrp-border-subtle);
    color: var(--cityrp-text-muted);
    font-size: 0.8rem;
    margin-top: auto;
    padding-block: 1.2rem;
}

/* Utility */
.text-gradient {
    background: linear-gradient(120deg, #4cc9f0, #a855f7);
    -webkit-background-clip: text;
    color: transparent;
}

.text-faint {
    color: var(--cityrp-text-muted);
}

.badge-soft {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.8);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 10px;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* City Center page notice */
.redirect-notice {
    max-width: 460px;
    margin-inline: auto;
}

/* Generic pill / button centering */
.btn,
.account-pill,
.hero-badge,
.badge-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;          /* avoids extra vertical space from the font */
}

/* Your custom CTA buttons */
.btn-primary-city,
.btn-outline-city {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.font-nudge-down {
    position: relative;
    top: 1px;   /* adjust to taste: 1–2px */
}

.cityrp-modal {
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.97));
    border-radius: var(--cityrp-radius-xxl, 18px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    backdrop-filter: blur(18px);
    color: var(--cityrp-text, #fff);
}