/*
Theme Name: HBH - Headboy's Gaming Household
Theme URI: https://headboysgaminghousehold.com
Author: Headboy
Author URI: https://headboysgaminghousehold.com
Description: A full gaming ecosystem platform theme featuring tournaments, betting, live streaming, marketplace, coaching academy, and HBH Closet merch store. Powered by The House of Poshfit.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hbh
Tags: gaming, esports, tournament, dark-theme, custom-logo
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* ============================================
   HBH THEME — CORE STYLES
   ============================================ */

:root {
  /* Colors */
  --hbh-bg-primary: #020617;
  --hbh-bg-secondary: #0f172a;
  --hbh-bg-tertiary: #1e293b;
  --hbh-bg-card: #0f172a;
  --hbh-border: #1e293b;
  --hbh-border-light: #334155;
  --hbh-text-primary: #e2e8f0;
  --hbh-text-secondary: #94a3b8;
  --hbh-text-muted: #64748b;
  --hbh-text-dark: #475569;
  --hbh-accent-purple: #a78bfa;
  --hbh-accent-blue: #60a5fa;
  --hbh-accent-green: #22c55e;
  --hbh-accent-red: #ef4444;
  --hbh-accent-yellow: #f59e0b;
  --hbh-accent-gold: #d97706;
  --hbh-gradient-purple: linear-gradient(135deg, #a78bfa, #7c3aed);
  --hbh-gradient-green: linear-gradient(135deg, #22c55e, #16a34a);
  --hbh-gradient-gold: linear-gradient(135deg, #f59e0b, #d97706);
  --hbh-gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0a1a2e 100%);

  /* Typography */
  --hbh-font-display: 'Oswald', sans-serif;
  --hbh-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --hbh-radius-sm: 8px;
  --hbh-radius-md: 12px;
  --hbh-radius-lg: 16px;
  --hbh-radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--hbh-font-body);
  background-color: var(--hbh-bg-primary);
  color: var(--hbh-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: var(--hbh-accent-purple);
  text-decoration: none;
  transition: all 0.2s;
}

a:hover {
  color: var(--hbh-accent-blue);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--hbh-bg-primary); }
::-webkit-scrollbar-thumb { background: var(--hbh-border-light); border-radius: 3px; }

/* ============================================
   LAYOUT
   ============================================ */

.hbh-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hbh-content-area {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
}

.hbh-grid {
  display: grid;
  gap: 16px;
}

.hbh-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.hbh-grid-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.hbh-grid-4 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.hbh-grid-5 { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

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

.hbh-flex-wrap {
  flex-wrap: wrap;
}

.hbh-flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============================================
   HEADER
   ============================================ */

.hbh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hbh-border);
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hbh-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--hbh-text-primary);
}

.hbh-logo-text {
  font-family: var(--hbh-font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
}

.hbh-logo-sub {
  font-size: 11px;
  color: var(--hbh-text-muted);
  font-weight: 500;
}

.hbh-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.hbh-nav {
  width: 240px;
  background: #0a0f1a;
  border-right: 1px solid var(--hbh-border);
  min-height: calc(100vh - 60px);
  position: sticky;
  top: 60px;
  overflow-y: auto;
  transition: all 0.3s;
  flex-shrink: 0;
}

.hbh-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  color: var(--hbh-text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  text-decoration: none;
}

.hbh-nav-item:hover {
  background: rgba(30, 41, 59, 0.4);
  color: var(--hbh-text-primary);
}

.hbh-nav-item.active {
  background: var(--hbh-bg-tertiary);
  color: var(--hbh-accent-purple);
  font-weight: 700;
  border-left-color: var(--hbh-accent-purple);
}

.hbh-nav-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* Mobile Nav Toggle */
.hbh-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hbh-border-light);
  border-radius: var(--hbh-radius-sm);
  padding: 6px 10px;
  color: var(--hbh-text-primary);
  cursor: pointer;
  font-size: 18px;
}

@media (max-width: 768px) {
  .hbh-nav {
    position: fixed;
    top: 60px;
    left: -260px;
    z-index: 99;
    width: 260px;
    height: calc(100vh - 60px);
  }

  .hbh-nav.open {
    left: 0;
  }

  .hbh-nav-toggle {
    display: block;
  }

  .hbh-logo-sub {
    display: none;
  }
}

/* ============================================
   CARDS
   ============================================ */

.hbh-card {
  background: var(--hbh-bg-card);
  border: 1px solid var(--hbh-border);
  border-radius: var(--hbh-radius-md);
  padding: 16px;
  transition: all 0.2s;
}

.hbh-card:hover {
  border-color: var(--hbh-border-light);
}

