/* UKCasinoAuthority - Unique Responsive Design */

/* Custom CSS Variables */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #dc2626;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --background-light: #f8fafc;
  --white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Global Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  position: relative;
}

/* Unique Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--primary-color);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-medium);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color)) 1;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
}

.logo {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* Navigation */
.nav {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav a {
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav a:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Main Content Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section */
.hero {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  margin: 2rem 1rem;
  border-radius: 20px;
  box-shadow: var(--shadow-large);
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Casino Offers Grid */
.offers-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  margin: 2rem 1rem;
  border-radius: 20px;
  box-shadow: var(--shadow-large);
  padding: 3rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.offer-card {
  background: linear-gradient(145deg, #ffffff, #f0f9ff);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
}

.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
  border-color: var(--accent-color);
}

.offer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.offer-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.offer-button {
  background: linear-gradient(135deg, var(--secondary-color), #dc2626);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.offer-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.offer-button:hover::before {
  left: 100%;
}

.offer-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.4);
}

/* Play Safely Section */
.safety-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  margin: 2rem 1rem;
  border-radius: 20px;
  box-shadow: var(--shadow-large);
  padding: 3rem 2rem;
  border: 3px solid var(--secondary-color);
  border-image: linear-gradient(90deg, var(--secondary-color), var(--accent-color)) 1;
}

.safety-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.age-restriction {
  background: var(--secondary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: var(--shadow-medium);
}

.safety-content {
  text-align: center;
  margin-bottom: 2rem;
}

.safety-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.safety-logo {
  transition: transform 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.safety-logo:hover {
  transform: scale(1.1);
}

.safety-logo img {
  height: 60px;
  width: auto;
  display: block;
}

.safety-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.safety-link {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.safety-link:hover {
  color: var(--primary-color);
}

/* Footer */
.footer {
  background: rgba(30, 58, 138, 0.95);
  backdrop-filter: blur(20px);
  color: white;
  margin-top: 4rem;
  padding: 3rem 0 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--accent-color);
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, white, #f8fafc);
  margin: 5% auto;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-large);
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  border: 3px solid var(--secondary-color);
}

.close {
  color: var(--text-light);
  float: right;
  font-size: 2rem;
  font-weight: bold;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--secondary-color);
}

.modal h2 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.modal-button {
  background: linear-gradient(135deg, var(--secondary-color), #dc2626);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin: 0.5rem;
  transition: all 0.3s ease;
}

.modal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 38, 38, 0.4);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30, 58, 138, 0.95);
  backdrop-filter: blur(20px);
  color: white;
  padding: 1.5rem;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-button {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-button:hover {
  background: #d97706;
  transform: translateY(-2px);
}

/* Page Content Styles */
.page-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  margin: 2rem 1rem;
  border-radius: 20px;
  box-shadow: var(--shadow-large);
  padding: 3rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  min-height: 60vh;
}

.page-content h1 {
  margin-bottom: 2rem;
  text-align: center;
}

.page-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.page-content ul, .page-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-button {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30, 58, 138, 0.4);
}

/* Table of Contents */
.toc {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color);
}

.toc h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.toc ul {
  list-style: none;
  padding-left: 0;
}

.toc li {
  margin-bottom: 0.5rem;
}

.toc a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.toc a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    min-height: auto;
    padding: 1rem;
  }

  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
  }

  .nav.show {
    display: flex;
  }

  .nav a {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .hero {
    margin: 1rem 0.5rem;
    padding: 2rem 1rem;
  }

  .offers-section,
  .safety-section,
  .page-content {
    margin: 1rem 0.5rem;
    padding: 2rem 1rem;
  }

  .offers-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .offer-card {
    padding: 1.5rem;
  }

  .safety-header {
    flex-direction: column;
    text-align: center;
  }

  .safety-logos {
    gap: 1rem;
  }

  .safety-logo img {
    height: 50px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
  }

  .modal-content {
    margin: 10% auto;
    padding: 2rem;
    width: 95%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1.5rem 0.75rem;
  }

  .offers-section,
  .safety-section,
  .page-content {
    padding: 1.5rem 0.75rem;
  }

  .offer-card {
    padding: 1rem;
  }

  .safety-logos {
    gap: 0.5rem;
  }

  .safety-logo img {
    height: 40px;
  }

  .footer {
    padding: 2rem 0 1rem;
  }

  .modal-content {
    padding: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .cookie-consent,
  .modal {
    display: none;
  }

  body {
    background: white;
  }

  .page-content {
    box-shadow: none;
    border: 1px solid #ccc;
  }
} 