/* ============================================
   WINSHARK CASINO - MAIN STYLESHEET
   Color Scheme: Deep Navy Blue & Oceanic Gradients
   Premium German Casino Brand
   ============================================ */

/* SECTION: CSS Variables (Color Palette) */
:root {
  --bg-deep: #011B3A;
  --bg-surface: #022A52;
  --bg-light: #F4F6FA;
  --accent-blue: #0073C7;
  --accent-turquoise: #00B8E6;
  --accent-gold: #FFB800;
  --text-white: #F4F6FA;
  --text-light: #B8C5D6;
  --text-dark: #1a1a1a;
  --border: #1E3A5F;
  --gradient-primary: linear-gradient(135deg, #0073C7 0%, #00B8E6 100%);
  --gradient-hero: linear-gradient(135deg, #011B3A 0%, #013A6B 50%, #0073C7 100%);
  --gradient-gold: linear-gradient(135deg, #FFB800 0%, #FFA000 100%);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 36px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(0, 184, 230, 0.4);
}

/* SECTION: Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-deep);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-turquoise);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-gold);
}

/* Override for CTA buttons - always black text */
a.cta-btn,
a.cta-btn * {
  color: #000000 !important;
}

/* SECTION: Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-white);
}

h1 {
  font-size: 2.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2rem;
  color: var(--accent-turquoise);
}

h3 {
  font-size: 1.5rem;
  color: #FFB800;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* SECTION: Container & Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

/* SECTION: Header (Sticky with Oceanic Gradient) */
header {
  background: var(--gradient-hero);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--accent-turquoise);
}

header.scrolled {
  box-shadow: var(--shadow-lg);
  background: linear-gradient(90deg, #011B3A 0%, #013A6B 100%);
}

.header-container {
  background: linear-gradient(90deg, #011B3A 0%, #013A6B 50%, #0073C7 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  margin: 0 auto;
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
}

.logo-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo-icon {
  font-size: 2rem;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover {
  color: var(--accent-turquoise);
  text-shadow: 0 0 10px rgba(0, 184, 230, 0.5);
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--accent-turquoise);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #FFB800 0%, #FFA000 100%);
  color: #000000 !important;
  font-weight: 800;
  border-radius: 50px;
  padding: 15px 40px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 184, 0, 0.5);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  opacity: 0.3;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.cta-btn:hover {
  background: linear-gradient(135deg, #FFC700 0%, #FFB000 100%);
  box-shadow: 0 12px 32px rgba(255, 184, 0, 0.7);
  transform: translateY(-3px) scale(1.02);
  color: #000000 !important;
}

/* Force black text color for all button text */
.cta-btn,
.cta-btn:visited,
.cta-btn:active,
.cta-btn:focus,
a.cta-btn,
a.cta-btn:visited,
a.cta-btn:hover,
a.cta-btn:active {
  color: #000000 !important;
  text-shadow: none !important;
}

/* SECTION: Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1001;
}

.menu-toggle:hover {
  color: var(--accent-turquoise);
  transform: scale(1.1);
}

/* SECTION: Hero Section */
.hero {
  position: relative;
  background: url('/assets/WinShark-Casino-4.webp') center/cover no-repeat;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
  color: var(--text-white);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 550px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 100% at 50% 60%,
    rgba(1, 27, 58, 0.75) 0%,
    rgba(0, 115, 199, 0.5) 40%,
    rgba(0, 184, 230, 0.3) 75%,
    transparent 100%
  );
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 115, 199, 0.2), rgba(0, 184, 230, 0.2));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-white);
  
  background: linear-gradient(135deg, #FFFFFF 0%, #00E6FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  margin-bottom: 35px;
}

.hero strong {
  color: #FFB800;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(255, 184, 0, 0.5);
}

/* SECTION: Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-surface);
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 2px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent-turquoise);
  background: linear-gradient(135deg, var(--bg-surface) 0%, #013A6B 100%);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card h3 {
  color: var(--text-white);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-light);
}

/* SECTION: Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.game-card {
  background: var(--bg-surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid var(--border);
  position: relative;
}

.game-card::after {
  content: "SPIELEN";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gradient-gold);
  color: var(--bg-deep);
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 50px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.game-card:hover::after {
  opacity: 1;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.game-card:hover::before {
  opacity: 1;
}

.game-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent-turquoise);
}

.game-img {
  width: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: 600;
  font-size: 1.5rem;
  position: relative;
}

.game-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.game-info {
  padding: 15px;
  background: var(--bg-surface);
}

.game-info h4 {
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: 5px;
}

.game-info p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0;
}

/* SECTION: Content Sections */
.content-section {
  background: var(--bg-surface);
  padding: 40px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border);
  position: relative;
  overflow: hidden;
}

.content-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.content-section h2 {
  margin-bottom: 20px;
  color: var(--accent-turquoise);
}

.content-section h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFB800;
}