.hbh-card-clickable {
  cursor: pointer;
}

.hbh-card-clickable:hover {
  border-color: var(--hbh-accent-purple);
  transform: translateY(-1px);
}

.hbh-card-featured {
  border-color: rgba(167, 139, 250, 0.3);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.05), transparent);
}

.hbh-card-dashed {
  border-style: dashed;
}

/* ============================================
   BUTTONS
   ============================================ */

.hbh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.hbh-btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.hbh-btn:active {
  transform: scale(0.98);
}

.hbh-btn-primary {
  background: var(--hbh-gradient-purple);
  color: #fff;
}

.hbh-btn-green {
  background: var(--hbh-gradient-green);
  color: #fff;
}

.hbh-btn-gold {
  background: var(--hbh-gradient-gold);
  color: #000;
}

.hbh-btn-secondary {
  background: var(--hbh-bg-tertiary);
  color: #fff;
  border: 1px solid var(--hbh-border-light);
}

.hbh-btn-outline {
  background: transparent;
  color: var(--hbh-accent-purple);
  border: 1px solid var(--hbh-accent-purple);
}

.hbh-btn-sm {
  padding: 6px 16px;
  font-size: 12px;
}

.hbh-btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

.hbh-btn-block {
  width: 100%;
}

/* ============================================
   BADGES
   ============================================ */

