/* === HOUNDS GLOBAL — CORE THEME === */
:root {
  --primary: #ff2a2a;
  --primary-glow: rgba(255, 42, 42, 0.55);
  --secondary: #ff8c00;
  --accent: #00d4ff;
  --dark: #050505;
  --card: rgba(12, 12, 16, 0.78);
  --glass: rgba(20, 20, 28, 0.55);
  --text: #f0f0f5;
  --muted: #a0a0b0;
  --gold: #ffd700;
  --green: #00ff88;
  --font-main: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; height: 100%; }
body { font-family: var(--font-main); background: var(--dark); color: var(--text); min-height: 100vh; height: 100%; overflow-x: hidden; line-height: 1.6; }

.page-shell { min-height: 100vh; display: flex; flex-direction: column; padding-top: 72px; }
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; }

.video-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; object-fit: cover; z-index: -2; opacity: 0.55; transition: opacity 1.2s ease; }
.video-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: radial-gradient(circle at center, rgba(8, 8, 12, 0.25) 0%, rgba(5, 5, 8, 0.88) 80%); z-index: -1; pointer-events: none; }

.video-controls { position: fixed; bottom: 24px; left: 24px; z-index: 1001; display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: rgba(5, 5, 8, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; backdrop-filter: blur(8px); }
.vc-btn { width: 32px; height: 32px; border: none; border-radius: 6px; background: rgba(255, 42, 42, 0.15); color: var(--text); font-size: 1rem; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; }
.vc-btn:hover { background: rgba(255, 42, 42, 0.35); transform: scale(1.05); }
.vc-slider { width: 90px; accent-color: var(--primary); cursor: pointer; }

.lang-switch { background: rgba(5, 5, 8, 0.8); border: 1px solid rgba(255, 255, 255, 0.15); color: var(--text); border-radius: 6px; padding: 6px 10px; font-weight: 600; cursor: pointer; backdrop-filter: blur(8px); }
.lang-switch option { background: var(--dark); color: var(--text); }

/* === NAVIGATION === */
.navbar { position: fixed; top: 0; left: 0; right: 0; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 4vw; background: linear-gradient(180deg, rgba(5, 5, 8, 0.95) 0%, rgba(5, 5, 8, 0.4) 70%, transparent 100%); z-index: 1000; backdrop-filter: blur(10px); }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: var(--text); text-decoration: none; }
.logo-icon { width: 42px; height: 42px; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); border-radius: 8px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 20px var(--primary-glow); font-size: 1.4rem; }
.logo img.logo-icon { background: transparent; object-fit: contain; padding: 2px; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; background: var(--primary); box-shadow: 0 0 8px var(--primary-glow); transition: width 0.3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { padding: 10px 22px; background: linear-gradient(135deg, var(--primary) 0%, #c41e1e 100%); border: none; border-radius: 6px; color: white; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(255, 42, 42, 0.35); }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255, 42, 42, 0.55); }

/* === BUTTONS === */
.btn { padding: 16px 36px; border-radius: 8px; font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer; text-decoration: none; transition: all 0.3s ease; border: none; display: inline-flex; align-items: center; gap: 10px; }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, #c41e1e 100%); color: white; box-shadow: 0 6px 24px rgba(255, 42, 42, 0.45); position: relative; overflow: hidden; }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 36px rgba(255, 42, 42, 0.65); }
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); transition: left 0.5s; }
.btn-primary:hover::before { left: 100%; }
.btn-secondary { background: transparent; color: var(--text); border: 2px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(4px); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 20px rgba(255, 42, 42, 0.2); }
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }

/* === SECTIONS === */
.section { padding: 80px 0; position: relative; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px; color: var(--text); }
.section-title p { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-title .line { width: 80px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); margin: 20px auto 0; box-shadow: 0 0 12px var(--primary-glow); border-radius: 2px; }

/* === SHARED CARDS === */
.dashboard-card { background: var(--card); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 28px; backdrop-filter: blur(12px); }
.dashboard-card h3 { font-size: 1.15rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.loading { color: var(--muted); text-align: center; padding: 40px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 28px; transition: all 0.35s ease; backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); opacity: 0.6; transition: opacity 0.3s ease; }
.card:hover { transform: translateY(-6px); border-color: rgba(255, 42, 42, 0.35); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 24px rgba(255, 42, 42, 0.15); }
.card:hover::before { opacity: 1; }
.card-icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(255, 42, 42, 0.12); display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin-bottom: 18px; border: 1px solid rgba(255, 42, 42, 0.25); box-shadow: 0 0 16px rgba(255, 42, 42, 0.15); }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--text); }
.card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

.wallet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.wallet-item { background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 18px; text-align: center; }
.wallet-item .label { display: block; font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.wallet-item .value { display: block; font-size: 1.7rem; font-weight: 900; color: var(--gold); }
.wallet-item.cash .value { color: var(--accent); }

/* === FOOTER === */
.footer { padding: 40px 24px; text-align: center; background: rgba(5, 5, 8, 0.85); border-top: 1px solid rgba(255, 255, 255, 0.06); margin-top: auto; backdrop-filter: blur(8px); }
.footer p { color: var(--muted); font-size: 0.85rem; }

/* === ANIMATIONS === */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 0.8s ease forwards; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 20px rgba(255, 42, 42, 0.35); } 50% { box-shadow: 0 0 40px rgba(255, 42, 42, 0.65); } }
.pulse { animation: pulse 2s infinite; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #ff4d4d; }

/* === COMPREHENSIVE MOBILE RESPONSIVENESS === */

/* Tablets and Large Mobile */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .nav-links { gap: 20px; }
  .logo { font-size: 1.3rem; }
  .logo-icon { width: 38px; height: 38px; }
}

