/*!
Theme Name: 1win Esports Elite
Theme URI: #
Version: 1.0.0
Author: 1win Design Team
Description: A high-converting, futuristic esports-inspired casino theme.
Text Domain: 1win-esports
*/

:root {
  --primary: #103055;
  --accent: #2A8CFF;
  --accent-glow: rgba(42, 140, 255, 0.5);
  --bg-dark: #08121d;
  --bg-card: #162a44;
  --text-main: #ffffff;
  --text-dim: #a0b0c5;
  --token-radius-base: 4px;
  --layout-density: 2rem;
  --shadow-neon: 0 0 15px var(--accent-glow);
  --font-tech: 'Rajdhani', sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h2 {
  font-family: var(--font-tech);
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  color: var(--accent);
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
  box-shadow: var(--shadow-neon);
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--layout-density);
}

/* SIGNATURE ELEMENT: HUD CORNERS */
.hud-frame {
  position: relative;
  border: 1px solid rgba(42, 140, 255, 0.2);
}

.hud-frame::before, .hud-frame::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--accent);
}

.hud-frame::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.hud-frame::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: var(--token-radius-base);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-tech);
  transition: 0.3s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-neon);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--accent);
}

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

.btn-ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(16, 48, 85, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(42, 140, 255, 0.3);
}

.logo {
  width: 120px;
  height: 40px;
  background: url('images/style-1.webp') no-repeat center/contain;
}

.header-nav {
  display: flex;
  gap: 20px;
}

.header-nav li a {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

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

/* SECTIONS */
section {
  padding: 4rem 0;
}

/* GRID SYSTEM: MASONRY BIAS */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  grid-auto-flow: dense;
}

.masonry-item.wide { grid-column: span 2; }
.masonry-item.tall { grid-row: span 2; }

/* CARD STYLES */
.card-v1 {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--token-radius-base);
  border-bottom: 3px solid var(--accent);
}

.card-v2 {
  background: linear-gradient(135deg, rgba(42, 140, 255, 0.1) 0%, rgba(16, 48, 85, 0.8) 100%);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 25px;
}

.card-v3 {
  border: 1px dashed var(--accent);
  padding: 15px;
  text-align: center;
}

/* HORIZONTAL SCROLL */
.scroll-x {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 15px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  h2 { font-size: 1.8rem; }
  .header-nav { display: none; }
  .masonry-item.wide { grid-column: span 1; }
  .split-section { flex-direction: column; }
}

img {max-width: 100% !important;height: auto;display: block;}
html {overflow-x: hidden;}
.wp-block-image {margin: 20px auto;max-width: 100%;}
.wp-block-image img {margin: 0 auto;}
.logo img {max-height: 50px;}
table{margin-top: 20px;margin-bottom: 20px;border-spacing: 0;}
th, td {padding: 5px; border-bottom: 1px solid var(--accent)}
.content-block p,.content-block h2, .content-block h3, .content-block ul, .content-block ol,
.content p,.content h2, .content h3, .content ul, .content ol{margin-top: 1em;margin-bottom: 1em;}
