/* ============================================
   SKINSMONIKEY.IT.COM — Master Stylesheet
   Gaming Skin Trading & SEO Hub
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Orbitron:wght@500;700;900&display=swap');

/* ---------- Root Tokens ---------- */
:root {
  --bg-deep:    #06060c;
  --bg-base:    #0c0c16;
  --bg-card:    #12121e;
  --bg-card-hi: #1a1a2e;
  --neon-green: #00ff88;
  --neon-purple:#a855f7;
  --neon-blue:  #38bdf8;
  --neon-pink:  #f472b6;
  --neon-gold:  #fbbf24;
  --text-main:  #e4e4e7;
  --text-muted: #71717a;
  --border:     #27272a;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--neon-purple); border-radius: 8px; }

/* ---------- Typography ---------- */
.font-orbitron { font-family: 'Orbitron', monospace; }
.font-inter    { font-family: 'Inter', system-ui, sans-serif; }

/* ---------- Layout ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ---------- Neon Glow ---------- */
.glow-green  { box-shadow: 0 0 20px rgba(0,255,136,.15), 0 0 60px rgba(0,255,136,.05); }
.glow-purple { box-shadow: 0 0 20px rgba(168,85,247,.2), 0 0 60px rgba(168,85,247,.06); }
.glow-gold   { box-shadow: 0 0 20px rgba(251,191,36,.2), 0 0 60px rgba(251,191,36,.06); }
.glow-text-green  { text-shadow: 0 0 12px rgba(0,255,136,.5); }
.glow-text-purple { text-shadow: 0 0 12px rgba(168,85,247,.5); }

/* ---------- Animated gradient background ---------- */
.hero-gradient {
  background: linear-gradient(135deg, #06060c 0%, #120a28 40%, #0c0c16 70%, #061a12 100%);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---------- Card Hover ---------- */
.card-hover {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(0,255,136,.12);
  border-color: var(--neon-green) !important;
}

/* ---------- Skin Item Card ---------- */
.skin-card {
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.skin-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,255,136,.06) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.skin-card:hover::before { opacity: 1; }
.skin-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,255,136,.1);
}

/* ---------- Pulse dot (live indicator) ---------- */
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(1.6); }
}

/* ---------- Floating particles (pure CSS) ---------- */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particles span {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--neon-green);
  border-radius: 50%;
  opacity: .25;
  animation: float 8s linear infinite;
}
.particles span:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 10s; }
.particles span:nth-child(2) { left: 25%; animation-delay: 2s; animation-duration: 12s; }
.particles span:nth-child(3) { left: 45%; animation-delay: 4s; animation-duration: 9s; }
.particles span:nth-child(4) { left: 65%; animation-delay: 1s; animation-duration: 11s; }
.particles span:nth-child(5) { left: 85%; animation-delay: 3s; animation-duration: 13s; }
.particles span:nth-child(6) { left: 55%; animation-delay: 5s; animation-duration: 10s; background: var(--neon-purple); }
@keyframes float {
  0%   { bottom: -10%; opacity: 0; }
  20%  { opacity: .3; }
  80%  { opacity: .15; }
  100% { bottom: 110%; opacity: 0; }
}

/* ---------- CSS-Only Accordion (details/summary) ---------- */
details.accordion {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color .3s ease;
}
details.accordion:hover { border-color: #3f3f46; }
details.accordion[open] { border-color: var(--neon-green); }
details.accordion summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .75rem;
  list-style: none;
  user-select: none;
  transition: background .2s ease;
}
details.accordion summary:hover { background: var(--bg-card-hi); }
details.accordion summary::-webkit-details-marker { display: none; }
details.accordion summary::before {
  content: '▸';
  font-size: 1rem;
  color: var(--neon-green);
  transition: transform .3s ease;
  flex-shrink: 0;
}
details.accordion[open] summary::before {
  transform: rotate(90deg);
}
details.accordion .accordion-body {
  padding: 0 1.5rem 1.25rem 2.75rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Tab Labels ---------- */
.tab-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 500;
  font-size: .875rem;
  transition: all .25s ease;
  user-select: none;
}
.tab-label:hover { border-color: #3f3f46; color: var(--text-main); }
.tab-active {
  background: linear-gradient(135deg, rgba(0,255,136,.12), rgba(168,85,247,.12));
  border-color: var(--neon-green) !important;
  color: var(--neon-green) !important;
}

/* ---------- Countdown Timer ---------- */
.countdown-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card-hi);
  border-radius: 8px;
  padding: .5rem .75rem;
  min-width: 56px;
}
.countdown-box .num {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--neon-green);
}
.countdown-box .lbl {
  font-size: .625rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: .08em;
}

/* ---------- Trade Arrows ---------- */
.trade-arrows span {
  font-size: 1.5rem;
  color: var(--neon-green);
  animation: arrowBounce 1.5s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); opacity: .4; }
  50%      { transform: translateX(4px); opacity: 1; }
}

