/* Domendomen - Main Styles
   Dark modern palette, clean typography */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --color-bg: #0f1419;
  --color-bg-secondary: #1a2332;
  --color-text: #e8eaed;
  --color-text-muted: #9aa0a6;
  --color-accent: #4fc3f7;
  --color-accent-hover: #29b6f6;
  --color-button: #1565c0;
  --color-button-hover: #0d47a1;
  --color-border: rgba(255,255,255,0.08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

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

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

a:hover {
  color: var(--color-accent-hover);
}

/* Utility */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Burger menu - mobile */
.burger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 992px) {
  .burger-btn {
    display: block;
  }
  
  .nav-menu:not(.open) {
    display: none !important;
  }
  
  .nav-menu.open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-secondary);
    padding: 1rem;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow);
  }
}

/* Popup - hidden by default */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s, opacity 0.2s;
}

.popup-overlay.visible {
  visibility: visible;
  opacity: 1;
}

.popup-box {
  background: var(--color-bg-secondary);
  padding: 2rem;
  border-radius: var(--radius-lg);
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

/* Safe Gaming block */
.safe-gaming {
  padding: 2rem 0;
  background: var(--color-bg-secondary);
}

.safe-gaming .logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
}

.safe-gaming .logos a {
  display: block;
}

.safe-gaming .logos img {
  width: 120px;
  height: 60px;
  object-fit: contain;
  opacity: 0.9;
}

.safe-gaming .logos img:hover {
  opacity: 1;
}
