/* SlotInnova Gaming Design System - Premium Dark Theme */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Base Colors - Dark Gaming Theme */
    --background: hsl(222, 84%, 5%);
    --foreground: hsl(210, 40%, 98%);

    /* Card System */
    --card: hsl(220, 27%, 8%);
    --card-foreground: hsl(210, 40%, 98%);
    --card-border: hsl(220, 27%, 15%);

    /* SlotInnova Brand Colors */
    --primary: hsl(193, 100%, 52%);
    --primary-foreground: hsl(222, 84%, 5%);
    --primary-glow: hsl(193, 100%, 60%);

    /* Secondary Purple Gaming Accent */
    --secondary: hsl(271, 81%, 56%);
    --secondary-foreground: hsl(210, 40%, 98%);
    --secondary-glow: hsl(271, 81%, 65%);

    /* Neutral Tones */
    --muted: hsl(220, 27%, 12%);
    --muted-foreground: hsl(217, 10%, 65%);

    /* Accent Colors */
    --accent: hsl(220, 27%, 15%);
    --accent-foreground: hsl(210, 40%, 98%);

    /* Status Colors */
    --destructive: hsl(0, 84%, 60%);
    --success: hsl(142, 71%, 45%);

    /* Interactive Elements */
    --border: hsl(220, 27%, 15%);
    --input: hsl(220, 27%, 12%);
    --ring: hsl(193, 100%, 52%);

    /* Shadows & Effects */
    --shadow-glow: 0 0 40px hsla(193, 100%, 52%, 0.3);
    --shadow-card: 0 8px 32px hsla(222, 84%, 4%, 0.5);
    --shadow-elevated: 0 20px 60px hsla(222, 84%, 4%, 0.7);

    /* Animation Easing */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    --radius: 0.75rem;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========================================
   NAVIGATION
   ======================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s var(--ease-smooth);
}

