/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

/* Danish flag inspired color scheme */
:root {
  --danish-red: #c60c30;
  --danish-white: #ffffff;
  --dark-blue: #1a237e;
  --light-blue: #3f51b5;
  --gold: #ffd700;
  --gray-light: #f8f9fa;
  --gray-medium: #6c757d;
  --gray-dark: #343a40;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --border-radius-sm: 6px;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--danish-red) 0%, #d42d47 100%);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  padding: 1rem 0;
}

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

.logo h1 {
  color: var(--danish-white);
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-dk {
  color: var(--gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.age-badge {
  background: var(--gold);
  color: var(--gray-dark);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.responsible-gaming {
  color: var(--danish-white);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--dark-blue) 0%,
    var(--light-blue) 100%
  );
  color: var(--danish-white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="diamonds" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><polygon points="10,0 20,10 10,20 0,10" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23diamonds)"/></svg>');
  opacity: 0.3;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.age-disclaimer {
  background: rgba(255, 193, 7, 0.2);
  border: 2px solid var(--gold);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-top: 2rem;
  color: var(--gold);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

/* Casino Section */
.casinos {
  padding: 4rem 0;
}

.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.casino-card {
  background: var(--danish-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

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

.casino-card.featured {
  border: 3px solid var(--gold);
}

.featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gold);
  color: var(--gray-dark);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
}

.casino-header {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  gap: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.casino-logo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-light);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.casino-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.casino-info {
  flex: 1;
}

.casino-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
}

.casino-badge {
  display: inline-block;
  background: var(--danish-red);
  color: var(--danish-white);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.rating {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--success);
}

.reviews {
  font-size: 0.8rem;
  color: var(--gray-medium);
}

.casino-bonus {
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.bonus-amount {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--danish-red);
  margin-bottom: 0.5rem;
}

.bonus-terms {
  font-size: 0.85rem;
  color: var(--gray-medium);
  line-height: 1.4;
}

.casino-actions {
  padding: 1.5rem;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--danish-red) 0%, #d42d47 100%);
  color: var(--danish-white);
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  width: 100%;
  font-size: 1rem;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a50a26 0%, #b8253a 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: linear-gradient(
    135deg,
    var(--dark-blue) 0%,
    var(--light-blue) 100%
  );
  color: var(--danish-white);
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #151e69 0%, #364396 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Newsletter */
.newsletter {
  background: linear-gradient(
    135deg,
    var(--dark-blue) 0%,
    var(--light-blue) 100%
  );
  color: var(--danish-white);
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-lg);
}

.newsletter h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.newsletter p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature {
  background: var(--danish-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature h4 {
  font-size: 1.3rem;
  color: var(--danish-red);
  margin-bottom: 1rem;
}

.feature p {
  color: var(--gray-medium);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--gray-dark) 0%, #2c3e50 100%);
  color: var(--danish-white);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.footer-links,
.responsible-gaming-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.responsible-gaming-links a {
  color: var(--danish-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.responsible-gaming-links a:hover {
  color: var(--gold);
}

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

.footer-info p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-info a {
  color: var(--gold);
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .casino-header {
    align-items: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .casino-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .casino-header {
    flex-direction: column;
    text-align: center;
  }

  .casino-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto;
  }

  .newsletter {
    padding: 2rem 1rem;
  }

  .newsletter h3 {
    font-size: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: 300px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .age-warning {
    flex-direction: column;
    gap: 5px;
  }

  .responsible-gaming {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .casino-card {
    margin: 0 10px;
  }

  .casino-header {
    padding: 1rem;
  }

  .casino-bonus,
  .casino-actions {
    padding: 1rem;
  }

  .feature {
    padding: 1.5rem;
  }

  .newsletter {
    margin: 0 10px 2rem;
  }
}
