/*!
Theme Name: Ice Casino Esports HUD
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: ice-casino
*/

:root {
  --primary: #15324A;
  --accent: #38BDF8;
  --bg-dark: #0A1929;
  --bg-card: #112B40;
  --text-main: #FFFFFF;
  --text-dim: #94A3B8;
  --radius-scale: 999px;
  --layout-density: compact;
  --shadow-type: neon;
  --grid-type: 2-col;
  --neon-glow: 0 0 15px rgba(56, 189, 248, 0.4);
  --hud-border: 1px solid rgba(56, 189, 248, 0.2);
}

* {
  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.4;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

/* Headings */
h2 {
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  box-shadow: var(--neon-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-scale);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: 0.3s;
  font-size: 0.875rem;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--accent);
}

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

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

/* Signature Element: Radar Pulse */
.radar-pulse {
  position: relative;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.radar-pulse::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 2rem 0;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(21, 50, 74, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: var(--hud-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.header ul {
  display: none;
}

.header-actions {
  display: flex;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .header ul {
    display: flex;
    gap: 1.5rem;
  }
  .header ul li a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
  }
}

/* Cards */
.card-glass {
  background: rgba(17, 43, 64, 0.6);
  backdrop-filter: blur(8px);
  border: var(--hud-border);
  border-radius: 20px;
  padding: 1.25rem;
  transition: 0.3s;
}

.card-hud {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.card-layered {
  background: var(--primary);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 8px 8px 0 rgba(56, 189, 248, 0.1);
  transition: 0.3s;
}

.card-layered:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--accent);
}

/* Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1rem;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

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

.horizontal-scroll > * {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

/* Footer */
.footer {
  background: #050d14;
  padding: 3rem 0 1rem;
  border-top: var(--hud-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-menu li {
  margin-bottom: 0.5rem;
  color: var(--text-dim);
  font-size: 0.875rem;
}

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

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