@font-face {
  font-family: 'ClashFont';
  src: url('Clash_Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --bg-primary: #0b0f1a;
  --bg-secondary: #111827;
  --bg-card: #161d2e;
  --bg-card-hover: #1c2540;
  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --blue-dark: #1d4ed8;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --green: #10b981;
  --red: #ef4444;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(59,130,246,0.15);
  --border-bright: rgba(59,130,246,0.4);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --radius: 14px;
  --radius-sm: 8px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}
.coc-font { font-family: 'ClashFont', 'Nunito', sans-serif; }

/* NAV */
nav {
  background: rgba(11,15,26,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  padding: 0 12px;
}
.nav-inner {
  max-width: 480px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
  gap: 8px;
}
.nav-logo {
  font-family: 'ClashFont', sans-serif;
  font-size: 17px; color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  display: flex; align-items: center; gap: 4px;
}
.nav-logo span { color: var(--blue-bright); }
.nav-links { display: flex; gap: 1px; align-items: center; flex-shrink: 0; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 12px; font-weight: 700;
  padding: 5px 7px; border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-bright); background: rgba(59,130,246,0.1); }
.nav-admin-link { color: var(--gold) !important; font-size: 14px !important; }

/* REVIEWS MARQUEE */
.reviews-section { overflow: hidden; margin-bottom: 24px; padding: 4px 0; }
.reviews-track {
  display: flex; gap: 12px;
  animation: marquee-scroll 32s linear infinite;
  width: max-content;
}
.reviews-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.review-card {
  flex-shrink: 0; width: 220px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px;
}
.review-stars { font-size: 12px; margin-bottom: 6px; color: var(--gold); letter-spacing: 2px; }
.review-text { font-size: 12px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 8px; }
.review-author { font-size: 11px; font-weight: 800; color: var(--blue-bright); }

/* LAYOUT */
.container { max-width: 480px; margin: 0 auto; padding: 0 16px; }

/* HERO */
.hero {
  background: linear-gradient(160deg, #0d1529 0%, #0b0f1a 70%);
  padding: 36px 16px 28px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -80px; left: 50%;
  transform: translateX(-50%); width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-avatar {
  width: 110px; height: 110px; border-radius: 50%;
  border: 3px solid var(--gold);
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; margin: 0 auto 16px;
  box-shadow: 0 0 28px rgba(245,158,11,0.25);
  overflow: hidden;
}
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 {
  font-family: 'ClashFont', sans-serif;
  font-size: 28px; color: var(--gold);
  text-shadow: 0 2px 10px rgba(245,158,11,0.25);
  line-height: 1.15; margin-bottom: 8px;
}
.hero h1 span { color: var(--text-primary); }
.hero-sub { color: var(--text-secondary); font-size: 14px; margin-bottom: 22px; }
.hero-sub strong { color: var(--blue-bright); }
.hero-btns {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; max-width: 310px; margin: 0 auto 24px;
}
.btn-primary {
  background: var(--blue); color: #fff;
  font-family: 'ClashFont', sans-serif; font-size: 16px;
  border: none; border-radius: var(--radius); padding: 13px 16px;
  cursor: pointer; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all 0.2s; box-shadow: 0 4px 14px rgba(59,130,246,0.3);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-gold {
  background: var(--gold); color: #1a1000;
  font-family: 'ClashFont', sans-serif; font-size: 16px;
  border: none; border-radius: var(--radius); padding: 13px 16px;
  cursor: pointer; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all 0.2s; box-shadow: 0 4px 14px rgba(245,158,11,0.3);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.stat-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 6px; text-align: center;
}
.stat-num { font-family: 'ClashFont', sans-serif; font-size: 19px; color: var(--blue-bright); display: block; }
.stat-label { font-size: 10px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* SECTIONS */
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 24px 0 12px; }
.section-title { font-family: 'ClashFont', sans-serif; font-size: 19px; color: var(--text-primary); }
.section-link { color: var(--blue-bright); font-size: 13px; font-weight: 700; text-decoration: none; }

/* FILTER TABS */
.filter-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: none; }
.filter-tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); font-family: 'Nunito', sans-serif;
  font-size: 13px; font-weight: 700; padding: 7px 14px;
  border-radius: 99px; cursor: pointer; white-space: nowrap;
  transition: all 0.2s; flex-shrink: 0;
}
.tab-btn:hover,.tab-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* LISTING CARDS */
.listings-grid { display: flex; flex-direction: column; gap: 10px; }
.listing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.2s;
}
.listing-card:hover { border-color: var(--border-bright); background: var(--bg-card-hover); transform: translateY(-1px); box-shadow: var(--shadow); }
.card-top { display: flex; align-items: center; gap: 12px; padding: 13px 13px 6px; }
.card-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--bg-secondary); display: flex; align-items: center;
  justify-content: center; font-size: 26px; flex-shrink: 0;
  border: 1px solid var(--border);
}
.card-info { flex: 1; min-width: 0; }
.card-game-tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: var(--blue-bright); margin-bottom: 1px; }
.card-title { font-family: 'ClashFont', sans-serif; font-size: 16px; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-desc { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-price-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 13px 13px; }
.card-price { font-family: 'ClashFont', sans-serif; font-size: 21px; color: var(--gold); }
.card-badge { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 99px; text-transform: uppercase; }
.badge-coc { background: rgba(245,158,11,0.12); color: var(--gold); }
.badge-bs { background: rgba(239,68,68,0.12); color: #f87171; }
.badge-cr { background: rgba(16,185,129,0.12); color: #34d399; }
.btn-contact {
  background: var(--blue); color: #fff; border: none;
  border-radius: var(--radius-sm); padding: 7px 13px;
  font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 800;
  cursor: pointer; transition: background 0.2s;
}
.btn-contact:hover { background: var(--blue-dark); }

/* MODAL */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.72); z-index: 999;
  align-items: flex-end; justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-sheet {
  background: var(--bg-secondary);
  border-radius: 20px 20px 0 0;
  border-top: 1px solid var(--border-bright);
  width: 100%; max-width: 480px;
  padding: 18px 20px 36px;
  animation: slideUp 0.28s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-handle { width: 36px; height: 4px; background: var(--border-bright); border-radius: 99px; margin: 0 auto 14px; }
.modal-title { font-family: 'ClashFont', sans-serif; font-size: 19px; text-align: center; margin-bottom: 4px; }
.modal-listing-name { text-align: center; color: var(--blue-bright); font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.contact-options { display: flex; flex-direction: column; gap: 9px; }
.contact-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 15px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-primary); text-decoration: none;
  font-weight: 700; font-size: 15px; transition: all 0.2s;
}
.contact-btn:hover { border-color: var(--border-bright); background: var(--bg-card-hover); }
.contact-btn-icon { font-size: 22px; width: 30px; text-align: center; }
.contact-btn-sub { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.btn-close-modal {
  width: 100%; margin-top: 12px;
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); padding: 12px; border-radius: var(--radius);
  font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer;
}

/* HOW IT WORKS */
.steps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.step {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 13px;
}
.step-num {
  width: 34px; height: 34px; background: var(--blue); color: #fff;
  font-family: 'ClashFont', sans-serif; font-size: 17px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-text h3 { font-family: 'ClashFont', sans-serif; font-size: 15px; color: var(--text-primary); margin-bottom: 2px; }
.step-text p { font-size: 12px; color: var(--text-muted); }

/* GIF ROW */
.gif-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: none; }
.gif-row::-webkit-scrollbar { display: none; }
.gif-item {
  flex-shrink: 0; width: 95px; height: 95px;
  border-radius: var(--radius); border: 1px solid var(--border);
  object-fit: cover; background: var(--bg-card);
  display: flex; align-items: center; justify-content: center; font-size: 38px;
}

/* FORMS */
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.form-title { font-family: 'ClashFont', sans-serif; font-size: 18px; color: var(--text-primary); margin-bottom: 14px; }
.form-group { margin-bottom: 13px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--text-secondary); margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--bg-secondary); border: 1px solid var(--border);
  color: var(--text-primary); font-family: 'Nunito', sans-serif;
  font-size: 14px; padding: 10px 13px; border-radius: var(--radius-sm);
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group select option { background: var(--bg-secondary); }
.form-group textarea { resize: vertical; min-height: 80px; }
.btn-submit {
  width: 100%; background: var(--blue); color: #fff;
  font-family: 'ClashFont', sans-serif; font-size: 18px;
  border: none; border-radius: var(--radius); padding: 14px;
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(59,130,246,0.3);
}
.btn-submit:hover { background: var(--blue-dark); }

/* CONTACT PAGE */
.contact-page-btn {
  display: flex; align-items: center; gap: 15px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 15px;
  text-decoration: none; color: var(--text-primary); margin-bottom: 10px;
  transition: all 0.2s;
}
.contact-page-btn:hover { border-color: var(--border-bright); background: var(--bg-card-hover); }
.contact-icon-wrap {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.contact-page-title { font-weight: 800; font-size: 15px; }
.contact-page-sub { font-size: 12px; color: var(--text-muted); }

/* ADMIN */
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.admin-login-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 22px;
  width: 100%; max-width: 350px; text-align: center;
}
.admin-login-card h2 { font-family: 'ClashFont', sans-serif; font-size: 24px; color: var(--gold); margin-bottom: 4px; }
.admin-login-card p { color: var(--text-muted); font-size: 13px; margin-bottom: 22px; }
.admin-panel { padding: 16px 16px; max-width: 480px; margin: 0 auto; }
.admin-tabs {
  display: flex; gap: 6px; margin-bottom: 18px;
  background: var(--bg-card); border-radius: var(--radius);
  padding: 5px; border: 1px solid var(--border);
}
.admin-tab {
  flex: 1; padding: 9px; background: none; border: none;
  color: var(--text-muted); font-family: 'Nunito', sans-serif;
  font-size: 13px; font-weight: 700; border-radius: var(--radius-sm);
  cursor: pointer; transition: all 0.2s;
}
.admin-tab.active { background: var(--blue); color: #fff; }
.admin-section { display: none; }
.admin-section.active { display: block; }
.submission-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 13px; margin-bottom: 10px; }
.submission-card h3 { font-family: 'ClashFont', sans-serif; font-size: 15px; margin-bottom: 7px; }
.submission-meta { font-size: 12px; color: var(--text-secondary); margin-bottom: 3px; }
.submission-actions { display: flex; gap: 8px; margin-top: 10px; }
.btn-approve { flex:1; background: var(--green); color:#fff; border:none; border-radius:var(--radius-sm); padding:9px; font-family:'Nunito',sans-serif; font-size:13px; font-weight:700; cursor:pointer; }
.btn-reject { flex:1; background: var(--red); color:#fff; border:none; border-radius:var(--radius-sm); padding:9px; font-family:'Nunito',sans-serif; font-size:13px; font-weight:700; cursor:pointer; }
.admin-listing-item {
  display:flex; align-items:center; justify-content:space-between;
  background:var(--bg-card); border:1px solid var(--border);
  border-radius:var(--radius); padding:12px 13px; margin-bottom:9px;
}
.btn-delete { background:var(--red); color:#fff; border:none; border-radius:var(--radius-sm); padding:6px 12px; font-size:12px; font-weight:700; cursor:pointer; }

/* EMPTY STATE */
.empty-state { text-align:center; padding:44px 20px; color:var(--text-muted); }
.empty-state .ei { font-size:48px; margin-bottom:10px; }
.empty-state h3 { font-family:'ClashFont',sans-serif; font-size:17px; color:var(--text-secondary); margin-bottom:5px; }
.empty-state p { font-size:13px; }

/* TOAST */
.toast {
  position:fixed; bottom:22px; left:50%;
  transform:translateX(-50%) translateY(80px);
  background:var(--bg-card); border:1px solid var(--border-bright);
  border-radius:var(--radius); padding:11px 20px;
  font-size:14px; font-weight:700; color:var(--text-primary);
  z-index:9999; transition:transform 0.3s ease;
  white-space:nowrap; box-shadow:var(--shadow);
}
.toast.show { transform:translateX(-50%) translateY(0); }
.toast.success { border-color:rgba(16,185,129,0.5); color:#34d399; }
.toast.error { border-color:rgba(239,68,68,0.5); color:#f87171; }

/* FOOTER */
footer { background:var(--bg-secondary); border-top:1px solid var(--border); padding:22px 16px; text-align:center; margin-top:36px; }
footer .footer-logo { font-family:'ClashFont',sans-serif; font-size:19px; color:var(--gold); margin-bottom:5px; }
footer p { font-size:12px; color:var(--text-muted); }
footer a { color:var(--blue-bright); text-decoration:none; }
.pb-20 { padding-bottom:20px; }
.divider { border:none; border-top:1px solid var(--border); margin:20px 0; }
