/*!
Theme Name: 1win Esports Casino
Theme URI: #
Version: 1.0.0
Author: 1win Team
Description: High-converting, futuristic esports-themed casino platform.
Text Domain: 1win
*/

:root {
  --primary: #103055;
  --accent: #2A8CFF;
  --bg-dark: #08121d;
  --bg-card: #0d213a;
  --text-main: #ffffff;
  --text-dim: #a0b0c5;
  --token-radius-base: 12px;
  --layout-density: 1.5rem;
  --hud-border: 1px solid rgba(42, 140, 255, 0.3);
  --glow-accent: 0 0 15px rgba(42, 140, 255, 0.4);
}

* {
  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;
}

main {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

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

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

h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent);
  padding-left: 15px;
  line-height: 1;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--token-radius-base);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* HUD Frame Signature Element */
.hud-frame {
  position: relative;
  border: var(--hud-border);
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--token-radius-base);
}

.hud-frame::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px;
  width: 20px; height: 20px;
  border-top: 3px solid var(--accent);
  border-left: 3px solid var(--accent);
}

.hud-frame::after {
  content: '';
  position: absolute;
  bottom: -2px; right: -2px;
  width: 20px; height: 20px;
  border-bottom: 3px solid var(--accent);
  border-right: 3px solid var(--accent);
}

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

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

.header ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.header ul li a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: color 0.3s;
}

.header ul li a:hover {
  color: var(--accent);
}

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

/* Horizontal Scroll Sections */
.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  h2 {
    font-size: 1.8rem;
  }
}

/* Footer */
.footer {
  background: #050b14;
  padding: 60px 0 20px;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer ul {
  list-style: none;
}

.footer ul li a {
  color: var(--text-dim);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-dim);
  font-size: 0.8rem;
}

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;}
