:root {
  --bg-dark: #111217;
  --bg-darker: #080812;
  --accent: #ffeb3b;
  --accent-hover: #ff6699;
  --text: #e0e0ff;
  --text-light: #a0a0cc;
  --border: #222244;
}
body {
    font-family: 'Roboto', 'Segoe UI', system-ui, sans-serif;
    font-weight: 400;
    background-color: #111217;
    color: #e0e0ff;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
.container {
    max-width: 1200px;
    margin: 100px auto 0;
    padding: 20px;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #080812;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222244;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.bdm-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    background: #0d0d1a;
    padding: 10px 5%;
    border-bottom: 1px solid #222244;
    position: sticky;
    top: 65px;
    z-index: 900;
}
.bdm-nav a {
    color: #d0d0f0;
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 4px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.2s, background 0.2s;
}
.bdm-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.bdm-nav a.active {
    color: var(--accent);
    font-weight: 700;
}
@media (max-width: 600px) {
    .bdm-nav {
        position: sticky;
        top: 135px;
        padding: 8px 3%;
    }
    .bdm-nav a {
        font-size: 1rem;
        padding: 5px 11px;
    }
}
h1 {
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    margin: 0;
    font-size: 2.5em;
    color: var(--accent);
    word-break: break-word;
}
.bdm-auth-buttons a {
    padding: 10px 20px;
    margin-left: 12px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
    font-size: inherit;
}
#signup {
    background: #f3dc25;
    color: #111217;
    text-transform: uppercase;
}
#signup:hover {
    background: #f07008;
}
#login {
    background: #333355;
    color: white;
    text-transform: uppercase;
}
#login:hover {
    background: #444466;
}
.logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.bdm-article a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.bdm-article a:hover {
    color: var(--accent-hover);
}
main {
    padding-top: 120px;
    padding-bottom: 80px;
}
.bdm-bonus-box {
  display: block;
  border: 2px solid #663399;
  border-radius: 16px;   
  margin-bottom: 60px;
  box-shadow: 0 10px 30px rgba(120, 0, 255, 0.15); 
}
.bdm-bonus-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.bdm-bonus-title {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 600;
}
.bdm-bonus-spins {
  font-size: 2.2rem;
  color: #ffeb3b;
  margin-bottom: 30px;
  font-weight: 600;
}
.bdm-get-bonus {
  display: inline-block;
  background: var(--accent);
  color: #111217;
  padding: 18px 60px;
  font-size: 1.4rem;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.4);
  transition: all 0.3s;
}
.bdm-get-box {
    text-align: center;
    margin: 4rem 0;
}
.bdm-get-box .bdm-get {
  display: inline-block;
  background: var(--accent);
  color: #111217;
  padding: 18px 60px;
  font-size: 1.4rem;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.4);
  transition: all 0.3s;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 1px solid #222244;
}
table, th, td {
    border: 1px solid #222244;
}
th, td {
    padding: 10px;
    text-align: left;
}
th {
    background-color: #1a1a2e;
}
.section {
    margin-bottom: 40px;
}
.section h2 {
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    color: #fff;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
    word-break: break-word;
}
.bdm-faq h2 {
    margin-bottom: 1rem;
}
.bdm-faq details {
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--accent);
    border-radius: 0 10px 10px 0;
    background: linear-gradient(90deg, rgba(255, 235, 59, 0.08) 0%, rgba(20, 20, 38, 0.9) 55%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}
.bdm-faq details summary {
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 13px 18px 13px 14px;
    cursor: pointer;
    list-style: none;
    word-break: break-word;
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 10px;
}
.bdm-faq details summary::-webkit-details-marker {
    display: none;
}
.bdm-faq details summary::before {
    content: '▶';
    font-size: 0.65em;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.bdm-faq details[open] summary::before {
    transform: rotate(90deg);
}
.bdm-faq details p {
    border-left: none;
    margin: 0;
    padding: 0 18px 14px 42px;
}
.bdm-faq h3 {
    font-family: 'Montserrat', 'Arial Black', sans-serif;
    color: var(--accent);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 1.5rem 0 0.6rem;
    padding: 14px 18px;
    background: linear-gradient(90deg, rgba(255, 235, 59, 0.12) 0%, rgba(20, 20, 38, 0.95) 45%);
    border-left: 4px solid var(--accent);
    border-radius: 0 10px 10px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    word-break: break-word;
    line-height: 1.35;
}
.bdm-faq h2 + h3 {
    margin-top: 0.75rem;
}
.bdm-faq h3 strong {
    font-weight: inherit;
    color: inherit;
}
.bdm-faq p {
    margin: 0 0 1.25rem;
    padding: 0 4px 0 8px;
    color: var(--text);
    border-left: 2px solid var(--border);
    margin-left: 2px;
}
.bdm-faq p:last-child {
    margin-bottom: 0;
}
.bdm_payments {
    text-align: center;
    margin: 80px 0 60px;
}
.bdm_payments h3 {
    font-size: 1.8rem;
    margin-bottom: 35px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-break: break-word;
}
.bdm-bdm_payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}
.icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #1e1e3a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.icon-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
footer {
    background-color: #080812;
    color: #777799;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #222244;
}
.bdm-gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}
.bdm-gallery {
    --gap: 12px;
    --min-size: 180px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--min-size), 1fr));
    gap: var(--gap);
    padding: var(--gap);
}
.bdm-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #1a1a2e;
    aspect-ratio: 308 / 164;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bdm-gallery-item:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(255, 51, 102, 0.25);
}
.bdm-gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.bdm-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}
.bdm-gallery-item:hover img {
    transform: scale(1.08);
}
img.lazy {
    opacity: 0;
    transition: opacity 0.4s ease;
}
img.lazy.loaded {
    opacity: 1;
}
@media (max-width: 900px) {
    .bdm-gallery {
    --min-size: 160px;
    --gap: 10px;
    }
}
@media (max-width: 600px) {
    .bdm-gallery {
    --min-size: 140px;
    --gap: 8px;
    }
    header{
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
}
@media (max-width: 400px) {
    .bdm-nav {
        top: 0;
    }
    .bdm-gallery {
    --min-size: 120px;
    }
    .bdm-auth-buttons{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    header{
        position: sticky;
    }
    .container{
        margin: 25px auto;
    }
}
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    header h1 {
        font-size: 2em;
    }
    .icon-wrapper {
        width: 65px;
        height: 65px;
    }
    .icon-wrapper img {
        max-width: 60%;
        max-height: 60%;
    }
}

@media screen and (max-width: 620px) {
  table, thead, tbody, th, td, tr { display: block; }
  thead tr { position: absolute; top: -9999px; left: -9999px; }
  tr { border: 1px solid #ccc; margin-bottom: 5px; }
  td { border: none; position: relative; padding-left: 50%; }
  td:before { position: absolute; left: 6px; content: attr(data-label); }
    .bdm-get-bonus,
    .bdm-get-box .bdm-get{
        padding: 14px 20px;
    }

}