:root {
  --bg-primary: #050505;
  --bg-secondary: #0f0f0f;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.18);
  --accent-primary: #c0c0c0;
  --accent-secondary: #e5e7eb;
  --glow-highlight: #f1f5f9;
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 40px 30px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(192, 192, 192, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Button */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-primary), var(--glow-highlight));
  color: var(--bg-primary);
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--glow-highlight), var(--accent-primary));
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(192, 192, 192, 0.4);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition), padding var(--transition);
  padding: 20px 0;
}

.header.scrolled {
  background: rgba(5, 5, 5, 0.85);
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(241, 245, 249, 0.5);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-primary);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/hero-777-slot-background.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--bg-primary) 5%, rgba(5,5,5,0.6) 50%, rgba(5,5,5,0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeIn 1s ease-out forwards;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(192, 192, 192, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 400;
}

/* Particles */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--glow-highlight);
  border-radius: 50%;
  opacity: 0.3;
  box-shadow: 0 0 10px var(--glow-highlight);
  animation: float linear infinite;
}

/* Sections Global */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Featured Game Section */
.game-section {
  padding: 120px 0;
  background: radial-gradient(circle at center, rgba(192, 192, 192, 0.03) 0%, var(--bg-primary) 70%);
}

.game-container-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.game-frame-container {
  width: 100%;
  aspect-ratio: 16/9;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(192,192,192,0.1);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.game-frame-container::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, transparent, var(--accent-primary), transparent);
  z-index: -1;
  border-radius: 22px;
  opacity: 0.3;
  animation: borderGlow 4s linear infinite;
}

.game-frame-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  background-color: var(--bg-secondary);
}

/* About SEO Section */
.about-seo-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.seo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.seo-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--accent-primary);
}

.seo-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.seo-image {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.seo-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

.seo-image:hover img {
  transform: scale(1.05);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: inline-block;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.glass-card p {
  color: var(--text-secondary);
}

/* Responsible Gaming Callout */
.rg-callout {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 50px;
  border-left: 4px solid var(--accent-primary);
}

.rg-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--accent-primary);
}

.rg-callout h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.rg-callout p {
  color: var(--text-secondary);
  margin-bottom: 10px;
}

/* Internal Page Headers */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(to bottom, rgba(15,15,15,0.8), var(--bg-primary));
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
}

.page-title {
  font-size: 3rem;
  color: var(--accent-primary);
  margin-bottom: 15px;
}

/* Content Pages */
.content-section {
  padding: 80px 0;
}

.content-panel {
  padding: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.content-panel h2 {
  font-size: 2rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.content-panel h2:first-child {
  margin-top: 0;
}

.content-panel p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.content-panel ul {
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--text-secondary);
}

.content-panel li {
  margin-bottom: 10px;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 15px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: all var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(192, 192, 192, 0.2);
}

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

/* Footer */
.footer {
  background: rgba(15, 15, 15, 0.8);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 30px;
  backdrop-filter: blur(10px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 400px;
}

.footer-links h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--accent-primary);
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-primary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: rgba(203, 213, 225, 0.6);
  font-size: 0.85rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0px) translateX(0px); }
  33% { transform: translateY(-30px) translateX(15px); }
  66% { transform: translateY(-15px) translateX(-15px); }
  100% { transform: translateY(0px) translateX(0px); }
}

@keyframes borderGlow {
  0% { opacity: 0.2; }
  50% { opacity: 0.6; }
  100% { opacity: 0.2; }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .seo-content { grid-template-columns: 1fr; }
  .seo-image { order: -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .game-frame-container { width: 90%; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  section { padding: 70px 0; }
  .game-section { padding: 90px 0; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 40px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--glass-border);
  }
  .nav-links.active { right: 0; }
  .mobile-menu-btn { display: block; z-index: 1001; }
  
  .hero-title { font-size: 2.2rem; }
  .hero { min-height: 500px; height: 80vh; }
  
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { grid-column: span 1; }
  
  section { padding: 50px 0; }
  .game-section { padding: 60px 0; }
  .game-frame-container { width: 100%; border-radius: 12px; }
  .content-panel { padding: 30px 20px; }
  .page-header { padding: 120px 0 60px; }
  .page-title { font-size: 2.2rem; }
}