/* SpinTopArena.com - Card-Based Masonry Layout */
/* Modern Casino Review Platform for Ireland */

:root {
  --sta-emerald: #10B981;
  --sta-emerald-light: #34D399;
  --sta-emerald-dark: #059669;
  --sta-indigo: #6366F1;
  --sta-indigo-light: #818CF8;
  --sta-indigo-dark: #4F46E5;
  --sta-amber: #F59E0B;
  --sta-amber-light: #FBBF24;
  --sta-amber-dark: #D97706;
  --sta-slate: #1E293B;
  --sta-slate-light: #334155;
  --sta-slate-dark: #0F172A;
  --sta-grey: #64748B;
  --sta-grey-light: #94A3B8;
  --sta-bg: #F8FAFC;
  --sta-white: #FFFFFF;
  --sta-text: #0F172A;
  --sta-text-light: #475569;
  --sta-border: #E2E8F0;
  --sta-success: #10B981;
  --sta-warning: #F59E0B;
  --sta-error: #EF4444;
  --sta-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --sta-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
  --sta-shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.15);
  --sta-gradient-primary: linear-gradient(135deg, #6366F1 0%, #10B981 100%);
  --sta-gradient-card: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  --sta-radius-sm: 8px;
  --sta-radius-md: 12px;
  --sta-radius-lg: 16px;
  --sta-radius-xl: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--sta-bg);
  color: var(--sta-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--sta-text);
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--sta-indigo);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--sta-indigo-dark);
}

/* Header Navigation */
.sta-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--sta-white);
  box-shadow: var(--sta-shadow-sm);
  z-index: 1000;
  padding: 1rem 0;
}

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

.sta-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.sta-logo-img {
  width: 48px;
  height: 48px;
  border-radius: var(--sta-radius-sm);
}

.sta-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sta-text);
  letter-spacing: -0.02em;
}

.sta-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.sta-nav-link {
  color: var(--sta-text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
}

.sta-nav-link:hover {
  color: var(--sta-indigo);
}

.sta-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sta-indigo);
}

.sta-nav-cta {
  background: var(--sta-gradient-primary);
  color: var(--sta-white);
  padding: 0.6rem 1.5rem;
  border-radius: var(--sta-radius-md);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sta-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--sta-shadow-md);
  color: var(--sta-white);
}

.sta-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.sta-hamburger-bar {
  width: 24px;
  height: 3px;
  background: var(--sta-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.sta-hamburger.active .sta-hamburger-bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.sta-hamburger.active .sta-hamburger-bar:nth-child(2) {
  opacity: 0;
}

.sta-hamburger.active .sta-hamburger-bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.sta-mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--sta-white);
  box-shadow: var(--sta-shadow-lg);
  padding: 1.5rem;
  z-index: 999;
}

.sta-mobile-menu.active {
  display: block;
}

.sta-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sta-mobile-nav-link {
  color: var(--sta-text);
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--sta-border);
}

.sta-mobile-nav-cta {
  background: var(--sta-gradient-primary);
  color: var(--sta-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--sta-radius-md);
  text-align: center;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Main Content */
main {
  margin-top: 72px;
  min-height: calc(100vh - 72px);
}

/* Hero Section */
.sta-hero {
  background: var(--sta-gradient-primary);
  color: var(--sta-white);
  padding: 4rem 1.5rem;
  text-align: center;
}

.sta-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.sta-hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--sta-white);
}

.sta-hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  line-height: 1.7;
}

/* Masonry Grid Container */
.sta-masonry-container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.sta-masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Casino Card */
.sta-casino-card {
  background: var(--sta-white);
  border-radius: var(--sta-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--sta-shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sta-border);
}

.sta-casino-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sta-shadow-lg);
  border-color: var(--sta-indigo-light);
}

.sta-casino-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--sta-border);
}

.sta-casino-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: var(--sta-radius-md);
  background: var(--sta-bg);
  padding: 0.5rem;
}

.sta-casino-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sta-text);
  flex: 1;
}

.sta-casino-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.sta-rating-stars {
  color: var(--sta-amber);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  line-height: 1;
}

.sta-rating-stars i {
  display: inline-block;
  vertical-align: middle;
}

.sta-rating-score {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sta-text);
}

.sta-casino-bonus {
  background: var(--sta-bg);
  padding: 1rem;
  border-radius: var(--sta-radius-md);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--sta-text-light);
  line-height: 1.6;
}

.sta-casino-bonus strong {
  color: var(--sta-indigo);
  font-weight: 600;
}

.sta-casino-features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}

.sta-casino-features li {
  padding: 0.5rem 0;
  color: var(--sta-text-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sta-casino-features li::before {
  content: '✓';
  color: var(--sta-emerald);
  font-weight: 700;
  font-size: 1.1rem;
}

.sta-casino-action {
  margin-top: auto;
}

.sta-btn-primary {
  display: block;
  width: 100%;
  background: var(--sta-gradient-primary);
  color: var(--sta-white);
  padding: 0.875rem 1.5rem;
  border-radius: var(--sta-radius-md);
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

/* Page Cards */
.sta-page-card {
  background: var(--sta-white);
  border-radius: var(--sta-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--sta-shadow-sm);
  margin: 2rem auto;
  max-width: 1000px;
  border: 1px solid var(--sta-border);
}

.sta-section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--sta-text);
}

/* Contact Info */
.sta-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.sta-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--sta-bg);
  border-radius: var(--sta-radius-md);
}

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