/* Small Tablets and Large Mobile */
@media (max-width: 768px) {
  .navbar { height: auto; flex-direction: column; padding: 12px 4vw; }
  .nav-links { gap: 16px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
  .page-shell { padding-top: 120px; }
  .container { padding: 0 16px; }
  .logo { font-size: 1.2rem; }
  .logo-icon { width: 36px; height: 36px; }
  .nav-cta { padding: 8px 16px; font-size: 0.75rem; }
  
  /* Mobile Typography */
  .section-title h2 { font-size: 2rem; }
  .section-title p { font-size: 1rem; }
  
  /* Mobile Buttons */
  .btn { padding: 14px 28px; font-size: 0.85rem; }
  .btn-sm { padding: 8px 16px; font-size: 0.75rem; }
  
  /* Mobile Cards */
  .card { padding: 20px; }
  .card-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
  .dashboard-card { padding: 20px; }
  .card-icon { width: 48px; height: 48px; font-size: 1.4rem; }
  
  /* Mobile Sections */
  .section { padding: 60px 0; }
  
  /* Mobile Wallet Grid */
  .wallet-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .wallet-item { padding: 14px; }
  .wallet-item .value { font-size: 1.4rem; }
}

/* Mobile Phones */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.8rem; padding: 8px 12px; }
  .logo { font-size: 1.1rem; }
  .logo-icon { width: 32px; height: 32px; }
  .nav-cta { padding: 6px 12px; font-size: 0.7rem; }
  .page-shell { padding-top: 130px; }
  
  /* Mobile Typography */
  .section-title h2 { font-size: 1.8rem; }
  .section-title p { font-size: 0.95rem; }
  
  /* Mobile Buttons */
  .btn { padding: 12px 24px; font-size: 0.8rem; }
  .btn-sm { padding: 6px 12px; font-size: 0.7rem; }
  
  /* Mobile Cards */
  .card { padding: 16px; }
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .dashboard-card { padding: 16px; }
  .card-icon { width: 44px; height: 44px; font-size: 1.3rem; }
  
  /* Mobile Sections */
  .section { padding: 50px 0; }
  
  /* Mobile Wallet */
  .wallet-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .wallet-item { padding: 12px; }
  .wallet-item .value { font-size: 1.3rem; }
  
  /* Mobile Video Controls */
  .video-controls { bottom: 16px; left: 16px; padding: 6px 10px; }
  .vc-btn { width: 28px; height: 28px; font-size: 0.9rem; }
  .vc-slider { width: 70px; }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .nav-links { gap: 8px; flex-wrap: wrap; }
  .nav-links a { font-size: 0.7rem; padding: 6px 10px; }
  .logo { font-size: 1rem; gap: 8px; }
  .logo-icon { width: 28px; height: 28px; font-size: 0.9rem; }
  .nav-cta { padding: 5px 10px; font-size: 0.65rem; }
  .page-shell { padding-top: 140px; }
  
  /* Small Mobile Typography */
  .section-title h2 { font-size: 1.5rem; }
  .section-title p { font-size: 0.9rem; }
  
  /* Small Mobile Buttons */
  .btn { padding: 10px 20px; font-size: 0.75rem; }
  .btn-sm { padding: 5px 10px; font-size: 0.65rem; }
  
  /* Small Mobile Cards */
  .card { padding: 14px; }
  .dashboard-card { padding: 14px; }
  .card-icon { width: 40px; height: 40px; font-size: 1.2rem; }
  .card h3 { font-size: 1.1rem; }
  .card p { font-size: 0.85rem; }
  
  /* Small Mobile Sections */
  .section { padding: 40px 0; }
  
  /* Small Mobile Wallet */
  .wallet-grid { grid-template-columns: 1fr; gap: 8px; }
  .wallet-item { padding: 10px; }
  .wallet-item .value { font-size: 1.2rem; }
  
  /* Small Mobile Video */
  .video-controls { bottom: 12px; left: 12px; padding: 4px 8px; }
  .vc-btn { width: 24px; height: 24px; font-size: 0.8rem; }
  .vc-slider { width: 60px; }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .container { padding: 0 10px; }
  .nav-links { gap: 6px; }
  .nav-links a { font-size: 0.65rem; padding: 4px 8px; }
  .logo { font-size: 0.9rem; }
  .logo-icon { width: 24px; height: 24px; font-size: 0.8rem; }
  .nav-cta { padding: 4px 8px; font-size: 0.6rem; }
  .page-shell { padding-top: 150px; }
  
  /* Extra Small Typography */
  .section-title h2 { font-size: 1.3rem; }
  .section-title p { font-size: 0.85rem; }
  
  /* Extra Small Buttons */
  .btn { padding: 8px 16px; font-size: 0.7rem; }
  .btn-sm { padding: 4px 8px; font-size: 0.6rem; }
  
  /* Extra Small Cards */
  .card { padding: 12px; }
  .dashboard-card { padding: 12px; }
  .card-icon { width: 36px; height: 36px; font-size: 1rem; }
  .card h3 { font-size: 1rem; }
  .card p { font-size: 0.8rem; }
  
  /* Extra Small Sections */
  .section { padding: 30px 0; }
}

/* === FOOTER & SOCIAL === */
.footer { padding: 40px 0; text-align: center; color: var(--muted); border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 60px; }
.footer p { font-size: 0.85rem; }
.social-bar { display: flex; justify-content: center; gap: 18px; margin-bottom: 18px; }
.social-bar a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--muted); transition: all 0.25s ease; }
.social-bar a:hover { background: var(--primary); border-color: var(--primary); color: white; transform: translateY(-3px); box-shadow: 0 6px 18px rgba(255, 42, 42, 0.35); }
.social-bar svg { width: 20px; height: 20px; fill: currentColor; }