#navbar.scrolled {
    background-color: hsla(222, 84%, 5%, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo-img {
    height: 2rem;
    width: auto;
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    padding: 0.5rem;
}

.menu-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-nav {
    border-top: 1px solid var(--border);
    background-color: hsla(222, 84%, 5%, 0.95);
    backdrop-filter: blur(16px);
    padding: 0.5rem;
}

.mobile-nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s;
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.mobile-btn {
    margin: 0.5rem 0.75rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    .mobile-menu-btn {
        display: none;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: var(--radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease-smooth);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background-color: var(--primary-glow);
    box-shadow: var(--shadow-elevated);
    transform: scale(1.05);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid hsla(193, 100%, 52%, 0.5);
    border-radius: var(--radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease-smooth);
}

.btn-outline:hover {
    background-color: hsla(193, 100%, 52%, 0.1);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* ========================================
   ICONS
   ======================================== */
.icon-tiny {
    width: 0.75rem;
    height: 0.75rem;
}

.icon-small {
    width: 1.25rem;
    height: 1.25rem;
}

.icon-medium {
    width: 2rem;
    height: 2rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        hsl(222, 84%, 5%) 0%, 
        hsl(220, 27%, 8%) 50%, 
        hsl(222, 84%, 5%) 100%);
}

.hero-animated-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.float-bubble {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: float 6s ease-in-out infinite;
}

.bubble-1 {
    top: 5rem;
    left: 2.5rem;
    width: 8rem;
    height: 8rem;
    background-color: hsla(193, 100%, 52%, 0.1);
}

.bubble-2 {
    bottom: 8rem;
    right: 4rem;
    width: 6rem;
    height: 6rem;
    background-color: hsla(271, 81%, 56%, 0.1);
    animation-delay: 2s;
}

.bubble-3 {
    top: 50%;
    left: 25%;
    width: 4rem;
    height: 4rem;
    background-color: hsla(193, 100%, 52%, 0.05);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.hero-text {
    animation: slideUp 0.8s var(--ease-smooth);
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    max-width: 48rem;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-box {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid hsla(193, 100%, 52%, 0.5);
    border-radius: 1.5rem;
    display: flex;
    justify-content: center;
    padding-top: 0.5rem;
}

.scroll-dot {
    width: 0.375rem;
    height: 0.75rem;
    background-color: var(--primary);
    border-radius: 0.375rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========================================
   SECTIONS
   ======================================== */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

/* ========================================
   GAMES SECTION
   ======================================== */
.games-section {
    position: relative;
}

.games-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--card), var(--muted));
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.game-card:hover {
    border-color: hsla(193, 100%, 52%, 0.5);
    box-shadow: var(--shadow-glow);
    transform: translateY(-0.5rem);
}

.game-thumbnail {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-smooth);
}

.game-card:hover .game-thumbnail img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.play-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
}

.game-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, hsla(193, 100%, 52%, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.game-card:hover .game-glow {
    opacity: 0.3;
}

.game-content {
    padding: 1rem;
}

.game-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.game-card:hover .game-title {
    color: var(--primary);
}

.game-category {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.game-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-top: 20px solid hsla(193, 100%, 52%, 0.2);
    transition: border-color 0.3s;
}

.game-card:hover .game-accent {
    border-top-color: hsla(193, 100%, 52%, 0.6);
}

.games-cta {
    margin-top: 3rem;
}

.cta-card {
    background: linear-gradient(145deg, var(--card), var(--muted));
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.cta-description {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto 2rem;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: linear-gradient(to bottom right, hsla(220, 27%, 12%, 0.3), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 5rem;
}

.feature-card {
    background: linear-gradient(145deg, var(--card), var(--muted));
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s var(--ease-smooth);
}

.feature-card:hover {
    border-color: hsla(193, 100%, 52%, 0.5);
    box-shadow: var(--shadow-glow);
    transform: translateY(-0.5rem);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background-color: hsla(193, 100%, 52%, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: background-color 0.3s;
}

.feature-card:hover .feature-icon {
    background-color: hsla(193, 100%, 52%, 0.2);
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
    stroke: var(--primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.feature-card:hover .feature-title {
    color: var(--primary);
}

.feature-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.stats-card {
    background: linear-gradient(145deg, var(--card), var(--muted));
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-elevated);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 700;
}

.stat-label {
    color: var(--muted-foreground);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: linear-gradient(to bottom, transparent, hsla(220, 27%, 12%, 0.3));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: linear-gradient(145deg, var(--card), var(--muted));
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 2rem;
}

.info-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: hsla(193, 100%, 52%, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: var(--primary);
}

.info-label {
    font-weight: 500;
    color: var(--foreground);
}

.info-value {
    color: var(--muted-foreground);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefits-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.benefit-item {
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.benefit-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.benefit-item p {
    color: var(--muted-foreground);
}

.contact-form-card {
    background: linear-gradient(145deg, var(--card), var(--muted));
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 2rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.form-description {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 500;
    color: var(--foreground);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--input);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--foreground);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(193, 100%, 52%, 0.1);
}

.form-textarea {
    min-height: 7.5rem;
    resize: vertical;
}

.form-error {
    color: var(--destructive);
    font-size: 0.875rem;
    display: none;
}

.form-error.visible {
    display: block;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(145deg, var(--card), var(--muted));
    border-top: 1px solid var(--card-border);
    padding: 3rem 1.5rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: inline-block;
    gap: 1rem;
}

.footer-logo {
    height: 1.5rem;
    width: auto;
}

.footer-description {
    color: var(--muted-foreground);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-title {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-text {
    color: var(--muted-foreground);
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-copyright {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a{
    text-decoration: none;
}
.footer-link-text {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
}

.footer-link-text:hover {
    color: var(--primary);
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-elevated);
    z-index: 100;
    transition: all 0.3s var(--ease-smooth);
    max-width: 20rem;
}

.toast.hidden {
    opacity: 0;
    transform: translateY(2rem);
    pointer-events: none;
}

.toast.success {
    border-color: var(--success);
}

.toast.error {
    border-color: var(--destructive);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.hidden {
    display: none !important;
}

/* Ajuste do nav para não sobrepor o conteúdo */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* Espaçamento para o conteúdo não ficar escondido atrás da nav */
body {
  margin: 0;
  line-height: 1.6;
}

.main-text-section {
  padding: 100px 20px 60px; /* 100px para compensar altura do nav fixo */
  display: flex;
  justify-content: center;
}

.main-text-container {
  max-width: 900px; /* largura limitada */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Títulos */
.main-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

/* Lista ordenada estilizada */
.main-text-container ol {
  counter-reset: section;
  list-style: none;
  padding-left: 0;
}

.main-text-container ol > li {
  counter-increment: section;
  margin-bottom: 30px;
  padding-left: 50px;
  position: relative;
}

.main-text-container ol > li::before {
  content: counter(section) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0066cc;
}


/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (min-width: 640px) {
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3.75rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}