/*!
Theme Name: TopX Futuristic Casino
Theme URI: #
Version: 1.0.0
Author: TopX Team
Description: High-end holographic dashboard for premium gaming.
Text Domain: topx
*/

:root {
  --primary: #172032;
  --accent: #e62100;
  --bg-dark: #0a0f1a;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.08);
  --token-radius-base: 12px;
  --layout-density: 4rem;
  --shadow-neon: 0 0 20px rgba(230, 33, 0, 0.25), 0 0 40px rgba(230, 33, 0, 0.1);
  --font-main: 'Inter', sans-serif;
  --hologram-gradient: linear-gradient(135deg, rgba(230, 33, 0, 0.2) 0%, rgba(23, 32, 50, 0) 50%, rgba(0, 242, 255, 0.1) 100%);
}

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

body {
  background-color: var(--bg-dark);
  color: #ffffff;
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* Signature Element: Animated Gradient Border */
.sig-border {
  position: relative;
  padding: 1px;
  background: linear-gradient(90deg, var(--accent), #ff6a00, #00f2ff, var(--accent));
  background-size: 300% 300%;
  animation: borderMove 6s linear infinite;
  border-radius: var(--token-radius-base);
}

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

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--token-radius-base);
  box-shadow: inset 0 0 10px var(--glass-highlight);
}

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

section {
  padding: var(--layout-density) 0;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
  background: linear-gradient(to right, #fff, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(230, 33, 0, 0.5);
}

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

.btn-outline:hover {
  background: var(--glass-bg);
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 15, 26, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

.header .logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  text-transform: uppercase;
}

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

.header ul li a {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.8;
}

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

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

/* Hero Section */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.7;
  margin-bottom: 2.5rem;
}

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

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

.game-card {
  min-width: 280px;
  height: 380px;
  position: relative;
  overflow: hidden;
  border-radius: var(--token-radius-base);
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.game-card:hover img {
  transform: scale(1.1);
}

.game-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

/* Asymmetric Grid */
.asymmetric-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.grid-item-large {
  grid-column: span 8;
}

.grid-item-small {
  grid-column: span 4;
}

/* Footer */
.footer {
  background: #05080f;
  padding: 80px 0 40px;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-menu-list {
  list-style: none;
}

.footer-menu-list li {
  margin-bottom: 12px;
  opacity: 0.6;
}

.footer-menu-list li:hover {
  opacity: 1;
}

@media (max-width: 992px) {
  .hero-grid, .footer-grid, .asymmetric-grid {
    grid-template-columns: 1fr;
  }
  .grid-item-large, .grid-item-small {
    grid-column: span 1;
  }
  .header ul {
    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;}
