/*!
Theme Name: Nightwin Casino
Theme URI: #
Version: 1.0.0
Author: Nightwin Team
Description: Futuristic esports arena mood with glassmorphism holographic effects.
Text Domain: nightwin
*/

:root {
  --primary: #17152f;
  --accent: #8554f6;
  --accent-glow: rgba(133, 84, 246, 0.4);
  --bg-dark: #0a091a;
  --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: 24px;
  --layout-density: 1.5rem;
  --shadow-type: none;
  --grid-type: asymmetric;
  --font-main: 'Inter', sans-serif;
}

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

/* Signature Element: Diagonal Light Streaks */
.streak-overlay {
  position: relative;
  overflow: hidden;
}

.streak-overlay::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 45%, rgba(133, 84, 246, 0.1) 50%, transparent 55%);
  pointer-events: none;
  z-index: 1;
  animation: streakMove 8s linear infinite;
}

@keyframes streakMove {
  0% { transform: translate(-10%, -10%); }
  100% { transform: translate(10%, 10%); }
}

/* Typography */
h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
}

p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Layout Components */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--token-radius-base);
  padding: 2rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.glass-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: var(--token-radius-base);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.btn-primary:hover {
  background: transparent;
  border-color: var(--accent);
}

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

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: #fff;
}

/* Header */
.header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 9, 26, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.header-nav li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s;
}

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

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

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

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

.game-card {
  min-width: 280px;
  flex-shrink: 0;
}

/* Asymmetric Grids */
.asymmetric-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 992px) {
  .asymmetric-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  background: #05050d;
  padding: 60px 0 30px;
  border-top: 1px solid var(--glass-border);
}

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

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

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-menu a:hover {
  color: var(--accent);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--glass-bg);
  border-radius: var(--token-radius-base);
  overflow: hidden;
}

th, td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

th {
  background: rgba(133, 84, 246, 0.1);
  color: var(--accent);
  font-weight: 700;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .header-nav, .header-actions .btn-secondary {
    display: none;
  }
  section {
    padding: 50px 0;
  }
}

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