/* Top Win World - Complete Redesign for Ireland */
:root {
  --topwinworld-primary: #2563eb;
  --topwinworld-primary-dark: #1e40af;
  --topwinworld-primary-light: #3b82f6;
  --topwinworld-secondary: #dc2626;
  --topwinworld-secondary-dark: #b91c1c;
  --topwinworld-accent: #f59e0b;
  --topwinworld-accent-dark: #d97706;
  --topwinworld-success: #059669;
  --topwinworld-warning: #f59e0b;
  --topwinworld-error: #ef4444;
  --topwinworld-background: #0a0e27;
  --topwinworld-card-bg: #1a1f3a;
  --topwinworld-card-hover: #252b4a;
  --topwinworld-text: #e2e8f0;
  --topwinworld-text-muted: #94a3b8;
  --topwinworld-border: #2d3555;
  --topwinworld-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  --topwinworld-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
  --topwinworld-gradient-primary: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  --topwinworld-gradient-secondary: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  --topwinworld-gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --topwinworld-gradient-hero: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2563eb 100%);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--topwinworld-text);
  background: var(--topwinworld-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1, .topwinworld-hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--topwinworld-text);
}

h2, .topwinworld-section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--topwinworld-text);
  position: relative;
  padding-bottom: 1rem;
}

h2::before, .topwinworld-section-title::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--topwinworld-gradient-primary);
  border-radius: 2px;
}

h3 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--topwinworld-text);
}

h4 {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--topwinworld-text);
}

h5 {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--topwinworld-text);
}

p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--topwinworld-text-muted);
  margin-bottom: 1rem;
}

/* Hero Section */
.topwinworld-hero {
  min-height: 90vh;
  background: var(--topwinworld-gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 0 4rem;
  margin-top: 70px;
}

.topwinworld-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(220, 38, 38, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.topwinworld-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.topwinworld-hero-title {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #e2e8f0 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.topwinworld-hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.8;
  color: var(--topwinworld-text-muted);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Navigation */
.topwinworld-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 39, 0.98);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--topwinworld-border);
  box-shadow: var(--topwinworld-shadow);
}

.topwinworld-navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topwinworld-navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--topwinworld-text);
  transition: all 0.3s ease;
}

.topwinworld-navbar-brand:hover {
  transform: scale(1.05);
}

.topwinworld-navbar-logo {
  width: 50px;
  height: 50px;
  margin-right: 0.75rem;
  border-radius: 10px;
}

.topwinworld-navbar-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--topwinworld-text);
}

.topwinworld-navbar-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topwinworld-nav-item {
  margin: 0;
}

.topwinworld-nav-link {
  padding: 0.6rem 1.2rem;
  color: var(--topwinworld-text-muted);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: block;
}

.topwinworld-nav-link:hover,
.topwinworld-nav-link.active {
  color: var(--topwinworld-text);
  background: rgba(37, 99, 235, 0.1);
}

.topwinworld-nav-link-cta {
  background: var(--topwinworld-gradient-primary);
  color: white !important;
  font-weight: 600;
}

.topwinworld-nav-link-cta:hover {
  background: var(--topwinworld-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--topwinworld-shadow);
}

.topwinworld-navbar-toggle {
  display: none;
  flex-direction: column;
  background: rgba(37, 99, 235, 0.2);
  border: 2px solid var(--topwinworld-primary);
  cursor: pointer;
  padding: 0.6rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.topwinworld-navbar-toggle:hover {
  background: rgba(37, 99, 235, 0.3);
}

.topwinworld-navbar-toggle-bar {
  width: 24px;
  height: 3px;
  background: var(--topwinworld-text);
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Casino List Section */
.topwinworld-casino-list {
  padding: 4rem 0;
  background: var(--topwinworld-background);
}

.topwinworld-casino-item {
  background: var(--topwinworld-card-bg);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--topwinworld-border);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.topwinworld-casino-item:hover {
  transform: translateX(5px);
  box-shadow: var(--topwinworld-shadow-lg);
  border-color: var(--topwinworld-primary);
}

.topwinworld-casino-logo-img {
  width: 120px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 0.5rem;
  flex-shrink: 0;
}

.topwinworld-casino-info {
  flex: 1;
}

.topwinworld-casino-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--topwinworld-text);
  margin-bottom: 0.5rem;
}