.hbh-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--hbh-radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hbh-badge-live { background: var(--hbh-accent-red); color: #fff; animation: hbh-pulse 1.5s infinite; }
.hbh-badge-upcoming { background: #3b82f6; color: #fff; }
.hbh-badge-completed { background: #6b7280; color: #fff; }
.hbh-badge-platinum { background: var(--hbh-accent-purple); color: #fff; }
.hbh-badge-gold { background: var(--hbh-accent-yellow); color: #000; }
.hbh-badge-silver { background: #94a3b8; color: #000; }
.hbh-badge-bronze { background: #b45309; color: #fff; }

.hbh-coin-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--hbh-gradient-gold);
  color: #000;
  border-radius: var(--hbh-radius-full);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
}

.hbh-form-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  margin-right: 2px;
}

.hbh-form-w { background: var(--hbh-accent-green); }
.hbh-form-d { background: var(--hbh-accent-yellow); }
.hbh-form-l { background: var(--hbh-accent-red); }

/* ============================================
   TYPOGRAPHY
   ============================================ */

.hbh-page-title {
  font-family: var(--hbh-font-display);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 4px;
}

.hbh-section-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-top: 24px;
  margin-bottom: 10px;
}

.hbh-stat-number {
  font-family: var(--hbh-font-display);
  font-weight: 900;
}

.hbh-text-muted { color: var(--hbh-text-muted); }
.hbh-text-secondary { color: var(--hbh-text-secondary); }
.hbh-text-green { color: var(--hbh-accent-green); }
.hbh-text-red { color: var(--hbh-accent-red); }
.hbh-text-purple { color: var(--hbh-accent-purple); }
.hbh-text-gold { color: var(--hbh-accent-yellow); }
.hbh-text-blue { color: var(--hbh-accent-blue); }

/* ============================================
   HERO SECTION
   ============================================ */

.hbh-hero {
  background: var(--hbh-gradient-hero);
  border-radius: var(--hbh-radius-lg);
  padding: 40px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.hbh-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15), transparent 60%);
  pointer-events: none;
}

.hbh-hero-title {
  font-family: var(--hbh-font-display);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
}

.hbh-hero-gradient-text {
  background: linear-gradient(90deg, #a78bfa, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   LEAGUE TABLE
   ============================================ */

.hbh-league-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.hbh-league-table thead tr {
  border-bottom: 2px solid var(--hbh-border);
}

.hbh-league-table th {
  padding: 10px 6px;
  color: var(--hbh-text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  cursor: help;
}

.hbh-league-table th.text-left {
  text-align: left;
}

.hbh-league-table th abbr {
  border-bottom: 1px dashed var(--hbh-border-light);
  text-decoration: none;
  padding-bottom: 1px;
}

.hbh-league-table td {
  padding: 10px 6px;
  text-align: center;
  border-bottom: 1px solid var(--hbh-border);
}

.hbh-league-table td.text-left {
  text-align: left;
}

.hbh-league-table tr:hover {
  background: rgba(30, 41, 59, 0.3);
}

.hbh-league-position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  font-weight: 800;
}

.hbh-zone-champion { border-left: 3px solid var(--hbh-accent-green); }
.hbh-zone-cup { border-left: 3px solid #3b82f6; }
.hbh-zone-relegation { border-left: 3px solid var(--hbh-accent-red); }

/* ============================================
   BRACKET
   ============================================ */

.hbh-bracket {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  align-items: center;
}

.hbh-bracket-round {
  min-width: 200px;
  flex-shrink: 0;
}

.hbh-bracket-round-title {
  color: var(--hbh-accent-purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-align: center;
}

.hbh-bracket-match {
  border-radius: var(--hbh-radius-md);
  overflow: hidden;
  border: 1px solid var(--hbh-border);
  background: var(--hbh-bg-card);
  margin-bottom: 12px;
}

.hbh-bracket-player {
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  border-bottom: 1px solid var(--hbh-border);
}

.hbh-bracket-player:last-child {
  border-bottom: none;
}

.hbh-bracket-player.winner {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.15), transparent);
  font-weight: 800;
}

.hbh-bracket-score {
  font-family: var(--hbh-font-display);
  font-weight: 800;
  font-size: 16px;
}

/* ============================================
   LIVE HUB
   ============================================ */

.hbh-live-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
}

@media (max-width: 768px) {
  .hbh-live-layout {
    grid-template-columns: 1fr;
  }
}

.hbh-stream-container {
  border-radius: var(--hbh-radius-md);
  overflow: hidden;
  border: 1px solid var(--hbh-border);
  background: var(--hbh-bg-card);
}

.hbh-stream-placeholder {
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: var(--hbh-gradient-hero);
}

.hbh-chat-box {
  border-radius: var(--hbh-radius-md);
  border: 1px solid var(--hbh-border);
  background: var(--hbh-bg-card);
  display: flex;
  flex-direction: column;
  height: 480px;
}

.hbh-chat-header {
  padding: 12px 14px;
  border-bottom: 1px solid var(--hbh-border);
  font-weight: 800;
  font-size: 13px;
}

.hbh-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 8px 14px;
}

.hbh-chat-input-area {
  padding: 10px;
  border-top: 1px solid var(--hbh-border);
  display: flex;
  gap: 8px;
}

.hbh-chat-input {
  flex: 1;
  background: var(--hbh-bg-primary);
  border: 1px solid var(--hbh-border-light);
  border-radius: var(--hbh-radius-sm);
  padding: 8px 12px;
  color: var(--hbh-text-primary);
  font-size: 13px;
  outline: none;
}

.hbh-chat-input:focus {
  border-color: var(--hbh-accent-purple);
}

/* ============================================
   BETTING BOARD
   ============================================ */

.hbh-bet-option {
  padding: 14px 8px;
  background: var(--hbh-bg-primary);
  border: 1px solid var(--hbh-border);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.hbh-bet-option:hover {
  border-color: var(--hbh-accent-purple);
}

.hbh-bet-option.selected {
  border: 2px solid var(--hbh-accent-purple);
  background: rgba(167, 139, 250, 0.08);
}

.hbh-bet-odds {
  font-family: var(--hbh-font-display);
  font-weight: 900;
  font-size: 20px;
  color: var(--hbh-accent-purple);
}

/* ============================================
   BILLBOARD
   ============================================ */

.hbh-billboard-structure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.hbh-billboard-spotlights {
  width: 90%;
  max-width: 700px;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hbh-billboard-light {
  width: 28px;
  height: 16px;
  background: linear-gradient(180deg, #64748b, #475569);
  border-radius: 4px 4px 0 0;
  border: 1px solid #94a3b8;
}

.hbh-billboard-frame {
  width: 92%;
  max-width: 720px;
  background: linear-gradient(135deg, #6b7280, #4b5563, #6b7280);
  border-radius: 6px;
  padding: 6px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
}

.hbh-billboard-bolt {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #94a3b8, #374151);
  border: 1px solid #4b5563;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.3);
}

.hbh-billboard-panel {
  background: #000;
  border-radius: 3px;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.hbh-billboard-pole {
  width: 28px;
  height: 60px;
  background: linear-gradient(90deg, #4b5563, #6b7280 30%, #9ca3af 50%, #6b7280 70%, #4b5563);
  border-radius: 0 0 4px 4px;
  box-shadow: 2px 4px 8px rgba(0,0,0,0.4);
}

.hbh-billboard-base {
  width: 44px;
  height: 10px;
  background: linear-gradient(180deg, #6b7280, #4b5563);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* ============================================
   MARKETPLACE
   ============================================ */

.hbh-listing-card {
  border-radius: var(--hbh-radius-md);
  overflow: hidden;
  border: 1px solid var(--hbh-border);
  background: var(--hbh-bg-card);
  transition: all 0.2s;
}

.hbh-listing-card:hover {
  border-color: var(--hbh-accent-green);
}

.hbh-listing-image {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hbh-bg-secondary), var(--hbh-bg-tertiary));
  font-size: 48px;
}

.hbh-escrow-step {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hbh-accent-green);
  color: #000;
  font-size: 10px;
  font-weight: 900;
}

/* ============================================
   HBH CLOSET
   ============================================ */

.hbh-closet-item {
  border-radius: var(--hbh-radius-md);
  overflow: hidden;
  border: 1px solid var(--hbh-border);
  background: var(--hbh-bg-card);
  transition: all 0.2s;
}

.hbh-closet-item:hover {
  border-color: var(--hbh-accent-purple);
}

.hbh-closet-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}

.hbh-closet-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: var(--hbh-radius-full);
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  background: var(--hbh-accent-purple);
}

/* ============================================
   FORMS & INPUTS
   ============================================ */

.hbh-input {
  background: var(--hbh-bg-primary);
  border: 1px solid var(--hbh-border-light);
  border-radius: var(--hbh-radius-sm);
  padding: 10px 14px;
  color: var(--hbh-text-primary);
  font-size: 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.hbh-input:focus {
  border-color: var(--hbh-accent-purple);
}

.hbh-select {
  background: var(--hbh-bg-primary);
  border: 1px solid var(--hbh-border-light);
  border-radius: var(--hbh-radius-sm);
  padding: 10px 14px;
  color: var(--hbh-text-primary);
  font-size: 14px;
  outline: none;
  cursor: pointer;
}

.hbh-textarea {
  background: var(--hbh-bg-primary);
  border: 1px solid var(--hbh-border-light);
  border-radius: var(--hbh-radius-sm);
  padding: 10px 14px;
  color: var(--hbh-text-primary);
  font-size: 14px;
  outline: none;
  width: 100%;
  resize: vertical;
  min-height: 100px;
}

/* ============================================
   FILTER PILLS
   ============================================ */

.hbh-pill {
  padding: 6px 16px;
  border-radius: var(--hbh-radius-full);
  border: 1px solid var(--hbh-border-light);
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  color: var(--hbh-text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.hbh-pill.active {
  background: var(--hbh-accent-purple);
  color: #000;
  border-color: var(--hbh-accent-purple);
}

/* ============================================
   NOTICE BOARD
   ============================================ */

.hbh-notice { border-left: 4px solid var(--hbh-border-light); }
.hbh-notice-hot { border-left-color: var(--hbh-accent-red); background: linear-gradient(135deg, rgba(239,68,68,0.08), transparent); }
.hbh-notice-special { border-left-color: var(--hbh-accent-purple); background: linear-gradient(135deg, rgba(167,139,250,0.08), transparent); }
.hbh-notice-warning { border-left-color: var(--hbh-accent-yellow); background: linear-gradient(135deg, rgba(234,179,8,0.08), transparent); }

/* ============================================
   WALLET
   ============================================ */

.hbh-wallet-banner {
  background: linear-gradient(135deg, #1a0a2e, #0f3460);
  border-radius: var(--hbh-radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.hbh-wallet-balance {
  font-family: var(--hbh-font-display);
  font-size: 42px;
  font-weight: 900;
}

.hbh-transaction-positive { color: var(--hbh-accent-green); }
.hbh-transaction-negative { color: var(--hbh-accent-red); }

/* ============================================
   PAYMENT GATEWAY SECTION
   ============================================ */

.hbh-payment-methods {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hbh-payment-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--hbh-radius-sm);
  border: 1px solid var(--hbh-border-light);
  background: var(--hbh-bg-secondary);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
  font-weight: 600;
  color: var(--hbh-text-primary);
}

.hbh-payment-option:hover,
.hbh-payment-option.selected {
  border-color: var(--hbh-accent-green);
  background: rgba(34, 197, 94, 0.08);
}

.hbh-payment-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes hbh-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes hbh-fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hbh-slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.hbh-animate-in {
  animation: hbh-fadeIn 0.4s ease-out;
}

/* ============================================
   FOOTER
   ============================================ */

.hbh-footer {
  text-align: center;
  padding: 40px 0 20px;
  color: var(--hbh-border-light);
  font-size: 11px;
  border-top: 1px solid var(--hbh-border);
  margin-top: 40px;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.font-display { font-family: var(--hbh-font-display); }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.p-0 { padding: 0; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 12px; }
.gap-3 { gap: 16px; }
.hidden { display: none; }
.block { display: block; }
.flex-1 { flex: 1; }

/* WooCommerce overrides for dark theme */
.woocommerce .button,
.woocommerce-page .button {
  background: var(--hbh-gradient-purple) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
  background: var(--hbh-bg-card) !important;
  border-top-color: var(--hbh-accent-purple) !important;
  color: var(--hbh-text-primary) !important;
}
