/* Sports Betting Site - Modern Analytics Design */

:root {
  --primary-blue: #0066cc;
  --dark-blue: #003d7a;
  --light-blue: #4d94ff;
  --accent-orange: #ff6b35;
  --dark-gray: #2c3e50;
  --medium-gray: #6c757d;
  --light-gray: #e9ecef;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --border-color: #dee2e6;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-light);
  display: flex;
  min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
  width: 280px;
  background: var(--dark-gray);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 3px 0 15px var(--shadow);
}

.sidebar-header {
  padding: 2rem 1.5rem;
  background: var(--dark-blue);
  border-bottom: 3px solid var(--primary-blue);
}

.logo {
  font-family: 'Roboto Slab', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo::before {
  content: '⚽';
  font-size: 2rem;
}

.sidebar nav {
  padding: 1rem 0;
}

.sidebar nav ul {
  list-style: none;
}

.sidebar nav li {
  margin: 0;
}

.sidebar nav a {
  display: block;
  padding: 1rem 1.5rem;
  color: #e9ecef;
  text-decoration: none;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--accent-orange);
  padding-left: 2rem;
}

.sidebar nav a.active {
  background: var(--primary-blue);
  border-left-color: var(--accent-orange);
  color: white;
}

/* Hamburger for mobile */
.hamburger {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1001;
  background: var(--dark-gray);
  padding: 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid var(--primary-blue);
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Main Content Area */
.main-content {
  margin-left: 280px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
header {
  background: white;
  border-bottom: 2px solid var(--border-color);
  padding: 1.5rem 3rem;
  box-shadow: 0 2px 8px var(--shadow);
}

.page-title {
  font-family: 'Roboto Slab', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin: 0;
}

/* Content */
.content-wrapper {
  flex: 1;
  padding: 3rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.content-card {
  background: white;
  padding: 2.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px var(--shadow);
}

/* Typography */
h1 {
  font-family: 'Roboto Slab', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--primary-blue);
}

h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 2.5rem 0 1.5rem 0;
  padding-left: 1rem;
  border-left: 4px solid var(--accent-orange);
}

h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin: 2rem 0 1rem 0;
  background: var(--light-gray);
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--primary-blue);
}

p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: var(--text-primary);
}

/* Lists */
ul {
  margin: 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

ul li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Card Grid for Lists */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card-item {
  background: white;
  padding: 1.5rem;
  border: 2px solid var(--border-color);
  box-shadow: 0 3px 10px var(--shadow);
  transition: all 0.3s ease;
}

.card-item:hover {
  border-color: var(--primary-blue);
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 102, 204, 0.15);
}

.card-item h3 {
  margin: 0 0 1rem 0;
  background: transparent;
  padding: 0;
  border: none;
  color: var(--primary-blue);
}

/* FAQ Accordion */
.faq-section {
  margin: 2rem 0;
}

.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.faq-question {
  background: var(--light-gray);
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-family: 'Roboto Slab', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  user-select: none;
  border-left: 4px solid transparent;
}

.faq-question:hover {
  background: var(--primary-blue);
  color: white;
  border-left-color: var(--accent-orange);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.faq-question:hover::after {
  color: white;
}

.faq-question.active {
  background: var(--dark-blue);
  color: white;
  border-left-color: var(--accent-orange);
}

.faq-question.active::after {
  content: '−';
  color: white;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: white;
}

.faq-answer.active {
  max-height: 500px;
  padding: 1.5rem;
  border-left: 4px solid var(--light-blue);
}

.faq-answer p {
  margin: 0;
}

/* Video Section */
.video-section {
  background: var(--dark-gray);
  padding: 2.5rem;
  margin: 2rem 0;
  border-left: 5px solid var(--accent-orange);
}

.video-section h2 {
  color: white;
  border-left-color: var(--accent-orange);
  padding-left: 1.5rem;
}

.video-section p {
  color: #e9ecef;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.video-button {
  display: inline-block;
  background: var(--accent-orange);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.video-button:hover {
  background: #ff8555;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border: 3px solid var(--border-color);
  box-shadow: 0 4px 15px var(--shadow);
}

/* Footer */
footer {
  background: var(--dark-gray);
  color: white;
  padding: 2rem 3rem;
  margin-top: auto;
  border-top: 3px solid var(--primary-blue);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-content p {
  color: #e9ecef;
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .hamburger {
    display: block;
  }

  .main-content {
    margin-left: 0;
  }

  .content-wrapper {
    padding: 2rem 1.5rem;
  }

  header {
    padding: 1.5rem 1.5rem 1.5rem 4.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .page-title {
    font-size: 1.5rem;
  }
}
