:root {
    --primary-red: #e60000;
    --dark-red: #990000;
    --bg-black: #080808;
    --card-bg: #121212;
    --text-white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-black);
    background-image: radial-gradient(circle at 50% -10%, #400000 0%, #080808 70%);
    color: var(--text-white);
    line-height: 1.4;
}

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 12px; }
p {
  margin-bottom: 1em;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

/* Header */
.header {
    height: 60px;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.header-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 22px; font-weight: 900; letter-spacing: -1px; }
.logo span { color: var(--primary-red); }

/* Banner / Hero */
.hero { padding: 40px 0 60px; text-align: center; }
.badge { background: rgba(230, 0, 0, 0.2); color: var(--primary-red); padding: 4px 12px; border-radius: 4px; font-size: 11px; font-weight: 700; border: 1px solid var(--primary-red); margin-bottom: 20px; display: inline-block; }
.hero h1 { font-size: 2.2rem; margin-bottom: 10px; line-height: 1.1; }
.hero p { color: #ccc; font-size: 0.9rem; }

/* KNAPP PLASSERING: Gjort lavere med margin-top */
.cta-box { margin-top: 45px; }

.btn { text-decoration: none; font-weight: 800; border-radius: 4px; transition: 0.2s; display: inline-block; }
.btn-primary { background: var(--primary-red); color: white; padding: 8px 16px; }
.btn-secondary { color: white; padding: 8px 16px; font-size: 14px; }
.btn-large { background: var(--primary-red); padding: 18px 40px; border-radius: 50px; box-shadow: 0 10px 20px rgba(230, 0, 0, 0.3); }

/* Live Wins */
.live-wins { background: #111; padding: 8px 0; border-bottom: 1px solid #1a1a1a; }
.ticker-wrapper { display: flex; gap: 15px; overflow: hidden; }
.ticker-title { color: var(--primary-red); font-weight: bold; font-size: 12px; }
.ticker-content { color: #00ff88; font-size: 12px; }

/* SLOTS GRID: Mindre blokker */
.section-header { display: flex; justify-content: space-between; margin: 25px 0 15px; }
.view-all { color: var(--primary-red); font-size: 12px; text-decoration: none; }

.slots-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 små kolonner på desktop */
    gap: 10px;
}

.slot-card {
    aspect-ratio: 1/1; /* Kvadratiske små kort */
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    position: relative;
    border: 1px solid #1a1a1a;
}

.slot-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.2s; border-radius: 6px; }
.slot-card:hover .slot-overlay { opacity: 1; }
.btn-small { background: var(--primary-red); color: white; padding: 4px 8px; font-size: 10px; }

/* Lister og Tabeller */
ul li { background: var(--card-bg); margin-bottom: 6px; padding: 12px; border-left: 2px solid var(--primary-red); border-radius: 4px; font-size: 14px; }
table { width: 100%; background: var(--card-bg); border-radius: 6px; margin: 15px 0; overflow: hidden; font-size: 14px; }
table th { background: #1a1a1a; color: var(--primary-red); padding: 12px; text-align: left; }
table td { padding: 10px 12px; border-bottom: 1px solid #1a1a1a; }

/* Footer */
.footer { padding: 30px 0; text-align: center; border-top: 1px solid #1a1a1a; margin-top: 40px; }
.footer-logos { color: #555; font-size: 12px; margin-bottom: 10px; }
.disclaimer { font-size: 10px; color: #444; margin: 10px 0; }
.license-box { font-size: 10px; color: #333; }

/* Mobil App Tilpasning */
@media (max-width: 768px) {
    .slots-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 480px) {
    .slots-grid { grid-template-columns: repeat(3, 1fr); } /* 3 små i bredden på mobil */
    .hero h1 { font-size: 1.7rem; }
    .btn-large { width: 100%; padding: 15px; }
}
/* Применяем ко всем указанным элементам */
p, h2, ul, ol, table {
  /* Отступы: 0 сверху/снизу, 20px (или 5%) слева и справа */
  margin-left: 20px;
  margin-right: 20px;
  
  /* Гарантируем, что элементы не будут шире экрана */
  max-width: calc(100% - 40px); 
}

/* Специфические настройки для списков */
ul, ol {
  /* Дополнительный внутренний отступ, чтобы маркеры (точки/цифры) 
     не выходили за пределы основного текста */
  padding-left: 20px; 
}

/* Специфические настройки для таблиц */
table {
  border-collapse: collapse;
  /* Убираем автоматическое растягивание, если данных мало */
  width: calc(100% - 40px); 
}