/* 
  BIG DEALZ V2 - PREMIUM TRADING CARD ENTERTAINMENT STYLE
  Global Design System
*/

:root {
  --navy: #0a0e17;
  --royal: #0047ab;
  --electric: #00d4ff;
  --gold: #d4af37;
  --gold-metallic: linear-gradient(135deg, #d4af37 0%, #f7e08a 50%, #d4af37 100%);
  --white: #ffffff;
  --red: #e63946;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.15);
  --card-shadow: 0 15px 35px rgba(0,0,0,0.6);
  --font-main: 'Inter', sans-serif;
  --glow-royal: 0 0 20px rgba(0, 71, 171, 0.5);
  --glow-gold: 0 0 20px rgba(212, 175, 55, 0.4);
}

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

body {
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(0, 71, 171, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, .brand-text {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--royal); border-radius: 5px; border: 2px solid var(--navy); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.wrap {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* SHARED HEADER */
.global-header {
  height: 72px;
  background: rgba(10, 14, 23, 0.9);
  backdrop-filter: blur(15px);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-container {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 6px;
  padding: 3px;
  border: 2px solid var(--gold);
  box-shadow: var(--glow-gold);
}

.logo-container img { width: 100%; height: auto; }

.brand-text {
  font-size: 1.4rem;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.desktop-nav {
  display: none;
  gap: 15px;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 4px;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  background: var(--glass);
  color: var(--gold);
  box-shadow: inset 0 0 10px rgba(255,255,255,0.05);
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle .bar {
  width: 25px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* FULL SCREEN MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy);
  z-index: 2100;
  display: none;
  flex-direction: column;
  padding: 80px 40px;
  overflow-y: auto;
}

.mobile-menu.active { display: flex; }

.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: var(--gold);
  background: none;
  border: none;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-item a {
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-icon {
  width: 32px;
  height: 32px;
  opacity: 0.6;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--royal);
  color: white;
  box-shadow: 0 4px 15px var(--royal-glow);
  border-bottom: 4px solid #002e6e;
}

.btn-gold {
  background: var(--gold-metallic);
  color: var(--navy);
  box-shadow: 0 4px 15px var(--glow-gold);
  border-bottom: 4px solid #a3862b;
}

.btn-red {
  background: var(--red);
  color: white;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
  border-bottom: 4px solid #b32d36;
}

.btn:active { transform: translateY(2px); border-bottom-width: 2px; }

/* SHARED CARDS */
.card-v2 {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: 0.3s;
}

.card-v2:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: var(--card-shadow), 0 0 20px rgba(212, 175, 55, 0.2);
}

.card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  transform: skewX(-25deg);
  transition: 0.5s;
}

.card-v2:hover::before { left: 150%; }

/* SPONSOR SYSTEM */
.sponsor-banner-full {
  width: 100%;
  background: #000;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 0;
  overflow: hidden;
  position: relative;
}

.sponsor-track {
  display: flex;
  white-space: nowrap;
  animation: scroll-left 30s linear infinite;
}

.sponsor-tile {
  flex: 0 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}

.sponsor-tile img { height: 30px; width: auto; filter: grayscale(1) brightness(2); }

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* MUSIC PLAYER FIXED */
.music-trigger {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  background: var(--royal);
  border-radius: 50%;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px var(--royal-glow);
  cursor: pointer;
}

.music-player-v2 {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 340px;
  max-width: calc(100% - 50px);
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 15px;
  z-index: 2999;
  display: none;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  height: 110px;
}

.music-player-v2.active { display: flex; flex-direction: column; }

/* UTILS */
.section-title-v2 {
  font-size: 2rem;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-title-v2::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
}

/* RESPONSIVE */
@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .mobile-toggle { display: none; }
}

/* PAGE SPECIFIC SHELLS */
.page-v2 {
  min-height: 80vh;
  padding: 60px 0;
}

.hero-v2 {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-v2-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: -1;
}

.hero-v2-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--navy));
  z-index: -1;
}
