/*!
Theme Name: Highflybet Casino
Theme URI: #
Version: 1.0.0
Author: Highflybet
Description: High-converting, futuristic cyberpunk casino theme.
Text Domain: highflybet
*/

:root {
  --primary: #122A3A;
  --accent: #22D3EE;
  --bg-dark: #081118;
  --bg-card: rgba(18, 42, 58, 0.7);
  --text-main: #E2E8F0;
  --text-dim: #94A3B8;
  --token-radius-base: 4px;
  --layout-density: 2rem;
  --border-neon: 1px solid var(--accent);
  --font-main: 'Inter', sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    linear-gradient(rgba(34, 211, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

ul {
  list-style: none;
}

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

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

/* Typography */
h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 0 10px var(--accent);
}

h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-left: 4px solid var(--accent);
  padding-left: 15px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: var(--token-radius-base);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
  border: none;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-dark);
}

/* Header */
.header {
  padding: 20px 0;
  background: rgba(8, 17, 24, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 211, 238, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--accent);
  text-decoration: none;
}

.header-nav {
  display: none;
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
    gap: 20px;
  }
}

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

/* Sections */
section {
  padding: 60px 0;
}

/* Hero */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 700px;
  z-index: 2;
}

.hero-image {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
}

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

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Cards */
.card-glass {
  background: var(--bg-card);
  border: 1px solid rgba(34, 211, 238, 0.1);
  padding: 25px;
  border-radius: var(--token-radius-base);
  backdrop-filter: blur(5px);
  transition: 0.3s;
}

.card-glass:hover {
  border-color: var(--accent);
  background: rgba(18, 42, 58, 0.9);
}

.card-neon {
  border: 2px solid var(--accent);
  padding: 30px;
  background: transparent;
  position: relative;
}

.card-neon::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px solid var(--accent);
  opacity: 0.3;
  pointer-events: none;
}

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

.scroll-x::-webkit-scrollbar {
  height: 4px;
}

.scroll-x::-webkit-scrollbar-thumb {
  background: var(--accent);
}

/* Signature Element: Animated Border */
.sig-border {
  position: relative;
  padding: 2px;
  background: linear-gradient(90deg, var(--accent), transparent, var(--accent));
  background-size: 200% 100%;
  animation: borderFlow 3s linear infinite;
}

@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Footer */
.footer {
  background: #040a0f;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(34, 211, 238, 0.1);
}

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

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

/* Responsive adjustments */
@media (max-width: 767px) {
  section {
    padding: 40px 0;
  }
  .hero-image {
    display: none;
  }
}

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