/*
Theme Name: Brazino777
Theme URI: https://brazino777.com/
Description: Brazino777 Casino & Sportsbook WordPress Theme
Version: 1.0.1
Author: Brazino777
Text Domain: brazino777
*/

/* ========== CSS Variables ========== */
:root {
  --color-primary: #035d03;
  --color-primary-light: #06ac06;
  --color-accent: #ffe600;
  --color-accent-dark: #ffb800;
  --color-bg-dark: #232323;
  --color-bg-card: #3b3b3b;
  --color-bg-light: #e6efe6;
  --color-text-white: #ffffff;
  --color-text-dark: #1a1a1a;
  --color-text-muted: #a0a0a0;
  --font-body: 'Roboto', sans-serif;
  --font-heading: 'PassionOne', cursive;
}

/* ========== Font Face ========== */
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/Roboto-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/Roboto-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PassionOne';
  src: url('assets/fonts/PassionOne-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ========== Reset / Normalize ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--color-bg-dark);
  color: var(--color-text-white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; }

/* ========== Container ========== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ========== Header ========== */
.site-header {
  background: #035d03; background: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  max-width: 1280px;
  margin: 0 auto;
}
.header-logo img { height: 40px; width: auto; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
  border: none;
  text-decoration: none;
}
.btn-cta {
  background: linear-gradient(180deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-text-dark);
}
.btn-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ========== Category Navigation Bar ========== */
.category-nav {
  background: rgba(3,93,3,.9);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.category-nav::-webkit-scrollbar { display: none; }
.category-nav-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  max-width: 1280px;
  margin: 0 auto;
}
.category-nav-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: 12px;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  transition: background .2s;
  flex-shrink: 0;
  text-decoration: none;
}
.category-nav-item svg,
.category-nav-item img { width: 24px; height: 24px; }
.category-nav-item:hover,
.category-nav-item.active { background: rgba(255,255,255,.15); }
.category-nav-item.nav-news { color: var(--color-accent); font-weight: 700; }

/* ========== Hero Slider ========== */
.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
}
.hero-slides {
  display: flex;
  transition: transform .5s ease;
}
.hero-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 21/8;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide-overlay {
  text-align: center;
  z-index: 2;
  padding: 20px;
}
.hero-slide-overlay h2 {
  font-size: 42px;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,.5);
  margin-bottom: 16px;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.4);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 3;
  transition: background .2s;
}
.hero-arrow:hover { background: rgba(0,0,0,.7); }
.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }
.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.hero-dot.active { background: var(--color-accent); }

/* ========== Stats Widgets ========== */
.stats-widgets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px 0;
}
.stat-card {
  background: var(--color-bg-card);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.stat-card .stat-label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.stat-card .stat-value {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-accent);
}

