/**
 * Casino777 Schweiz - Main Stylesheet
 * All styles consolidated from page templates
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
  --color-primary: #7db10f;
  --color-primary-dark: #6a9a0d;
  --color-dark: #000000;
  --color-dark-light: #0d0d0d;
  --color-dark-lighter: #151515;
  --color-white: #ffffff;
  --color-accent: #ff6b00;
  --font-heading: "din", "Poppins", sans-serif;
  --font-body: "Poppins", sans-serif;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-dark);
  line-height: 1.6;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  padding: 10px 20px;
  background: var(--color-primary);
  color: var(--color-dark);
  z-index: 9999;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-dark);
  padding: 15px 0;
  transition: padding 0.3s ease;
}

.header-container {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  max-height: 60px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  margin: 5px 0;
  transition: 0.3s;
}

/* ==========================================================================
   CTA Button
   ========================================================================== */
.cta-button {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-dark) !important;
  padding: 12px 28px;
  border-radius: 35px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.cta-button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
              url('../images/Casino777_bg.webp') center/cover no-repeat;
  padding: 150px 20px 100px;
  text-align: center;
  color: var(--color-white);
}

.hero h1 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(40px, 8vw, 90px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 500;
  max-width: 955px;
  margin: 0 auto 37px;
}

.hero .cta-button {
  font-size: 24px;
  padding: 16px 35px;
  margin-bottom: 20px;
}

.hero-bonus {
  font-size: 22px;
  font-weight: 500;
}

/* ==========================================================================
   Features Bar (Homepage)
   ========================================================================== */
.features-bar {
  background: var(--color-dark-lighter);
  border-radius: 20px;
  max-width: 1200px;
  margin: -80px auto 40px;
  padding: 40px;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.feature-item h3 {
  color: var(--color-white);
  font-size: 25px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.feature-item p {
  color: var(--color-white);
  font-size: 18px;
  opacity: 0.9;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.content-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  text-align: center;
  margin: 40px 0 30px;
}

.content-section h3 {
  font-size: 24px;
  font-weight: 500;
  margin: 30px 0 15px;
}

.content-section p {
  font-size: 18px;
  margin-bottom: 15px;
  line-height: 1.7;
}

/* ==========================================================================
   Info Cards
   ========================================================================== */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.info-card {
  background: var(--color-dark-light);
  border-radius: 30px;
  padding: 25px;
  color: var(--color-white);
}

.info-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  text-align: center;
  color: var(--color-white);
}

.info-card p,
.info-card li {
  font-size: 18px;
  color: var(--color-white);
}

/* ==========================================================================
   Images
   ========================================================================== */
.content-image {
  border-radius: 15px;
  width: 100%;
  height: auto;
  margin: 20px 0;
}

/* ==========================================================================
   Lists
   ========================================================================== */
.styled-list {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.styled-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 18px;
}

.styled-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* Ordered Lists */
.ordered-list {
  padding-left: 30px;
  margin: 20px 0;
}

.ordered-list li {
  margin-bottom: 12px;
  font-size: 18px;
}

/* ==========================================================================
   Tables
   ========================================================================== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  overflow-x: auto;
  display: block;
}

.data-table table {
  width: 100%;
  min-width: 600px;
}

.data-table th,
.data-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.data-table th {
  background: var(--color-dark-light);
  color: var(--color-white);
  font-weight: 600;
}

.data-table tr:nth-child(even) {
  background: #f9f9f9;
}

/* ==========================================================================
   Table of Contents
   ========================================================================== */
.toc {
  background: var(--color-dark-light);
  border-radius: 20px;
  padding: 25px;
  margin: 30px 0;
}

.toc h2 {
  color: var(--color-white);
  font-size: 24px;
  margin-bottom: 15px;
  text-align: left;
}

.toc ul {
  list-style: none;
  padding: 0;
}

.toc li {
  margin-bottom: 10px;
}

.toc a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s;
}

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

/* ==========================================================================
   Bonus Examples (Boni page)
   ========================================================================== */
.bonus-examples {
  background: #f5f5f5;
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0;
}

.bonus-examples li {
  font-size: 18px;
  margin-bottom: 10px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  margin: 40px 0;
}

.faq-item {
  background: var(--color-dark-light);
  border-radius: 20px;
  padding: 20px 25px;
  margin-bottom: 15px;
}

.faq-item h3 {
  color: var(--color-white);
  font-size: 18px;
  margin-bottom: 10px;
}

.faq-item p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin-bottom: 0;
}

/* ==========================================================================
   Two Column Layout (Registration page)
   ========================================================================== */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 30px 0;
}

.two-column img {
  width: 100%;
  border-radius: 15px;
}

/* ==========================================================================
   Steps (Registration page)
   ========================================================================== */
.steps-container {
  counter-reset: step-counter;
  margin: 30px 0;
}

.step {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.step-number {
  background: var(--color-primary);
  color: var(--color-dark);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  flex-shrink: 0;
}

.step-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
}

.step-content p {
  margin-bottom: 0;
  color: #666;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url('../images/Casino777_cta.webp') center/cover no-repeat;
  border-radius: 30px;
  padding: 40px;
  margin: 40px 0;
  text-align: center;
  color: var(--color-white);
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 20px;
}

.cta-section p {
  color: var(--color-white);
  max-width: 800px;
  margin: 0 auto 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 60px 20px 30px;
}

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

.footer-logo {
  text-align: center;
  margin-bottom: 40px;
}

.footer-logo img {
  max-width: 200px;
}

.footer-content {
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.footer-content strong {
  color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
}

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

/* ==========================================================================
   Cookie Consent
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-dark);
  padding: 20px;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  color: var(--color-white);
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s;
}

.cookie-btn.accept {
  background: var(--color-primary);
  color: var(--color-dark);
}

.cookie-btn.decline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero {
    padding: 100px 20px;
  }
  
  .hero .cta-button {
    font-size: 18px;
    padding: 14px 28px;
  }
  
  .features-bar {
    margin-top: -50px;
    padding: 30px 20px;
  }
  
  .two-column {
    grid-template-columns: 1fr;
  }
  
  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .data-table {
    font-size: 14px;
  }
  
  .data-table th,
  .data-table td {
    padding: 10px;
  }
}

