/* Mr Jack Bet - Master CSS Stylesheet */
/* Brazilian Sports Betting Site - 2025 */

/* CSS Variables */
:root {
  /* Colors */
  --primary-color: #ff6b00;
  --primary-dark: #e55a00;
  --secondary-color: #1a1a2e;
  --accent-color: #00d4aa;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --text-color: #333333;
  --text-light: #666666;
  --text-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #16213e;
  --border-color: #dee2e6;

  /* Spacing (8px base grid system) */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Shadows */
  --shadow: 0 2px 15px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);

  /* Border Radius */
  --radius: 8px;
  --radius-lg: 16px;
  --radius-sm: 4px;

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-top: 2.5rem; }
h3 { font-size: 1.5rem; margin-top: 2rem; }
h4 { font-size: 1.25rem; margin-top: 1.5rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--bg-dark) 100%);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
}

.logo-text span {
  color: var(--primary-color);
}

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

nav a {
  color: var(--text-white);
  font-weight: 500;
  padding: 10px 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

.cta-header {
  background: var(--primary-color);
  color: var(--text-white) !important;
  padding: 12px 25px !important;
  border-radius: 50px;
  font-weight: 600;
}

.cta-header:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--bg-dark) 100%);
  padding: 80px 0;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('../images/hero-pattern.png') no-repeat center right;
  opacity: 0.1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--primary-color);
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 2rem;
}

.badge {
  background: rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge.success {
  background: rgba(40, 167, 69, 0.2);
  border: 1px solid var(--success-color);
}

.hero-image img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* CTA Buttons */
.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.2);
}

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

.btn-secondary:hover {
  background: var(--text-white);
  color: var(--secondary-color);
}

.btn-success {
  background: var(--success-color);
  color: var(--text-white);
}

.btn-success:hover {
  background: #218838;
  transform: translateY(-3px);
}

/* Info Table */
.info-table {
  background: var(--text-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 2rem 0;
}

.info-table table {
  width: 100%;
  border-collapse: collapse;
}

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

.info-table th {
  background: var(--secondary-color);
  color: var(--text-white);
  font-weight: 600;
  width: 40%;
}

.info-table tr:last-child td,
.info-table tr:last-child th {
  border-bottom: none;
}

.info-table tr:hover td {
  background: var(--bg-light);
}

/* Content Sections */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--text-white);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-top: 0;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--text-white);
}

.card h3 {
  margin-top: 0;
}

/* Pros and Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 2rem 0;
}

.pros, .cons {
  background: var(--text-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.pros {
  border-top: 4px solid var(--success-color);
}

.cons {
  border-top: 4px solid var(--danger-color);
}

.pros h3, .cons h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.pros h3::before {
  content: '✓';
  color: var(--success-color);
  font-weight: bold;
}

.cons h3::before {
  content: '✗';
  color: var(--danger-color);
  font-weight: bold;
}

.pros ul, .cons ul {
  list-style: none;
}

.pros li, .cons li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.pros li:last-child, .cons li:last-child {
  border-bottom: none;
}

.pros li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

.cons li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--danger-color);
  font-weight: bold;
}

/* Steps */
.steps {
  counter-reset: step;
}

.step {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
  padding: 25px;
  background: var(--text-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.step-content h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* FAQ Accordion */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--text-white);
  border-radius: var(--radius);
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--secondary-color);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 25px 25px;
  max-height: 500px;
}

/* Alert Boxes */
.alert {
  padding: 20px 25px;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.alert-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.alert-info {
  background: #e7f3ff;
  border-left: 4px solid #0d6efd;
}

.alert-warning {
  background: #fff3cd;
  border-left: 4px solid var(--warning-color);
}

.alert-success {
  background: #d1e7dd;
  border-left: 4px solid var(--success-color);
}

.alert-danger {
  background: #f8d7da;
  border-left: 4px solid var(--danger-color);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--text-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

th {
  background: var(--secondary-color);
  color: var(--text-white);
  font-weight: 600;
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) {
  background: var(--bg-light);
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 50px;
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--text-white);
  margin: 3rem 0;
}

.cta-box h3 {
  color: var(--text-white);
  font-size: 2rem;
  margin-top: 0;
}

.cta-box p {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.cta-box .btn {
  background: var(--text-white);
  color: var(--primary-color);
}

.cta-box .btn:hover {
  background: var(--secondary-color);
  color: var(--text-white);
}

/* Footer */
footer {
  background: var(--secondary-color);
  color: var(--text-white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-section h4 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  margin-top: 0;
}

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

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

.footer-section a {
  color: rgba(255,255,255,0.7);
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.footer-disclaimer a {
  color: var(--primary-color);
}

/* Breadcrumb */
.breadcrumb {
  padding: 15px 0;
  background: var(--text-white);
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb ul {
  display: flex;
  list-style: none;
  gap: 10px;
}

.breadcrumb li::after {
  content: '/';
  margin-left: 10px;
  color: var(--text-light);
}

.breadcrumb li:last-child::after {
  display: none;
}

.breadcrumb a {
  color: var(--text-light);
}

.breadcrumb li:last-child {
  color: var(--primary-color);
}

/* Article Content */
.article-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.article-content h1 {
  margin-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  gap: 20px;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

/* Article Images */
.article-image {
  margin: 2rem 0;
  text-align: center;
}

.article-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.article-image figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

/* Author Box (E-E-A-T) */
.author-box {
  background: linear-gradient(135deg, var(--bg-light) 0%, #fff 100%);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin: 2rem 0;
}

.author-box h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.author-box p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.author-box ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.author-box li {
  margin-bottom: 0.5rem;
}

/* TOC */
.toc {
  background: var(--bg-light);
  padding: 25px 30px;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  border-left: 4px solid var(--primary-color);
}

.toc h4 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.toc li {
  padding: 8px 0;
}

.toc a {
  color: var(--text-color);
}

.toc a:hover {
  color: var(--primary-color);
}

/* Rating Box */
.rating-box {
  background: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  margin: 2rem 0;
}

.rating-score {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.rating-stars {
  font-size: 1.5rem;
  color: var(--warning-color);
  margin: 10px 0;
}

.rating-text {
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }

  .hero {
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    flex-direction: column;
    padding: 20px;
    gap: 0;
  }

  nav ul.active {
    display: flex;
  }

  nav li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  nav a {
    display: block;
    padding: 15px 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .cta-header {
    display: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-box {
    padding: 30px 20px;
  }

  .step {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    margin: 0 auto;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.py-3 { padding-top: 3rem; padding-bottom: 3rem; }

/* Print Styles */
@media print {
  header, footer, .cta-box, .btn {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .article-content {
    max-width: 100%;
  }
}
