/*
Theme Name: NossaBet
Theme URI: https://nossabet.com
Author: NossaBet Team
Author URI: https://nossabet.com
Description: Tema customizado para o blog da NossaBet - Casa de Apostas. Design moderno e responsivo com foco em apostas esportivas e cassino.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nossabet
Tags: blog, betting, sports, casino, dark-theme, responsive
*/

/* ==========================================================================
   CSS Variables - NossaBet Design System
   ========================================================================== */

:root {
  /* NossaBet Brand Colors */
  --background: hsl(15, 23%, 10%);
  --foreground: hsl(0, 0%, 100%);

  --card: hsl(30, 41%, 17%);
  --card-foreground: hsl(0, 0%, 100%);

  --popover: hsl(15, 23%, 10%);
  --popover-foreground: hsl(0, 0%, 100%);

  /* Primary: Purple/Violet */
  --primary: hsl(258, 92%, 67%);
  --primary-foreground: hsl(0, 0%, 100%);
  --primary-glow: hsl(258, 92%, 75%);

  /* Secondary: Yellow/Gold */
  --secondary: hsl(43, 96%, 56%);
  --secondary-foreground: hsl(15, 23%, 10%);

  /* Success/CTA: Green */
  --success: hsl(158, 64%, 52%);
  --success-foreground: hsl(0, 0%, 100%);

  --muted: hsl(30, 41%, 17%);
  --muted-foreground: hsl(215, 20%, 65%);

  --accent: hsl(258, 92%, 67%);
  --accent-foreground: hsl(0, 0%, 100%);

  --destructive: hsl(0, 84%, 60%);
  --destructive-foreground: hsl(0, 0%, 100%);

  --border: hsl(30, 41%, 17%);
  --input: hsl(30, 41%, 17%);
  --ring: hsl(258, 92%, 67%);

  --radius: 0.75rem;
  --radius-lg: 1rem;

  /* NossaBet Custom Design Tokens */
  --shadow-glow: 0 0 40px hsla(258, 92%, 67%, 0.3);
  --shadow-secondary: 0 0 30px hsla(43, 96%, 56%, 0.2);
  --shadow-elegant: 0 10px 30px -10px hsla(258, 92%, 67%, 0.4);

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

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

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

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

/* ==========================================================================
   Container & Layout
   ========================================================================== */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 4rem;
  }
}

/* ==========================================================================
   Component Classes - Blog Cards
   ========================================================================== */

.post-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.post-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(138, 92, 255, 0.2);
}

.post-card-featured {
  background: linear-gradient(135deg, var(--card) 0%, var(--muted) 100%);
}

.post-card-featured:hover {
  box-shadow: 0 20px 60px rgba(138, 92, 255, 0.3);
}

/* ==========================================================================
   Component Classes - Categories
   ========================================================================== */

.category-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(138, 92, 255, 0.2) 0%, rgba(138, 92, 255, 0.05) 100%);
  border: 1px solid rgba(138, 92, 255, 0.2);
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.category-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(138, 92, 255, 0.25);
}

/* ==========================================================================
   Component Classes - CTA Buttons
   ========================================================================== */

.cta-primary {
  background: linear-gradient(to right, var(--success), rgba(52, 211, 153, 0.8));
  color: var(--success-foreground);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  height: 2.5rem;
}

.cta-primary:hover {
  background: linear-gradient(to right, rgba(52, 211, 153, 0.9), rgba(52, 211, 153, 0.7));
  box-shadow: 0 10px 30px rgba(52, 211, 153, 0.25);
  transform: scale(1.05);
  color: var(--success-foreground);
}

.cta-secondary {
  background: linear-gradient(to right, var(--secondary), rgba(245, 158, 11, 0.8));
  color: var(--secondary-foreground);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  height: 2.5rem;
}

.cta-secondary:hover {
  background: linear-gradient(to right, rgba(251, 191, 36, 0.9), rgba(245, 158, 11, 0.7));
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.25);
  transform: scale(1.05);
}

/* ==========================================================================
   Component Classes - Tip Box
   ========================================================================== */

.tip-box {
  position: relative;
  background-color: rgba(138, 92, 255, 0.1);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 1.5rem 0;
}

/* ==========================================================================
   Component Classes - Glow Effects
   ========================================================================== */

.glow-primary {
  box-shadow: var(--shadow-glow);
}

.glow-secondary {
  box-shadow: var(--shadow-secondary);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