.content-section p {
  color: var(--text-light);
}

.content-section a {
  color: var(--accent-turquoise);
  font-weight: 600;
}

.content-section a:hover {
  color: var(--accent-gold);
}

.content-section ul, .content-section ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.content-section li {
  margin-bottom: 10px;
  color: var(--text-light);
}

.content-section strong {
  color: var(--text-white);
  font-weight: 700;
}

/* SECTION: Tables */
table {
  min-width: 600px;
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--bg-deep);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

table th {
  background: var(--gradient-primary);
  color: var(--text-white);
  padding: 15px;
  text-align: left;
  font-weight: 600;
}

table td {
  padding: 15px;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
}

table tr:last-child td {
  border-bottom: none;
}

table tr:hover {
  background: var(--bg-surface);
}

table strong {
  color: var(--accent-gold);
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
}

/* SECTION: Footer */
footer {
  background: var(--bg-deep);
  padding: 40px 0 20px;
  margin-top: 60px;
  border-top: 2px solid var(--accent-turquoise);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: #00B8E6;
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.footer-section p {
  color: var(--text-light);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--text-light);
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-turquoise);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.875rem;
}

/* SECTION: Sticky Mobile CTA */
.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 10px 0;
  background: var(--bg-deep);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  text-align: center;
  border-top: 2px solid var(--accent-turquoise);
}

.sticky-cta-mobile .cta-btn {
  display: inline-block;
  width: 90%;
  padding: 15px 0;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #FFB800 0%, #FFA000 100%);
  color: #000000 !important;
  font-weight: 800;
  box-shadow: 0 -4px 20px rgba(255, 184, 0, 0.4);
}

/* SECTION: Responsive Design */
@media (max-width: 768px) {
  .sticky-cta-mobile {
    display: block;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-btn {
    padding: 12px 28px;
    font-size: 1rem;
  }

  /* Mobile Menu Styles */
  .menu-toggle {
    display: inline-block;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
  }

  #navMenu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #011B3A 0%, #013a6b 100%);
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    border-top: 2px solid var(--accent-turquoise);
    gap: 16px;
    z-index: 1000;
    list-style: none;
  }

  #navMenu.show {
    display: flex !important;
  }

  #navMenu li {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #navMenu a {
    color: var(--text-white) !important;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    display: block;
    width: 100%;
  }

  #navMenu a:hover {
    background: rgba(0, 184, 230, 0.2);
    color: var(--accent-turquoise) !important;
  }

  #navMenu a.cta-btn {
    background: linear-gradient(135deg, #FFB800 0%, #FFA000 100%) !important;
    color: #000000 !important;
    margin-top: 10px;
    text-shadow: none !important;
  }

  #navMenu a.cta-btn:hover {
    background: linear-gradient(135deg, #FFC700 0%, #FFB000 100%) !important;
    color: #000000 !important;
    text-shadow: none !important;
  }

  .header-container {
    position: relative;
  }

  .content-section {
    padding: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .section {
    padding: 40px 10px;
  }
}

/* SECTION: Utility Classes */
.text-center {
  text-align: center;
}

.mt-30 {
  margin-top: 30px;
}

.mb-30 {
  margin-bottom: 30px;
}

/* SECTION: Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

