/* ========== GLOBAL ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, "Segoe UI", sans-serif;
}

body {
    background: #0f172a;
    color: #e5e7eb;
}

/* ========== HEADER ========== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #020617;
    border-bottom: 1px solid #1e293b;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #38bdf8;
}

.nav a {
    margin: 0 12px;
    text-decoration: none;
    color: #cbd5f5;
    font-size: 0.95rem;
}

.nav a:hover {
    color: #38bdf8;
}

.btn {
    background: #2563eb;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #fff;
}

/* ========== WALLET ========== */
.balance-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #0f172a;
    padding: 8px 14px;
    border-radius: 12px;
}

.balance-info .label {
    font-size: 12px;
    color: #94a3b8;
}

.balance-info .amount {
    font-size: 16px;
    font-weight: 600;
    color: #38bdf8;
}

.add-balance-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
}

/* ========== HERO ========== */
.hero {
    min-height: 50vh;
    background: linear-gradient(135deg, #2b145f, #4b2bbf);
    display: flex;
    align-items: center;
    padding: 40px 10%;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
}

.hero-left h1 {
    font-size: 48px;
}

.hero-left span {
    color: #c7b6ff;
}

.hero-desc {
    margin: 20px 0;
    opacity: 0.9;
}

.hero-points {
    list-style: none;
    margin-bottom: 30px;
}

.hero-points li {
    margin-bottom: 10px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
}

.btn.primary {
    background: #7b61ff;
}

.btn.secondary {
    background: #fff;
    color: #4b2bbf;
}

.hero-right img {
    max-width: 320px;
    border-radius: 24px;
}

.buy {
    background: #22c55e;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
}

/* ========== MAIN ========== */
.main {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 220px;
    background: #020617;
    padding: 20px;
}

.sidebar li {
    padding: 10px;
    cursor: pointer;
}

.sidebar li.active,
.sidebar li:hover {
    background: #1e293b;
    color: #38bdf8;
}

.content {
    flex: 1;
    padding: 24px;
}

/* ========== FOOTER ========== */
.footer {
    text-align: center;
    padding: 14px;
    font-size: 0.85rem;
    color: #64748b;
    border-top: 1px solid #1e293b;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .balance-box {
        display: none;
    }

    .main {
        flex-direction: column;
    }

    .services {
        padding: 60px 6%;
    }
}

/* -------------------------------------------- */
/* ========== SERVICES GRID ========== */
.services {
    padding: 80px 6%;
    background: linear-gradient(135deg, #2b145f, #4b2bbf);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

/* responsive columns */
@media (max-width: 1080px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 880px) {
    .services-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        padding: 6px 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch
    }

    .services-grid::-webkit-scrollbar {
        height: 10px
    }

    .services-grid::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.08);
        border-radius: 10px
    }

    .service-card {
        min-width: 260px;
        flex: 0 0 260px;
        scroll-snap-align: start
    }
}

.service-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 30px 22px 70px 22px;
    position: relative;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 220px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(2, 6, 23, 0.55);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 6px;
    background: #fff;
    color: #1e293b;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
}

.service-card .service-icon {
    transform: none;
}

.service-card h3 {
    font-size: 22px;
    margin: 8px 0 6px 0;
    color: #fff;
}

.service-card p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0 0 16px 0;
    flex: 1 1 auto;
    color: rgba(230, 238, 248, 0.9);
}

.badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    opacity: 0.95;
}

.select-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: none;
    border: none;
    color: #c7b6ff;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .18s ease, color .18s ease, opacity .18s ease;
}

.select-btn:hover {
    transform: translateY(-2px);
    color: #fff;
    opacity: 0.98;
}

/* service-specific icon colors */
.whatsapp .service-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff
}

.telegram .service-icon {
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    color: #fff
}

.discord .service-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff
}

.google .service-icon {
    background: linear-gradient(135deg, #fb7185, #fb923c);
    color: #fff
}

.instagram .service-icon {
    background: linear-gradient(135deg, #f97316, #ec4899);
    color: #fff
}

.other .service-icon {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff
}

@media (max-width:480px) {
    .services-grid {
        gap: 14px
    }

    .service-card {
        min-width: 220px;
        flex: 0 0 220px;
        padding: 14px 12px 60px 12px;
        min-height: 190px
    }

    .service-icon {
        width: 44px;
        height: 44px
    }

    .select-btn {
        padding: 8px 10px;
        font-size: 13px
    }
}


/* Card Accent Colors */
.whatsapp .service-icon {
    background: #22c55e;
}

.telegram .service-icon {
    background: #38bdf8;
}

.discord .service-icon {
    background: #8b5cf6;
}

.google .service-icon {
    background: #fb7185;
}

.instagram .service-icon {
    background: #ec4899;
}

.other .service-icon {
    background: #facc15;
}

/* ================= INDEX PAGE ENHANCEMENTS ================= */
.right-actions {
    display: flex;
    gap: 12px;
    align-items: center
}

.btn.ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: inherit;
    padding: 8px 12px
}

.header .nav {
    display: flex;
    gap: 12px;
    align-items: center
}

.header .nav a {
    padding: 6px 8px;
    border-radius: 8px
}

.header .nav a:hover {
    background: rgba(255, 255, 255, 0.02)
}

.hero {
    padding: 40px 6%;
    min-height: 50vh;
}

.hero-container {
    display: flex;
    gap: 40px;
    align-items: center
}

.hero-left {
    flex: 1
}

.hero-right {
    flex: 0 0 420px;
    display: flex;
    align-items: center;
    justify-content: center
}

.hero-right .mock-phone img {
    max-width: 360px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(16, 24, 40, 0.6);
    transform: translateY(0)
}

.hero-stats {
    display: flex;
    gap: 18px;
    margin: 20px 0
}

.hero-stats .stat {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center
}

.accent {
    color: #c7b6ff
}

/* MOBILE: collapse nav and sidebar */
@media (max-width: 880px) {
    .hero-container {
        flex-direction: column-reverse
    }

    .hero-right {
        width: 100%;
        margin-bottom: 18px
    }

    .header .nav {
        display: none
    }

    .menu-btn {
        display: block
    }

    .right-actions .btn.ghost {
        display: none
    }
}

/* Sidebar slide-in for mobile */
@media (max-width:768px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 260px;
        transform: translateX(-120%);
        transition: transform .28s ease;
        z-index: 40
    }

    .sidebar.open {
        transform: translateX(0);
        box-shadow: 0 40px 80px rgba(2, 6, 23, 0.6)
    }

    .main {
        padding-top: 20px
    }
}

/* Country modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2,6,23,0.6);
  z-index: 200;
  padding: 20px;
}
.modal.show {
  display: flex;
}
.modal-content {
  background: linear-gradient(180deg,#0b1220,#071022);
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 560px;
  color: #e6eef8;
  box-shadow: 0 30px 60px rgba(2,6,23,0.6);
  position: relative;
  max-height: 80vh;
  overflow: auto;
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  color: #cbd5f5;
  font-size: 20px;
  cursor: pointer;
}
#countrySearch {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  margin: 10px 0 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: #e6eef8;
}
#countryList {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
}
.country-item {
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.02);
}
.country-item:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.03);
}
.country-item .code {
  display: inline-block;
  margin-left: 8px;
  color: #94a3b8;
  font-size: 12px;
} 