/*!
Theme Name: Nitrobet
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: nitrobet
*/

:root {
  --primary: #16262a;
  --accent: #178741;
  --accent-glow: rgba(23, 135, 65, 0.5);
  --bg-dark: #0a1112;
  --glass-bg: rgba(22, 38, 42, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --token-radius-base: 24px;
  --layout-density: 80px;
  --shadow-hard: 8px 8px 0px #000;
  --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;
}

main {
  display: flex;
  flex-direction: column;
}

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

/* Signature Element: Holographic Pulse */
.nitro-pulse {
  position: relative;
  overflow: hidden;
}
.nitro-pulse::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.3;
  animation: pulse-glow 8s infinite alternate;
  pointer-events: none;
}

@keyframes pulse-glow {
  0% { transform: scale(1) translate(-10%, -10%); }
  100% { transform: scale(1.2) translate(10%, 10%); }
}

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

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 18px 36px;
  border-radius: var(--token-radius-base);
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

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

.btn-primary:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px #000;
}

.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: #fff;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

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

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

.header ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
}

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

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

/* Hero */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, #16262a, #0a1112);
  position: relative;
}

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

.hero-ticker {
  background: var(--glass-bg);
  padding: 20px;
  border-radius: var(--token-radius-base);
  border: 1px solid var(--accent);
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ticker-numbers {
  display: flex;
  gap: 5px;
}

.ticker-digit {
  background: #000;
  padding: 10px 15px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 1.5rem;
  color: var(--accent);
  border: 1px solid var(--glass-border);
}

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

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

.game-card {
  flex: 0 0 280px;
  background: var(--glass-bg);
  border-radius: var(--token-radius-base);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease;
}

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

.game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.game-info {
  padding: 20px;
}

/* Masonry Grid */
.masonry-grid {
  column-count: 3;
  column-gap: 20px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  background: var(--glass-bg);
  border-radius: var(--token-radius-base);
  padding: 10px;
  border: 1px solid var(--glass-border);
}

.masonry-item img {
  width: 100%;
  border-radius: calc(var(--token-radius-base) - 10px);
  display: block;
}

/* Split Section */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Layered Cards */
.layered-container {
  position: relative;
  height: 400px;
}

.layered-card {
  position: absolute;
  width: 300px;
  padding: 30px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-radius: var(--token-radius-base);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-hard);
}

.layered-card:nth-child(1) { top: 0; left: 0; z-index: 3; }
.layered-card:nth-child(2) { top: 40px; left: 60px; z-index: 2; opacity: 0.8; }
.layered-card:nth-child(3) { top: 80px; left: 120px; z-index: 1; opacity: 0.6; }

/* Footer */
.footer {
  background: #050809;
  padding: 60px 0 20px;
  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 ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

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

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .split-section {
    grid-template-columns: 1fr;
  }
  .masonry-grid {
    column-count: 2;
  }
  .layered-container {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .layered-card {
    position: static;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .masonry-grid {
    column-count: 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;}
