﻿/* ============================================
   CASINO BANGLADESH — style.css
   Arctic Aurora & Cobalt Edition
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Raleway:ital,wght@0,400;0,600;1,400&display=swap');

/* ---------- Tokens ---------- */
:root {
  --amber:        #5d8bf4; /* Cobalt Blue */
  --amber-glow:   #8ab4f8; /* Light Cobalt */
  --amber-dim:    #2a4b8d; /* Dark Cobalt */
  --emerald:      #00d4aa; /* Arctic Green */
  --emerald-light:#5ef0c2; /* Light Arctic */
  --emerald-dim:  #006a50; /* Dark Arctic */

  --bg-base:      #020a13; /* Deep Space */
  --bg-layer:     #051220; /* Night Sky */
  --bg-glass:     rgba(5, 18, 32, 0.85);
  --bg-card:      #081a2a; /* Ocean Depth */
  --bg-elevated:  #0d2538; /* Twilight */

  --border-soft:  rgba(93, 139, 244, 0.15);
  --border-mid:   rgba(93, 139, 244, 0.30);
  --border-em:    rgba(0, 212, 170, 0.25);

  --txt-base:     #c5d9f1; /* Frost */
  --txt-dim:      #7a9bc8; /* Mist */
  --txt-bright:   #e8f4ff; /* Snow */

  --danger:       #ff5a5a; /* Aurora Red */
  --safe:         #00b88c; /* Forest */

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  22px;

  --glow-amber:   0 0 20px rgba(93, 139, 244, 0.30), 0 0 8px rgba(93, 139, 244, 0.20);
  --glow-em:      0 0 16px rgba(0, 212, 170, 0.25);
  --shadow-card:  0 6px 32px rgba(0, 0, 0, 0.60);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t:    0.32s;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* ---------- Body & Background ---------- */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-base);
  color: var(--txt-base);
  line-height: 1.8;
  min-height: 100vh;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px 72px;

  background-image:
    radial-gradient(ellipse 100% 50% at 50% 0%,   rgba(93,139,244,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 70% 50% at 20% 100%, rgba(0,212,170,0.10) 0%, transparent 70%),
    linear-gradient(
      135deg,
      rgba(5, 18, 32, 0.95) 0%,
      rgba(2, 10, 19, 0.95) 50%,
      rgba(0, 15, 25, 0.95) 100%
    ),
    url('bgcasino.jpg');

  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Raleway', Georgia, serif;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(1.75rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--amber-glow);
  text-shadow: 0 0 32px rgba(93, 139, 244, 0.40), 0 2px 6px rgba(0, 0, 0, 0.9);
}

h2 {
  font-size: clamp(1.3rem, 3.5vw, 2.0rem);
  font-weight: 600;
  color: var(--amber-glow);
  margin: 44px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}
h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald-light), var(--amber));
  border-radius: 2px;
}

h3 {
  font-size: clamp(1.05rem, 3vw, 1.4rem);
  font-weight: 500;
  font-style: italic;
  color: var(--emerald-light);
  margin: 32px 0 12px;
}

h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 10px;
}

p {
  margin-bottom: 1.2rem;
  color: var(--txt-base);
  font-size: 0.98rem;
}

strong {
  color: var(--amber-glow);
  font-weight: 600;
}
em {
  font-style: italic;
  color: var(--txt-dim);
  font-size: 0.94em;
}

/* ---------- Links ---------- */
a {
  color: var(--emerald-light);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 212, 170, 0.30);
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease);
}
a:hover {
  color: var(--amber-glow);
  border-bottom-color: rgba(93, 139, 244, 0.55);
}

/* ---------- Page Header ---------- */
body > h1:first-of-type,
header {
  background: linear-gradient(150deg, #051828 0%, #020e1a 60%, #010812 100%);
  border-bottom: 1px solid var(--border-soft);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: 38px 28px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 -24px 34px;
}

body > h1:first-of-type::before,
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% 0%, rgba(93, 139, 244, 0.15) 0%, transparent 80%);
}

body > h1:first-of-type::after,
header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

/* ---------- Content Cards ---------- */
section,
.section,
.card {
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  margin: 28px 0;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

section::before,
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(144, 204, 255, 0.6), transparent);
}

/* ---------- Paragraph tip blocks ---------- */
p:has(> strong:first-child) {
  background: rgba(0, 212, 170, 0.12);
  border-left: 3px solid var(--emerald-light);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 12px 18px;
  margin: 20px 0;
  font-size: 0.96rem;
}

/* ---------- Lists ---------- */
ul, ol {
  margin: 12px 0 20px;
}