.sta-contact-details h4 {
  margin-bottom: 0.5rem;
  color: var(--sta-text);
}

.sta-contact-details p {
  margin: 0;
  color: var(--sta-text-light);
}

/* Forms */
.sta-form-group {
  margin-bottom: 1.5rem;
}

.sta-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--sta-text);
}

.sta-form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--sta-border);
  border-radius: var(--sta-radius-md);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  background: var(--sta-white);
  color: var(--sta-text);
}

.sta-form-control:focus {
  outline: none;
  border-color: var(--sta-indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

textarea.sta-form-control {
  resize: vertical;
  min-height: 120px;
}

/* Alerts */
.sta-alert {
  padding: 1.25rem 1.5rem;
  border-radius: var(--sta-radius-md);
  margin-bottom: 1.5rem;
  border-left: 4px solid;
}

.sta-alert-info {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--sta-indigo);
  color: var(--sta-text);
}

.sta-alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--sta-emerald);
  color: var(--sta-text);
}

.sta-alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--sta-amber);
  color: var(--sta-text);
}

.sta-alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--sta-error);
  color: var(--sta-text);
}

/* Footer */
.sta-footer {
  background: var(--sta-slate-dark);
  color: var(--sta-grey-light);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 4rem;
}

.sta-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.sta-footer-section h4 {
  color: var(--sta-white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.sta-footer-section p {
  color: var(--sta-grey-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

.sta-footer-links {
  list-style: none;
}

.sta-footer-links li {
  margin-bottom: 0.75rem;
}

.sta-footer-links a {
  color: var(--sta-grey-light);
  transition: color 0.2s ease;
  font-size: 0.9rem;
}

.sta-footer-links a:hover {
  color: var(--sta-white);
}

.sta-footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.sta-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.sta-footer-disclaimer {
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--sta-grey-light);
}

.sta-footer-disclaimer strong {
  color: var(--sta-white);
}

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

.sta-responsible-gambling a {
  display: block;
  transition: transform 0.2s ease;
}

.sta-responsible-gambling a:hover {
  transform: scale(1.05);
}

.sta-responsible-gambling img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.sta-footer-copyright {
  color: var(--sta-grey);
  font-size: 0.85rem;
  margin-top: 1.5rem;
}

/* Cookie Consent */
.sta-cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--sta-slate-dark);
  color: var(--sta-white);
  padding: 1.5rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sta-cookie-consent.visible {
  transform: translateY(0);
}

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

.sta-cookie-text {
  flex: 1;
  min-width: 250px;
}

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

.sta-cookie-text p {
  color: var(--sta-grey-light);
  font-size: 0.9rem;
  margin: 0;
}

.sta-cookie-text a {
  color: var(--sta-emerald-light);
}

.sta-cookie-actions {
  display: flex;
  gap: 1rem;
}

.sta-btn-accept {
  background: var(--sta-emerald);
  color: var(--sta-white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--sta-radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.sta-btn-accept:hover {
  background: var(--sta-emerald-dark);
}

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

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

.sta-text-center {
  text-align: center;
}

.sta-mt-1 { margin-top: 0.5rem; }
.sta-mt-2 { margin-top: 1rem; }
.sta-mt-3 { margin-top: 1.5rem; }
.sta-mt-4 { margin-top: 2rem; }
.sta-mt-5 { margin-top: 2.5rem; }

.sta-mb-1 { margin-bottom: 0.5rem; }
.sta-mb-2 { margin-bottom: 1rem; }
.sta-mb-3 { margin-bottom: 1.5rem; }
.sta-mb-4 { margin-bottom: 2rem; }
.sta-mb-5 { margin-bottom: 2.5rem; }

/* Responsive Design */
@media (max-width: 768px) {
  .sta-nav {
    display: none;
  }
  
  .sta-hamburger {
    display: flex;
  }
  
  .sta-hero-title {
    font-size: 2rem;
  }
  
  .sta-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .sta-masonry-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .sta-page-card {
    padding: 1.5rem;
  }
  
  .sta-footer-content {
    grid-template-columns: 1fr;
  }
  
  .sta-cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.35rem; }
}

@media (max-width: 480px) {
  .sta-header-container {
    padding: 0 1rem;
  }
  
  .sta-logo-text {
    font-size: 1.25rem;
  }
  
  .sta-hero {
    padding: 2.5rem 1rem;
  }
  
  .sta-masonry-container {
    padding: 0 1rem;
  }
  
  .sta-casino-card {
    padding: 1.25rem;
  }
  
  .sta-casino-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .sta-casino-rating {
    align-items: flex-start;
  }
}
