/* 
 * Oficial Promoções - Main Stylesheet
 * Daily Deals & Special Offers
 */

:root {
  --primary: #FF6B6B;
  --secondary: #4ECDC4;
  --accent: #FFE66D;
  --dark: #1A535C;
  --light: #F7FFF7;
  --text: #2B2B2B;
  --gray: #E0E0E0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background-color: var(--light);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
  color: var(--dark);
  line-height: 1.2;
}

/* Header */
.header {
  background-color: white;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

.logo-icon {
  display: block;
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
}

.nav-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.nav-toggle span:nth-child(1) {
  top: 0;
}

.nav-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle span:nth-child(3) {
  bottom: 0;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin-left: 2rem;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
  padding: 8rem 0 5rem;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background-color: var(--accent);
  color: var(--dark);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

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

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: var(--dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

.hero-shape {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  opacity: 0.1;
  z-index: 1;
}

/* Features Section */
.section {
  padding: 5rem 0;
  position: relative;
}

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

.section-subtitle {
  display: inline-block;
  background-color: var(--secondary);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.section-description {
  max-width: 700px;
  margin: 0 auto;
  color: #666;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  border-radius: 10px;
  padding: 2.5rem 2rem;
  box-shadow: 0 5px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 5;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-description {
  color: #666;
}

/* Deals Section */
.deals {
  background-color: rgba(78, 205, 196, 0.05);
  position: relative;
  overflow: hidden;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.deal-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.deal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.deal-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray);
  position: relative;
}

.deal-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}

.deal-content {
  padding: 1.5rem;
}

.deal-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.deal-description {
  color: #666;
  margin-bottom: 1rem;
}

.deal-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.deal-original {
  text-decoration: line-through;
  color: #999;
}

.deal-current {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

/* Games Module */
.games {
  position: relative;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.game-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-top: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.game-card:nth-child(2n) {
  border-top-color: var(--secondary);
}

.game-card:nth-child(3n) {
  border-top-color: var(--accent);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.game-title {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.game-description {
  color: #666;
}

/* Contact Section */
.contact {
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.contact-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  margin-right: 1rem;
  background-color: rgba(255, 107, 107, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border: 1px solid #e1e1e1;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 1rem;
}

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

.footer-about img, .footer-about svg {
  width: 150px;
  height: auto;
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}

.footer-title {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}

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

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    transition: all 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    margin: 0;
    margin-bottom: 1.5rem;
    width: 100%;
  }
  
  .nav-link {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 6rem 0 4rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .hero-badge {
    font-size: 0.8rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
  }
}