ul {
  list-style: none;
  padding-left: 0;
}
ul li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 10px;
  color: var(--txt-base);
  font-size: 0.97rem;
}
ul li::before {
  content: '❄';
  position: absolute;
  left: 0;
  color: var(--emerald-light);
  font-size: 0.9em;
}

ul ul {
  margin: 8px 0 6px 14px;
}
ul ul li::before {
  content: '⚬';
  color: var(--amber-dim);
  font-size: 1.2em;
  top: -0.1em;
}

ol {
  list-style: none;
  counter-reset: ol-cnt;
  padding-left: 0;
}
ol li {
  counter-increment: ol-cnt;
  position: relative;
  padding-left: 2.4em;
  margin-bottom: 12px;
  color: var(--txt-base);
  font-size: 0.97rem;
}
ol li::before {
  content: counter(ol-cnt);
  position: absolute;
  left: 0;
  width: 1.8em;
  height: 1.8em;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
  color: #fff;
  font-family: 'Raleway', serif;
  font-weight: 600;
  font-size: 0.85em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0.2em;
  box-shadow: 0 3px 10px rgba(0, 212, 170, 0.40);
}

/* ---------- CTA Button ---------- */
.btn,
a.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-light) 70%, var(--amber) 100%);
  background-size: 220% 100%;
  color: #fff !important;
  font-family: 'Raleway', serif;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.07em;
  padding: 14px 34px;
  border-radius: 50px;
  border: none !important;
  border-bottom: none !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-position var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
  box-shadow: 0 5px 24px rgba(0, 212, 170, 0.45);
  text-align: center;
}
.btn:hover,
a.btn:hover {
  background-position: 100% 0%;
  transform: translateY(-3px);
  box-shadow: 0 9px 34px rgba(93, 139, 244, 0.40), var(--glow-em);
}
.btn:active {
  transform: translateY(0);
}

/* ---------- Tables ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
  border-radius: var(--r-md);
  overflow: hidden;
}

thead tr {
  background: linear-gradient(90deg, var(--emerald-dim), #001e2a);
  border-bottom: 2px solid var(--emerald-light);
}
thead th {
  padding: 14px 16px;
  text-align: left;
  color: var(--amber-glow);
  font-family: 'Raleway', serif;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

tbody tr {
  border-bottom: 1px solid rgba(0, 212, 170, 0.12);
  transition: background var(--t) var(--ease);
}
tbody tr:last-child {
  border-bottom: none;
}
tbody tr:hover {
  background: rgba(0, 212, 170, 0.08);
}

tbody td {
  padding: 13px 16px;
  color: var(--txt-base);
  vertical-align: middle;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-md);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  background: rgba(93, 139, 244, 0.14);
  border: 1px solid var(--amber-dim);
  color: var(--amber-glow);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 22px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.badge-green {
  background: rgba(0, 212, 170, 0.14);
  border-color: var(--emerald-light);
  color: var(--emerald-light);
}
.badge-red {
  background: rgba(255, 90, 90, 0.14);
  border-color: var(--danger);
  color: #ff8a8a;
}

/* ---------- Divider ---------- */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
  margin: 38px 0;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: rgba(5, 24, 40, 0.92);
  border: 1px solid var(--border-em);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--t) var(--ease);
}
.faq-item:hover {
  border-color: var(--emerald-light);
}

.faq-item h3 {
  margin: 0;
  padding: 17px 22px;
  font-size: 1rem;
  font-style: normal;
  color: var(--amber);
  cursor: pointer;
}

.faq-item p,
.faq-item ul {
  padding: 0 22px 18px;
}

/* ---------- Steps ---------- */
.steps ol {
  counter-reset: step-cnt;
}

.steps ol li {
  counter-increment: step-cnt;
  background: rgba(5, 24, 40, 0.88);
  border: 1px solid var(--border-em);
  border-radius: var(--r-md);
  padding: 17px 20px 17px 64px;
  margin-bottom: 14px;
  position: relative;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.steps ol li:hover {
  border-color: var(--amber);
  transform: translateX(5px);
}
.steps ol li::before {
  content: counter(step-cnt);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--amber-dim), var(--amber));
  color: #020a13;
  font-family: 'Raleway', serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-amber);
}

/* ---------- Casino Cards ---------- */
.casino-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--amber-dim);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color var(--t) var(--ease), border-left-color var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.casino-card:hover {
  border-color: var(--border-mid);
  border-left-color: var(--amber-glow);
  transform: translateX(6px);
  box-shadow: var(--glow-amber);
}
.casino-card__rank {
  font-family: 'Raleway', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--amber-dim);
  min-width: 32px;
  line-height: 1;
}
.casino-card:hover .casino-card__rank {
  color: var(--amber);
}
.casino-card__body {
  flex: 1;
}
.casino-card__name {
  font-weight: 600;
  color: var(--amber-glow);
  font-size: 1.02rem;
  margin-bottom: 3px;
}
.casino-card__meta {
  font-size: 0.82rem;
  color: var(--txt-dim);
}

