/*!
Theme Name: Flagman Casino
Theme URI: #
Version: 1.0.0
Tested up to: 7.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: flagman-casino
*/

:root {
  --primary: #1A2430;
  --accent: #1DA9F2;
  --gold: #D4AF37;
  --bg-dark: #0A0F14;
  --text-light: #E0E0E0;
  --text-muted: #8892B0;
  --token-radius-base: 4px;
  --layout-density: 120px;
  --shadow-neon: 0 0 15px rgba(29, 169, 242, 0.3);
  --glass: rgba(26, 36, 48, 0.7);
  --border-glow: 1px solid rgba(29, 169, 242, 0.2);
}

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

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

h1, h2 {
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 20px;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent);
}

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

section {
  padding: var(--layout-density) 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 18px 40px;
  border-radius: var(--token-radius-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(29, 169, 242, 0.6);
}

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

.btn-secondary:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

/* Signature Element: Luminous Edge Highlights */
.luminous-edge {
  position: relative;
  overflow: hidden;
}

.luminous-edge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: edge-slide 4s infinite;
}

@keyframes edge-slide {
  0% { left: -100%; }
  100% { left: 100%; }
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  text-transform: uppercase;
}

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

.header ul li a {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

.auth-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* Card Styles */
.card-glass {
  background: var(--glass);
  border: var(--border-glow);
  padding: 30px;
  border-radius: var(--token-radius-base);
  transition: 0.3s;
}

.card-glass:hover {
  border-color: var(--accent);
  transform: scale(1.02);
}

.card-gold {
  background: linear-gradient(145deg, #1A2430, #0A0F14);
  border: 1px solid var(--gold);
  padding: 40px;
  text-align: center;
}

.card-neon {
  background: #1A2430;
  border-left: 4px solid var(--accent);
  padding: 25px;
}

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

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

.scroll-item {
  flex: 0 0 300px;
}

/* Footer */
.footer {
  background: #05070a;
  padding: 80px 5% 40px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

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

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

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

.footer-menu ul li a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .asymmetric-grid {
    grid-template-columns: 1fr;
  }
  .header ul {
    display: none;
  }
  :root {
    --layout-density: 60px;
  }
}

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