/* ---------- Blog Card ---------- */
.blog-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.blog-card .blog-img {
  transition: transform .4s ease;
}
.blog-card:hover .blog-img {
  transform: scale(1.06);
}
.blog-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6,6,12,.92) 0%, transparent 60%);
  pointer-events: none;
}

/* ---------- Badge / Tag ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .625rem;
  border-radius: 9999px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- Progress Bar ---------- */
.progress-bar {
  height: 6px;
  border-radius: 9999px;
  background: var(--bg-card-hi);
  overflow: hidden;
}
.progress-bar .fill {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-purple));
  transition: width .6s ease;
}

/* ---------- Stat Counter ---------- */
.stat-number {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
}

/* ---------- Nav link hover ---------- */
.nav-link {
  position: relative;
  padding-bottom: 2px;
  transition: color .2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--neon-green);
  transition: width .3s ease;
  border-radius: 2px;
}
.nav-link:hover { color: var(--neon-green) !important; }
.nav-link:hover::after { width: 100%; }
.nav-active { color: var(--neon-green) !important; }

/* ---------- Button Styles ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--neon-green), #00cc6a);
  color: #06060c;
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,255,136,.25);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border: 1px solid var(--neon-purple);
  border-radius: 10px;
  background: transparent;
  color: var(--neon-purple);
  font-weight: 600;
  font-size: .875rem;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
}
.btn-secondary:hover {
  background: rgba(168,85,247,.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168,85,247,.15);
}
.btn-sm { padding: .5rem 1rem; font-size: .75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(39,39,42,.6);
  background: rgba(6,6,12,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: .625rem;
}
.logo-icon { font-size: 1.5rem; }
.logo-text {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .04em;
}
.logo-green  { color: var(--neon-green); }
.logo-white  { color: #fff; }
.logo-purple { color: var(--neon-purple); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.online-badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .75rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(12,12,22,.5);
  padding: 3rem 0;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-heading {
  font-weight: 700;
  font-size: .875rem;
  margin-bottom: .75rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--neon-green); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: .75rem;
  color: #52525b;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .875rem;
  color: #52525b;
}
.footer-socials a:hover { color: var(--neon-green); }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-5 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-items { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- Section Spacing ---------- */
.section { padding: 3.5rem 0; }
.section-sm { padding: 2.5rem 0; }

/* ---------- Cards ---------- */
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
}

/* ---------- Giveaway Card ---------- */
.giveaway-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.giveaway-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(168,85,247,.1);
  border-color: var(--neon-purple);
}
.giveaway-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.giveaway-body { padding: 1.25rem; }

/* ---------- Input ---------- */
.input {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--bg-deep);
  border: 1px solid #3f3f46;
  border-radius: 12px;
  color: var(--text-main);
  font-size: .875rem;
  font-family: 'Inter', system-ui, sans-serif;
  transition: border-color .2s ease;
}
.input:focus { outline: none; border-color: var(--neon-green); }
.input::placeholder { color: #52525b; }
.input-sm { padding: .5rem .75rem; font-size: .75rem; border-radius: 8px; }

/* ---------- Misc ---------- */
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-center { text-align: center; }
.text-xs { font-size: .75rem; }
.text-sm { font-size: .875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.leading-tight { line-height: 1.2; }
.leading-snug { line-height: 1.35; }
.tracking-wide { letter-spacing: .04em; }
.tracking-wider { letter-spacing: .06em; }
.uppercase { text-transform: uppercase; }
.mb-1 { margin-bottom: .25rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.p-3 { padding: .75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; }
.shrink-0 { flex-shrink: 0; }
.w-full { width: 100%; }
.min-w-0 { min-width: 0; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-3xl { border-radius: 24px; }
.rounded-lg { border-radius: 8px; }
.border { border: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.aspect-square { aspect-ratio: 1/1; }
.inline-flex { display: inline-flex; }

/* Color utilities */
.text-white { color: #fff; }
.text-zinc-400 { color: #a1a1aa; }
.text-zinc-500 { color: #71717a; }
.text-zinc-600 { color: #52525b; }
.text-neon-green { color: var(--neon-green); }
.text-neon-purple { color: var(--neon-purple); }
.text-neon-blue { color: var(--neon-blue); }
.text-neon-gold { color: var(--neon-gold); }
.text-neon-pink { color: var(--neon-pink); }
.text-red-400 { color: #f87171; }
.text-orange-400 { color: #fb923c; }
.text-yellow-400 { color: #facc15; }
.text-emerald-400 { color: #34d399; }

.bg-deep { background: var(--bg-deep); }
.bg-base { background: var(--bg-base); }
.bg-card { background: var(--bg-card); }
.bg-card-hi { background: var(--bg-card-hi); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .nav-links { display: none; }
  .text-4xl { font-size: 1.75rem; }
  .text-5xl { font-size: 2.25rem; }
}
@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}