/* ========== Game Sections ========== */
.game-section { padding: 24px 0; }
.game-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.game-section-header h2 {
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
}
.game-section-header a {
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.game-card {
  background: var(--color-bg-card);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px var(--color-accent);
}
.game-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.game-card-info { padding: 10px 12px; }
.game-card-info .game-name {
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-card-info .provider-name {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ========== Banners ========== */
.promo-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin: 24px 0;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.promo-banner-content {
  padding: 32px;
  z-index: 2;
}
.promo-banner-content h2 {
  font-size: 36px;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,.4);
  margin-bottom: 12px;
}
.promo-banner img.banner-decor {
  position: absolute;
  right: 40px;
  bottom: 0;
  max-height: 220px;
  z-index: 1;
}

/* ========== Competitions ========== */
.competitions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.competition-card {
  background: var(--color-bg-card);
  border-radius: 12px;
  overflow: hidden;
}
.competition-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.competition-card-body { padding: 16px; }
.competition-card-body h3 { font-size: 18px; margin-bottom: 8px; }

/* ========== Provider Logos Scroll ========== */
.provider-scroll {
  overflow-x: auto;
  white-space: nowrap;
  padding: 24px 0;
  scrollbar-width: none;
}
.provider-scroll::-webkit-scrollbar { display: none; }
.provider-scroll-inner {
  display: inline-flex;
  gap: 24px;
  padding: 0 16px;
}
.provider-logo {
  width: 120px;
  height: 50px;
  background: var(--color-bg-card);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.provider-logo img { max-width: 100px; max-height: 40px; }

/* ========== SEO Content ========== */
.seo-content {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 40px;
}
.seo-content h1 {
  font-size: 28px;
  color: var(--color-accent);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.seo-content h2 { font-size: 22px; color: #fff; margin: 24px 0 12px; }
.seo-content h3 { font-size: 18px; color: #fff; margin: 20px 0 10px; }
.seo-content p { color: var(--color-text-muted); font-size: 14px; line-height: 1.8; margin-bottom: 12px; }

/* ========== Footer ========== */
.site-footer {
  background: #1a1a1a;
  padding: 40px 0 20px;
  margin-top: 40px;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.footer-col h4 {
  font-size: 16px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: var(--color-text-muted);
  font-size: 14px;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 20px;
}
.footer-payments img { height: 30px; width: auto; opacity: .7; transition: opacity .2s; }
.footer-payments img:hover { opacity: 1; }
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.footer-social a:hover { background: #035d03; background: var(--color-primary); }
.footer-social a svg { width: 20px; height: 20px; fill: #fff; }
.footer-bottom {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-badges {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-badges img { height: 40px; width: auto; }
.footer-app-download { text-align: center; margin-bottom: 20px; }
.footer-app-download a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-bg-card);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
}
.footer-app-download a:hover { background: #035d03; background: var(--color-primary); }

/* ========== Category / Archive Page ========== */
.archive-header { padding: 24px 0; }
.archive-header h1 { font-size: 28px; text-transform: uppercase; }
.search-bar { display: flex; gap: 8px; margin-bottom: 24px; }
.search-bar input {
  flex: 1;
  padding: 10px 16px;
  background: var(--color-bg-card);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  color: #fff;
}
.search-bar input::placeholder { color: var(--color-text-muted); }
.search-bar button {
  padding: 10px 20px;
  background: #035d03; background: var(--color-primary);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.post-card {
  background: var(--color-bg-card);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .2s;
}
.post-card:hover { transform: translateY(-3px); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card-body { padding: 16px; }
.post-card-body h2 { font-size: 18px; margin-bottom: 8px; font-family: var(--font-body); font-weight: 700; }
.post-card-body p { font-size: 14px; color: var(--color-text-muted); }
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 32px 0;
}
.pagination a, .pagination span { padding: 8px 14px; border-radius: 6px; font-size: 14px; }
.pagination a { background: var(--color-bg-card); color: #fff; }
.pagination a:hover { background: #035d03; background: var(--color-primary); }
.pagination .current { background: #035d03; background: var(--color-primary); color: #fff; }

/* ========== Single Post ========== */
.single-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  padding: 32px 0;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.single-main { min-width: 0; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }
.single-main h1 {
  font-size: 32px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-weight: 700;
}
.single-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
.single-featured-img { border-radius: 12px; overflow: hidden; margin-bottom: 24px; }
.single-featured-img img { width: 100%; }
.single-main .entry-content { font-size: 16px; line-height: 1.8; color: #ddd; }
.single-main .entry-content h2 { font-size: 24px; margin: 28px 0 12px; font-family: var(--font-body); font-weight: 700; color: #fff; }
.single-main .entry-content h3 { font-size: 20px; margin: 24px 0 10px; font-family: var(--font-body); font-weight: 700; color: #fff; }
.single-main .entry-content p { margin-bottom: 16px; }
.single-main .entry-content a { color: var(--color-accent); text-decoration: underline; }
.single-main .entry-content img { border-radius: 8px; margin: 16px 0; }
.single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.single-tags a {
  padding: 4px 12px;
  background: var(--color-bg-card);
  border-radius: 20px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.single-tags a:hover { color: var(--color-accent); }
.related-posts { margin-top: 32px; }
.related-posts h3 { font-size: 20px; margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; }

/* ========== Sidebar ========== */
.single-sidebar .widget {
  background: var(--color-bg-card);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}
.widget-title, .widget h3 {
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.widget ul li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.widget ul li a { color: var(--color-text-muted); font-size: 14px; }
.widget ul li a:hover { color: var(--color-accent); }

/* ========== 404 Page ========== */
.error-404 { text-align: center; padding: 80px 20px; }
.error-404 .error-code { font-family: var(--font-heading); font-size: 120px; color: var(--color-accent); line-height: 1; }
.error-404 .error-msg { font-size: 24px; color: #fff; margin: 16px 0 32px; }

/* ========== Page (full width) ========== */
.page-content-wrapper { max-width: 900px; margin: 0 auto; padding: 32px 16px; }
.page-content-wrapper h1 { font-size: 32px; margin-bottom: 24px; font-family: var(--font-body); font-weight: 700; }
.page-content-wrapper .entry-content { font-size: 16px; line-height: 1.8; color: #ddd; }
.page-content-wrapper .entry-content p { margin-bottom: 16px; }
.page-content-wrapper .entry-content h2 { font-size: 24px; margin: 28px 0 12px; font-family: var(--font-body); font-weight: 700; color: #fff; }

/* ========== Back to Top ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #035d03; background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: none;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
  transition: background .2s;
}
.back-to-top:hover { background: var(--color-primary-light); }
.back-to-top.visible { display: flex; align-items: center; justify-content: center; }

/* ========== Mobile Menu ========== */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,.6);
  z-index: 2000;
  display: none;
}
.mobile-menu-overlay.open { display: block; }
.mobile-menu {
  position: fixed;
  top: 0; left: -280px; width: 280px; height: 100%;
  background: var(--color-bg-dark);
  z-index: 2001;
  transition: left .3s ease;
  overflow-y: auto;
  padding: 20px;
}
.mobile-menu.open { left: 0; }
.mobile-menu-close {
  background: none; border: none; color: #fff;
  font-size: 28px; cursor: pointer; margin-bottom: 20px;
}
.mobile-menu ul li a {
  display: block; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #fff; font-size: 16px;
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
  .stats-widgets { grid-template-columns: repeat(2, 1fr); }
  .single-content-wrapper { grid-template-columns: 1fr; }
  .single-sidebar { order: 2; }
}
@media (max-width: 768px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .hamburger { display: block; }
  .header-actions .btn { padding: 6px 14px; font-size: 12px; }
  .hero-slide { aspect-ratio: 16/9; }
  .hero-slide-overlay h2 { font-size: 24px; }
  .stats-widgets { grid-template-columns: repeat(2, 1fr); }
  .footer-columns { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .single-main h1 { font-size: 24px; }
  .competitions-grid { grid-template-columns: 1fr; }
}
