/* Lucky Aussie Jackpot Website Styles */

/* CSS Custom Properties - Color Palette */
:root {
  --primary-green: #1C1B2E;      /* Indigo profundo (header) */
  --primary-yellow: #F0B429;     /* Dourado */
  --primary-white: #FFFFFF;
  --primary-black: #0A0A0A;
  --light-blue: #EEE8FF;         /* Lavanda clara para fundos */
  --warning-yellow: #FFF2CC;     /* Dourado pálido (avisos) */
  --text-gray: #252525;
  --border-gray: #E6E6F2;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--primary-black);
  background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="20" cy="20" r="8" fill="%23254634" opacity="0.1"/><text x="20" y="25" text-anchor="middle" font-size="6" fill="%23254634" opacity="0.2">27</text><circle cx="60" cy="40" r="8" fill="%23FFD54F" opacity="0.1"/><text x="60" y="45" text-anchor="middle" font-size="6" fill="%23254634" opacity="0.2">34</text><circle cx="30" cy="70" r="8" fill="%23E3F2FD" opacity="0.1"/><text x="30" y="75" text-anchor="middle" font-size="6" fill="%23254634" opacity="0.2">31</text><circle cx="80" cy="80" r="8" fill="%23254634" opacity="0.1"/><text x="80" y="85" text-anchor="middle" font-size="6" fill="%23254634" opacity="0.2">41</text></svg>') repeat;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 20px 0;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 48px;
  font-weight: 900;
}

h2 {
  font-size: 24px;
  font-weight: 700;
}

p {
  text-transform: uppercase;
  font-size: 14px;
  margin: 0 0 15px 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Header */
.header {
  background: var(--primary-green);
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  border-bottom: 1px solid var(--primary-yellow);
}

.logo {
  display: flex;
  align-items: center;
  color: var(--primary-white);
  text-decoration: none;
}

.logo i {
  color: var(--primary-yellow);
  font-size: 24px;
  margin-right: 10px;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.nav-links a {
  color: var(--primary-white);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-yellow);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--primary-white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Hero SVG theming via CSS variables */
.hero-bg .fill-primary { fill: var(--primary-green); }
.hero-bg .fill-accent { fill: var(--primary-yellow); }
.hero-bg .fill-accent-2 { fill: var(--light-blue); }
.hero-bg .fill-contrast { fill: var(--primary-black); }
.hero-bg .stroke-accent { stroke: var(--primary-yellow); }

.hero h1 {
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.cta-button {
  background: var(--primary-yellow);
  color: var(--primary-black);
  padding: 15px 40px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.cta-button:hover {
  background: #FFB74D;
}

/* Age Verification Banner */
.age-banner {
  background: var(--warning-yellow);
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid var(--border-gray);
}

.age-banner p {
  margin: 0;
  font-size: 12px;
  font-weight: bold;
}

.age-banner a {
  color: var(--primary-black);
  text-decoration: underline;
}

.age-banner i {
  margin-right: 10px;
  color: #FF9800;
}

/* Main Content Sections */
.content-section {
  padding: 60px 50px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.content-section h2 {
  margin-bottom: 30px;
  color: var(--primary-black);
}

.content-section p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 1000px;
  margin: 0 auto;
}

/* Responsible Gambling Section */
.responsible-gambling {
  background: var(--warning-yellow);
  padding: 40px 50px;
  text-align: center;
}

.responsible-gambling h2 {
  margin-bottom: 30px;
}

.responsible-gambling p {
  margin-bottom: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.responsible-gambling a {
  color: var(--primary-black);
  text-decoration: underline;
}

/* Info Cards Section */
.info-cards {
  padding: 60px 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.info-card {
  background: var(--primary-white);
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.info-card h3 {
  margin-bottom: 20px;
  font-size: 16px;
}

.info-card p {
  font-size: 12px;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--primary-green);
  color: var(--primary-white);
  padding: 40px 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

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

.footer-logo i {
  color: var(--primary-yellow);
  font-size: 20px;
  margin-right: 8px;
}

.footer-logo-text {
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
}

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

.footer-info p {
  margin: 10px 0;
  font-size: 12px;
}

.footer-links {
  text-align: right;
}

.footer-links a {
  color: var(--primary-white);
  text-decoration: none;
  display: block;
  margin: 10px 0;
  font-size: 12px;
  text-transform: uppercase;
}

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

.compliance-logos {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.compliance-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
}

.compliance-logo a {
  display: block;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compliance-logo a:hover {
  opacity: 0.8;
}

.compliance-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Form Styles */
.form-container {
  background: var(--primary-white);
  width: 100%;
  max-width: 450px;
  margin: 40px auto;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--primary-black);
  font-size: 12px;
}

.form-input {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-gray);
  border-radius: 4px;
  font-size: 14px;
  text-transform: uppercase;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.form-input:focus {
  border-color: var(--primary-green);
  outline: none;
}

.form-input.error {
  border-color: #FF5252;
}

.form-input.success {
  border-color: #4CAF50;
}

.error-message {
  color: #FF5252;
  font-size: 12px;
  margin-top: 5px;
  text-transform: uppercase;
}

.success-message {
  color: #4CAF50;
  font-size: 12px;
  margin-top: 5px;
  text-transform: uppercase;
}

.form-submit {
  width: 100%;
  background: var(--primary-yellow);
  color: var(--primary-black);
  padding: 15px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.form-submit:hover:not(:disabled) {
  background: #FFB74D;
}

.form-submit:disabled {
  background: #CCCCCC;
  cursor: not-allowed;
}

.form-links {
  text-align: center;
  margin-top: 20px;
}

.form-links a {
  color: var(--primary-green);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
}

.form-links a:hover {
  text-decoration: underline;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin: 20px 0;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 12px;
  text-transform: uppercase;
  line-height: 1.4;
}

.checkbox-group a {
  color: var(--primary-green);
  text-decoration: underline;
}

/* Page Layout */
.page-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  padding: 40px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    padding: 0 20px;
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .nav-links {
    gap: 20px;
    margin-top: 15px;
  }

  .hero {
    height: 300px;
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .content-section {
    padding: 40px 20px;
  }

  .info-cards {
    padding: 40px 20px;
  }

  .cards-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer {
    padding: 30px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

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

  .compliance-logos {
    flex-direction: column;
    gap: 15px;
  }

  .form-container {
    width: 90%;
    margin: 20px auto;
    padding: 30px 20px;
  }
  
  .form-input {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px;
  }

  .form-submit {
    min-height: 48px; /* Touch target */
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

  .content-section h2 {
    font-size: 20px;
  }

  .content-section p,
  .responsible-gambling p {
    font-size: 12px;
  }

  .form-container {
    padding: 20px 15px;
  }
}