/* ---------- Footer ---------- */
footer {
  background: rgba(2, 10, 19, 0.96);
  border-top: 1px solid var(--border-soft);
  padding: 30px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--txt-dim);
  margin: 0 -24px -72px;
}
footer a {
  color: var(--txt-dim);
  border-bottom: none;
  font-weight: 400;
}
footer a:hover {
  color: var(--amber);
  border-bottom: none;
}

.footer-warning {
  background: rgba(255, 90, 90, 0.08);
  border: 1px solid rgba(255, 90, 90, 0.24);
  border-radius: var(--r-sm);
  padding: 13px 20px;
  font-size: 0.8rem;
  color: #c89a9a;
  margin-bottom: 18px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--emerald);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--emerald-light);
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(0, 212, 170, 0.32);
  color: var(--txt-bright);
}

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--emerald-light);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------- INTRO PARAGRAPH ---------- */
body > p:first-of-type,
article > p:first-of-type {
  font-size: 1.06rem;
  color: var(--txt-bright);
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.14) 0%, rgba(93, 139, 244, 0.08) 100%);
  border: 1px solid var(--border-em);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin-bottom: 28px;
}

/* ---------- UTILITY ---------- */
.text-center {
  text-align: center;
}
.text-amber {
  color: var(--amber);
}
.text-green {
  color: var(--emerald-light);
}
.text-dim {
  color: var(--txt-dim);
  font-size: 0.9rem;
}
.mt-1 {
  margin-top: 10px;
}
.mt-2 {
  margin-top: 18px;
}
.mt-3 {
  margin-top: 30px;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-2 {
  margin-bottom: 18px;
}
.mb-3 {
  margin-bottom: 30px;
}
.hidden-mobile {
  display: block;
}
.visible-mobile {
  display: none;
}

/* ---------- RESPONSIVE ---------- */
/* phones <= 480px */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  body {
    padding: 0 16px 54px;
  }
  body > h1:first-of-type,
  header {
    margin: 0 -16px 26px;
    padding: 26px 18px 22px;
    border-radius: 0 0 var(--r-md) var(--r-md);
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.2rem;
    margin-top: 32px;
  }
  h3 {
    font-size: 1.05rem;
  }
  section, .section, .card {
    padding: 20px 18px;
    margin: 20px 0;
    border-radius: var(--r-md);
  }
  p {
    font-size: 0.94rem;
  }
  ul li, ol li {
    font-size: 0.93rem;
  }
  table {
    font-size: 0.8rem;
  }
  thead th, tbody td {
    padding: 9px 10px;
  }
  .casino-card {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
  }
  .casino-card__rank {
    font-size: 1.3rem;
  }
  .btn, a.btn {
    display: block;
    width: 100%;
    padding: 15px 22px;
    font-size: 0.92rem;
  }
  .steps ol li {
    padding-left: 54px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  footer {
    margin: 0 -16px -54px;
    padding: 24px 18px;
  }
  .hidden-mobile {
    display: none;
  }
  .visible-mobile {
    display: block;
  }
}

/* tablets 481–767px */
@media (min-width: 481px) and (max-width: 767px) {
  html {
    font-size: 15.5px;
  }
  body {
    padding: 0 20px 62px;
  }
  body > h1:first-of-type,
  header {
    margin: 0 -20px 30px;
    padding: 30px 22px 24px;
  }
  section, .section {
    padding: 26px 22px;
  }
  .casino-card {
    padding: 16px 18px;
  }
  footer {
    margin: 0 -20px -62px;
  }
}

/* desktop 768px+ */
@media (min-width: 768px) {
  body {
    padding: 0 34px 74px;
  }
  body > h1:first-of-type,
  header {
    margin: 0 -34px 38px;
    padding: 42px 34px 34px;
  }
  section, .section {
    padding: 36px 34px;
    margin: 34px 0;
  }
  .steps ol li:hover {
    transform: translateX(7px);
  }
  .casino-card:hover {
    transform: translateX(8px);
  }
  footer {
    margin: 0 -34px -74px;
  }
}

/* wide 1024px+ */
@media (min-width: 1024px) {
  body {
    max-width: 940px;
    padding: 0 50px 82px;
  }
  body > h1:first-of-type,
  header {
    margin: 0 -50px 42px;
  }
  footer {
    margin: 0 -50px -82px;
  }
}
