/* ============================================
   707BET - Design System CSS
   Style: Brazilian Tropical (Style 6)
   Market: Brazil
   Language: Portuguese (Brazilian)
   Created: 2025-11-29
   ============================================ */

/* ============================================
   CSS Variables / Design Tokens
   ============================================ */
:root {
    /* Primary Colors - Brazilian Tropical */
    --primary-color: #009739;        /* Brazilian Green */
    --primary-dark: #007a2f;
    --primary-light: #00b347;

    /* Secondary Colors */
    --secondary-color: #FFDF00;      /* Brazilian Yellow/Gold */
    --secondary-dark: #e6c900;
    --secondary-light: #fff033;

    /* Accent Colors */
    --accent-color: #002776;         /* Brazilian Blue */
    --accent-light: #0038a8;

    /* Neutral Colors */
    --dark-bg: #0a0f1c;
    --dark-bg-secondary: #121929;
    --dark-bg-tertiary: #1a2236;
    --card-bg: #1e2742;
    --card-bg-hover: #252f4a;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8c5d9;
    --text-muted: #6b7a94;
    --text-accent: var(--secondary-color);

    /* Status Colors */
    --success-color: #00c853;
    --warning-color: #ffc107;
    --error-color: #ff5252;
    --info-color: #2196f3;

    /* Gradient Definitions */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #f5a623 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-color) 50%, var(--primary-color) 100%);
    --gradient-card: linear-gradient(180deg, var(--card-bg) 0%, var(--dark-bg-secondary) 100%);
    --gradient-cta: linear-gradient(135deg, var(--secondary-color) 0%, #f5a623 100%);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Montserrat', var(--font-primary);

    /* Font Sizes */
    --fs-xs: 0.75rem;      /* 12px */
    --fs-sm: 0.875rem;     /* 14px */
    --fs-base: 1rem;       /* 16px */
    --fs-md: 1.125rem;     /* 18px */
    --fs-lg: 1.25rem;      /* 20px */
    --fs-xl: 1.5rem;       /* 24px */
    --fs-2xl: 2rem;        /* 32px */
    --fs-3xl: 2.5rem;      /* 40px */
    --fs-4xl: 3rem;        /* 48px */

    /* Font Weights */
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    /* Spacing */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-2xl: 3rem;     /* 48px */
    --space-3xl: 4rem;     /* 64px */

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(0, 151, 57, 0.3);
    --shadow-gold: 0 0 20px rgba(255, 223, 0, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;

    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
    --container-2xl: 1400px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    font-weight: var(--fw-normal);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--dark-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

strong, b {
    font-weight: var(--fw-semibold);
}

/* ============================================
   Layout Components
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-3xl) 0;
}

.section-sm {
    padding: var(--space-2xl) 0;
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

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

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Grid System */
.grid {
    display: grid;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* ============================================
   Header Styles
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(10, 15, 28, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    max-width: var(--container-2xl);
    margin: 0 auto;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 40px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--text-secondary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

/* ============================================
   Button Styles
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 151, 57, 0.5);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--dark-bg);
    box-shadow: var(--shadow-gold);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 223, 0, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--fs-base);
}

.btn-sm {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--fs-xs);
}

.btn-full {
    width: 100%;
}

/* CTA Button - Main Affiliate Link Style */
.btn-cta {
    background: var(--gradient-secondary);
    color: var(--dark-bg);
    padding: var(--space-md) var(--space-2xl);
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(255, 223, 0, 0.6);
}

/* ============================================
   Card Styles
   ============================================ */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 151, 57, 0.3);
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: var(--space-lg);
}

.card-title {
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-sm);
}

.card-text {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

/* Game Card Specific */
.game-card {
    position: relative;
}

.game-card .card-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: var(--primary-color);
    color: var(--text-primary);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-sm);
    z-index: 1;
}

.game-card .card-badge.hot {
    background: var(--error-color);
}

.game-card .card-badge.new {
    background: var(--info-color);
}

.game-card .play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.game-card:hover .play-overlay {
    opacity: 1;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Account for fixed header */
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-small {
    min-height: 400px;
    padding-top: 80px;
    padding-bottom: var(--space-2xl);
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
}

.hero-small::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-small .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-small h1 {
    color: var(--secondary-color);
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 50px 50px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-title {
    font-size: var(--fs-4xl);
    font-weight: var(--fw-extrabold);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--secondary-color);
    text-shadow: 0 0 30px rgba(255, 223, 0, 0.5);
}

.hero-text {
    font-size: var(--fs-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-image {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 50%;
    z-index: 0;
}

/* Hero with Background Image */
.hero-bg {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,39,118,0.85) 0%, rgba(0,151,57,0.7) 50%, rgba(0,39,118,0.85) 100%);
    z-index: 1;
}

.hero-bg .container {
    position: relative;
    z-index: 2;
}

/* ============================================
   Footer Styles
   ============================================ */
.footer {
    background: var(--dark-bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: var(--space-3xl);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.footer-title {
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

/* Payment Methods */
.footer-payments {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.footer-payments img {
    height: 32px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.footer-payments img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Provider Logos */
.footer-providers {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    align-items: center;
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: var(--space-lg);
}

.footer-providers img {
    height: 24px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all var(--transition-base);
}

.footer-providers img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsible Gaming */
.footer-responsible {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-responsible img {
    height: 40px;
    width: auto;
}

.footer-responsible p {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin: 0;
}

/* Legal Text */
.footer-legal {
    padding: var(--space-lg) 0;
    font-size: var(--fs-xs);
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-legal p {
    margin-bottom: var(--space-md);
}

/* Copyright */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

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

/* ============================================
   Table Styles
   ============================================ */
.table-wrapper {
    overflow-x: auto;
    margin: var(--space-lg) 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-sm);
}

th, td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

th {
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    background: var(--dark-bg-tertiary);
}

td {
    color: var(--text-secondary);
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* ============================================
   Form Styles
   ============================================ */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.form-input {
    width: 100%;
    padding: var(--space-md);
    font-size: var(--fs-base);
    color: var(--text-primary);
    background: var(--dark-bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 151, 57, 0.2);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* ============================================
   Accordion / FAQ Styles
   ============================================ */
.accordion {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: var(--fs-base);
    font-weight: var(--fw-medium);
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-base);
}

.accordion-header:hover {
    background: var(--card-bg-hover);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
}

/* ============================================
   Badge Styles
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-full);
}

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

.badge-secondary {
    background: var(--secondary-color);
    color: var(--dark-bg);
}

.badge-success {
    background: var(--success-color);
    color: var(--text-primary);
}

.badge-warning {
    background: var(--warning-color);
    color: var(--dark-bg);
}

.badge-danger {
    background: var(--error-color);
    color: var(--text-primary);
}

/* ============================================
   Alert Styles
   ============================================ */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    margin-bottom: var(--space-lg);
}

.alert-info {
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.3);
    color: var(--info-color);
}

.alert-success {
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid rgba(0, 200, 83, 0.3);
    color: var(--success-color);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: var(--warning-color);
}

.alert-danger {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.3);
    color: var(--error-color);
}

/* ============================================
   Steps / Process Styles
   ============================================ */
.steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.step {
    display: flex;
    gap: var(--space-lg);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--text-primary);
    font-weight: var(--fw-bold);
    border-radius: var(--radius-full);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-xs);
}

.step-text {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   Rating Styles
   ============================================ */
.rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.rating-star {
    color: var(--secondary-color);
}

.rating-star.empty {
    color: var(--text-muted);
}

.rating-value {
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin-left: var(--space-sm);
}

.rating-count {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* ============================================
   Sponsored Link Indicator
   ============================================ */
.sponsored-link {
    position: relative;
}

.sponsored-link::after {
    content: 'Patrocinado';
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 2px 6px;
    font-size: 9px;
    font-weight: var(--fw-semibold);
    color: var(--text-muted);
    background: var(--dark-bg-tertiary);
    border-radius: var(--radius-sm);
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--secondary-color); }
.text-success { color: var(--success-color); }
.text-warning { color: var(--warning-color); }
.text-danger { color: var(--error-color); }

.bg-dark { background: var(--dark-bg); }
.bg-dark-secondary { background: var(--dark-bg-secondary); }
.bg-card { background: var(--card-bg); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.py-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }

.px-sm { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.px-xl { padding-left: var(--space-xl); padding-right: var(--space-xl); }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-image {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

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

@media (max-width: 768px) {
    :root {
        --fs-4xl: 2.5rem;
        --fs-3xl: 2rem;
        --fs-2xl: 1.5rem;
    }

    .header-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100vh - 70px);
        height: calc(100dvh - 70px);
        background: var(--dark-bg);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-xl) var(--space-lg);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        z-index: 9999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .header-nav.active {
        transform: translateX(0);
    }

    .header-actions {
        flex-direction: column;
        margin-top: auto;
        padding-top: var(--space-xl);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        gap: var(--space-md);
    }

    .header-actions .btn {
        width: 100%;
        justify-content: center;
        padding: var(--space-md) var(--space-lg);
        font-size: var(--fs-md);
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-md);
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: var(--space-lg) var(--space-md);
        border-radius: var(--radius-md);
        background: var(--dark-bg-secondary);
        font-size: var(--fs-md);
        text-align: center;
        min-height: 56px;
        line-height: 1.5;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--gradient-primary);
        color: var(--text-primary);
    }

    .nav-link.active::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

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

    .footer-brand {
        max-width: 100%;
    }

    .footer-payments,
    .footer-providers,
    .footer-responsible {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4,
    .grid-cols-5,
    .grid-cols-6 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .btn-cta {
        padding: var(--space-md) var(--space-lg);
        font-size: var(--fs-sm);
    }

    .hero {
        min-height: 500px;
    }
}

/* ============================================
   Animation Classes
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

.animate-slideUp {
    animation: slideUp 0.5s ease forwards;
}

.animate-pulse {
    animation: pulse 2s ease infinite;
}

/* Scroll Animation Triggers */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Section Titles
   ============================================ */
.section-title {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    text-align: center;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: var(--fs-md);
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

/* ============================================
   Card Grid Layout
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.card-grid .card {
    padding: var(--space-xl);
}

.card-grid .card h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.card-grid .card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-grid .card li {
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.card-grid .card li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    flex-shrink: 0;
}

/* ============================================
   Content Block & Columns
   ============================================ */
.content-block {
    max-width: 800px;
    margin: 0 auto;
}

.content-block p {
    font-size: var(--fs-base);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.content-block .text-lg {
    font-size: var(--fs-lg);
    line-height: 1.7;
}

.content-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
}

.content-column h3 {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.content-column ol {
    padding-left: var(--space-lg);
    color: var(--text-secondary);
}

.content-column li {
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

/* ============================================
   Steps Container (for app.html)
   ============================================ */
.steps-container {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.step-item:last-child {
    border-bottom: none;
}

.step-item .step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--text-primary);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    border-radius: var(--radius-full);
}

.step-item .step-content h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.step-item .step-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.step-item .step-content ol {
    padding-left: var(--space-lg);
    color: var(--text-secondary);
}

.step-item .step-content li {
    margin-bottom: var(--space-sm);
}

/* ============================================
   Table Container
   ============================================ */
.table-container {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    overflow-x: auto;
}

.table-centered {
    margin: 0 auto;
}

.table-centered th,
.table-centered td {
    text-align: center;
}

/* ============================================
   Info Card
   ============================================ */
.info-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border-left: 4px solid var(--primary-color);
}

.info-card h3 {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

/* ============================================
   Styled Lists
   ============================================ */
.styled-list {
    padding-left: var(--space-lg);
    color: var(--text-secondary);
}

.styled-list li {
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.styled-list.check {
    list-style: none;
    padding-left: 0;
}

.styled-list.check li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.styled-list.check li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    flex-shrink: 0;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: var(--gradient-hero);
    padding: var(--space-3xl) 0;
}

.cta-section h2 {
    color: var(--secondary-color);
    margin-bottom: var(--space-md);
}

.cta-section p {
    color: var(--text-secondary);
}

/* ============================================
   Accordion Trigger (alternative style)
   ============================================ */
.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: var(--fs-base);
    font-weight: var(--fw-medium);
    text-align: left;
    cursor: pointer;
    border: none;
    transition: background var(--transition-base);
}

.accordion-trigger:hover {
    background: var(--card-bg-hover);
}

.accordion-trigger .accordion-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.accordion-trigger .accordion-icon::before,
.accordion-trigger .accordion-icon::after {
    content: '';
    position: absolute;
    background: var(--text-primary);
    transition: transform var(--transition-base);
}

.accordion-trigger .accordion-icon::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.accordion-trigger .accordion-icon::after {
    width: 2px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* ============================================
   Responsive adjustments for new components
   ============================================ */
@media (max-width: 768px) {
    .content-columns {
        grid-template-columns: 1fr;
    }

    .step-item {
        flex-direction: column;
        gap: var(--space-md);
    }

    .step-item .step-number {
        align-self: flex-start;
    }
}

/* ============================================
   Game Icons
   ============================================ */
.game-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-icon svg {
    width: 60%;
    height: 60%;
}

.game-icon-tiger {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.game-icon-zeus {
    background: linear-gradient(135deg, #7c4dff 0%, #651fff 100%);
}

.game-icon-candy {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.game-icon-ox {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
}

.game-icon-aviator {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
}

.game-icon-rabbit {
    background: linear-gradient(135deg, #ff7043 0%, #e64a19 100%);
}

.game-icon-fish {
    background: linear-gradient(135deg, #26c6da 0%, #0097a7 100%);
}

.game-icon-star {
    background: linear-gradient(135deg, #ab47bc 0%, #7b1fa2 100%);
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .header,
    .footer,
    .btn-cta,
    .menu-toggle {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    a {
        text-decoration: underline;
    }
}