.topwinworld-casino-bonus {
  color: var(--topwinworld-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.topwinworld-casino-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topwinworld-rating-stars {
  color: var(--topwinworld-accent);
  font-size: 0.9rem;
}

.topwinworld-rating-score {
  font-weight: 600;
  color: var(--topwinworld-success);
}

.topwinworld-casino-action {
  flex-shrink: 0;
}

.topwinworld-btn-primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--topwinworld-gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.topwinworld-btn-primary:hover {
  background: var(--topwinworld-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--topwinworld-shadow);
  color: white;
}

/* Footer */
.topwinworld-footer {
  background: var(--topwinworld-card-bg);
  border-top: 1px solid var(--topwinworld-border);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.topwinworld-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.topwinworld-footer-section {
  margin-bottom: 2rem;
}

.topwinworld-footer h4 {
  color: var(--topwinworld-text);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.topwinworld-footer p {
  color: var(--topwinworld-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.topwinworld-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topwinworld-footer-links li {
  margin-bottom: 0.5rem;
}

.topwinworld-footer-links a {
  color: var(--topwinworld-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

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

.topwinworld-footer-divider {
  border-color: var(--topwinworld-border);
  margin: 2rem 0;
}

.topwinworld-footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
}

.topwinworld-footer-disclaimer {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.topwinworld-footer-disclaimer p {
  color: var(--topwinworld-text);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.topwinworld-footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.topwinworld-footer-disclaimer a {
  color: var(--topwinworld-primary-light);
  text-decoration: none;
}

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

.topwinworld-responsible-gambling {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.topwinworld-responsible-gambling a {
  display: inline-block;
  transition: transform 0.3s ease;
  background: #ffffff;
  padding: 0.75rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.topwinworld-responsible-gambling a:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.topwinworld-responsible-gambling img {
  height: 50px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

/* Cookie Consent */
.topwinworld-cookie-consent {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: var(--topwinworld-card-bg);
  border: 1px solid var(--topwinworld-border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--topwinworld-shadow-lg);
  z-index: 1001;
  backdrop-filter: blur(15px);
  max-width: 600px;
  margin: 0 auto;
}

.topwinworld-cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.topwinworld-cookie-text h5 {
  color: var(--topwinworld-text);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.topwinworld-cookie-text p {
  color: var(--topwinworld-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.topwinworld-cookie-text a {
  color: var(--topwinworld-primary-light);
  text-decoration: none;
}

.topwinworld-cookie-text a:hover {
  text-decoration: underline;
}

.topwinworld-cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.topwinworld-cookie-actions .btn {
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

/* Page Cards */
.topwinworld-page-card {
  background: var(--topwinworld-card-bg);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 2rem 0;
  border: 1px solid var(--topwinworld-border);
  box-shadow: var(--topwinworld-shadow);
}

/* Contact Form */
.topwinworld-contact-form {
  background: var(--topwinworld-card-bg);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--topwinworld-border);
}

.topwinworld-contact-form .form-control {
  background: var(--topwinworld-background);
  border: 1px solid var(--topwinworld-border);
  color: var(--topwinworld-text);
  border-radius: 8px;
  padding: 0.9rem;
  font-size: 1rem;
}

.topwinworld-contact-form .form-control:focus {
  background: var(--topwinworld-background);
  border-color: var(--topwinworld-primary);
  color: var(--topwinworld-text);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.topwinworld-contact-info {
  background: var(--topwinworld-card-bg);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--topwinworld-border);
}

.topwinworld-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.topwinworld-contact-icon {
  width: 50px;
  height: 50px;
  background: var(--topwinworld-gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.25rem;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0;
}

.topwinworld-contact-details h4 {
  color: var(--topwinworld-text);
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.topwinworld-contact-details p {
  color: var(--topwinworld-text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Utility Classes */
.topwinworld-hidden {
  display: none !important;
}

.topwinworld-visible {
  display: block !important;
}

.topwinworld-section {
  padding: 4rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .topwinworld-hero {
    min-height: 70vh;
    padding: 4rem 0 3rem;
    margin-top: 60px;
  }
  
  .topwinworld-navbar-toggle {
    display: flex !important;
  }
  
  .topwinworld-navbar-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--topwinworld-card-bg);
    flex-direction: column;
    padding: 1.5rem;
    border-top: 1px solid var(--topwinworld-border);
    box-shadow: var(--topwinworld-shadow-lg);
    gap: 0.5rem;
  }
  
  .topwinworld-navbar-menu.open {
    display: flex !important;
  }
  
  .topwinworld-nav-link {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-size: 1.05rem;
  }
  
  .topwinworld-casino-item {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .topwinworld-casino-logo-img {
    margin: 0 auto;
  }
  
  .topwinworld-casino-action {
    width: 100%;
  }
  
  .topwinworld-btn-primary {
    width: 100%;
    text-align: center;
  }
  
  .topwinworld-cookie-consent {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1.25rem;
  }
  
  .topwinworld-cookie-actions {
    flex-direction: column;
  }
  
  .topwinworld-cookie-actions .btn {
    width: 100%;
  }
  
  .topwinworld-page-card {
    padding: 1.5rem;
  }
  
  .topwinworld-contact-form {
    padding: 1.5rem;
  }
  
  .topwinworld-contact-info {
    padding: 1.5rem;
  }
  
  .topwinworld-footer-content {
    padding: 0 1rem;
  }
  
  .topwinworld-responsible-gambling {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .topwinworld-responsible-gambling a {
    width: 100%;
    max-width: 200px;
    text-align: center;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .topwinworld-responsible-gambling img {
    height: 45px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
  
  .topwinworld-hero {
    min-height: 60vh;
    padding: 3rem 0 2rem;
  }
  
  .topwinworld-hero-title {
    font-size: 2rem;
  }
  
  .topwinworld-navbar-container {
    padding: 0.75rem 1rem;
  }
  
  .topwinworld-navbar-title {
    font-size: 1.2rem;
  }
  
  .topwinworld-casino-item {
    padding: 1.5rem;
  }
  
  .topwinworld-casino-logo-img {
    width: 100px;
    height: 50px;
  }
  
  h2, .topwinworld-section-title {
    font-size: 1.75rem;
  }
  
  .topwinworld-section {
    padding: 3rem 0;
  }
  
  /* Prevent long words from breaking layout */
  h1, h2, h3, h4, h5, h6, p, a, li, span, div {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  /* Smaller font for long navigation items */
  .topwinworld-nav-link {
    font-size: 0.95rem;
  }
  
  /* Ensure consistent logo sizes on very small screens */
  .topwinworld-responsible-gambling a {
    max-width: 180px;
    padding: 0.625rem;
  }
  
  .topwinworld-responsible-gambling img {
    height: 40px;
  }
}

/* Hamburger Menu Animation */
.topwinworld-hamburger-bar-1-open {
  transform: rotate(45deg) translate(5px, 5px) !important;
}

.topwinworld-hamburger-bar-2-open {
  opacity: 0 !important;
}

.topwinworld-hamburger-bar-3-open {
  transform: rotate(-45deg) translate(7px, -6px) !important;
}
