/* ========================================================
   POKEMON GO SPOOFER & GPS JOYSTICK HUB - STYLESHEET
   GameRepos Network • 100/100 PageSpeed Architecture
   ======================================================== */
:root {
    --bg-dark: #07090E;
    --bg-surface: #0E121B;
    --bg-card: rgba(14, 18, 28, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 245, 212, 0.4);
    --gps-cyan: #00F5D4;
    --gps-glow: rgba(0, 245, 212, 0.25);
    --spoofer-gold: #FFB800;
    --radar-blue: #38BDF8;
    --lunar-silver: #E2E8F0;
    --text-muted: #94A3B8;
    --green-safe: #22FF88;
    --crimson-alert: #FF3366;
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--lunar-silver);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 10% 25%, rgba(0, 245, 212, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 75%, rgba(255, 184, 0, 0.06) 0%, transparent 45%);
    background-attachment: fixed;
}

/* Neon Top Bar */
.top-glow-bar {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #00F5D4, #FFB800, #00F5D4);
    background-size: 200% 100%;
    animation: flowBar 6s linear infinite;
    position: sticky;
    top: 0;
    z-index: 1000;
}

@keyframes flowBar {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Navigation */
.navbar {
    border-bottom: 1px solid var(--border-color);
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 3px;
    z-index: 999;
    padding: 0.85rem 1.5rem;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.logo-icon {
    width: 38px;
    height: 38px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.logo-accent {
    color: var(--gps-cyan);
}

.logo-badge {
    background: rgba(0, 245, 212, 0.12);
    border: 1px solid rgba(0, 245, 212, 0.35);
    color: var(--gps-cyan);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.nav-search-wrap {
    flex: 1;
    max-width: 450px;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-search-icon {
    position: absolute;
    left: 14px;
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

.nav-search-input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    background: rgba(14, 18, 28, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.2s;
}

.nav-search-input:focus {
    border-color: var(--gps-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 212, 0.25);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 0.85rem;
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid rgba(0, 245, 212, 0.3);
    border-radius: 50px;
    color: var(--gps-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

/* Hero Section */
.hero {
    max-width: 1400px;
    margin: 3.5rem auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 0.95rem;
    background: rgba(0, 245, 212, 0.12);
    border: 1px solid rgba(0, 245, 212, 0.35);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gps-cyan);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, #00F5D4, #FFB800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.hero-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #00F5D4, #00BFA5);
    color: #07090E;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.85rem 1.85rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(0, 245, 212, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(0, 245, 212, 0.7);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    border-color: var(--spoofer-gold);
    color: var(--spoofer-gold);
}

.hero-metrics {
    display: flex;
    gap: 2rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-visual {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 245, 212, 0.15);
    border: 1px solid rgba(0, 245, 212, 0.3);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Packages Grid */
.packages-section {
    max-width: 1400px;
    margin: 4.5rem auto;
    padding: 0 1.5rem;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 900;
    color: #ffffff;
}

.filter-bar {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(14, 18, 28, 0.7);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gps-cyan);
    color: #07090E;
    border-color: var(--gps-cyan);
    box-shadow: 0 4px 20px rgba(0, 245, 212, 0.35);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.85rem;
}

.pkg-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
}

.pkg-card:hover {
    transform: translateY(-5px);
    border-color: var(--gps-cyan);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 245, 212, 0.25);
}

.pkg-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.pkg-badge {
    background: rgba(0, 245, 212, 0.12);
    border: 1px solid rgba(0, 245, 212, 0.3);
    color: var(--gps-cyan);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
}

.pkg-badge.gold {
    background: rgba(255, 184, 0, 0.12);
    border-color: rgba(255, 184, 0, 0.3);
    color: var(--spoofer-gold);
}

.pkg-badge.blue {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
    color: var(--radar-blue);
}

.pkg-size {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.pkg-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.pkg-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pkg-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.pkg-btn-download {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.pkg-btn-download:hover {
    background: var(--gps-cyan);
    color: #07090E;
    border-color: var(--gps-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.4);
}

/* Cooldown Matrix Box */
.cooldown-section {
    max-width: 1400px;
    margin: 4.5rem auto;
    padding: 0 1.5rem;
}

.cooldown-box {
    background: rgba(14, 18, 28, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
}

.cooldown-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-size: 0.92rem;
}

.cooldown-table th {
    text-align: left;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gps-cyan);
    font-family: var(--font-heading);
}

.cooldown-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--lunar-silver);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1.5rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #0E121B;
    border: 1px solid rgba(0, 245, 212, 0.4);
    border-radius: 20px;
    max-width: 520px;
    width: 100%;
    padding: 2rem;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 245, 212, 0.2);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
}

.modal-step-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.step-dot {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
}

.step-dot.active {
    background: var(--gps-cyan);
}

.modal-content-wrap {
    display: none;
}

.modal-content-wrap.active {
    display: block;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-align: center;
}

.modal-sub {
    color: var(--text-muted);
    font-size: 0.88rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.step-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.step-opt-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.step-opt-btn:hover {
    border-color: var(--gps-cyan);
    background: rgba(0, 245, 212, 0.1);
}

.locker-container {
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(0, 245, 212, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Footer Mesh */
.site-footer {
    border-top: 1px solid var(--border-color);
    background: #040508;
    padding: 4rem 1.5rem 2rem;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links-list a:hover {
    color: var(--gps-cyan);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 2.2rem; }
    .footer-container { grid-template-columns: 1fr; }
}
