/*
Theme Name: hkdar
Author: hkdar
Description: Custom Live Sports Theme
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
  --body-bg: #f9fbfd;
  --primary-color: #dc3545;
  --font-family: 'Inter', sans-serif;
}

body {
  background: var(--body-bg);
  font-family: var(--font-family);
  margin: 0 !important;
  padding: 0 !important;
  color: #333;
  line-height: 1.6;
}

/* FULL SCREEN - NO SPACES ANYWHERE */

html,
body {
  height: 100%;
  /* overflow-x: hidden; */
}

#outer-wrapper,
#content,
#main-wrapper,
.content-outer,
.content-inner,
.region-inner,
.main-inner,
.container,
main,
.post,
.post-body {
  /* width: 100vw !important; */
  max-width: none !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.tabs-outer,
.section,
.widget,
.header-outer {
  margin: 0 !important;
  padding: 0 !important;
}


/* Content styling */
h1,
h2,
h3 {
  font-weight: 800;
  margin: 1.5rem 0;
  line-height: 1.2;
}

p {
  font-size: 1.1rem;
  margin: 1rem 0;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: #fff !important;
  padding: 1.4rem 4rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.6rem;
  box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
  margin: 2rem 0;
}

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

/* Full bleed hero image */
.post-body>img:first-of-type {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: none;
}

:root {
  --primary: #e11d48;
  --blue: #2563eb;
  --success: #10b981;
  --bg: #f4f6fb;
  --text: #0f172a;
  --muted: #6b7280;
  --card: #ffffff;
  --radius: 22px;
  --container-max: 1280px;
}

body.dark {
  --bg: #0b1220;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --card: #111827;
}

body.dark .faq-question {
  color: #e5e7eb
}

body.dark .faq-answer {
  color: #cbd5f5
}

* {
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  transition: .3s all
}

/* CENTRAL CONTAINER - RESPONSIVE CORE */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.icon-btn {
  width: 40px;
  height: 40px;
  font-size: 22px;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.brand {
  font-size: 20px;
  font-weight: 900;
  color: var(--text)
}

/* Notification Red Dot */
#notificationBtn::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 9px;
  height: 9px;
  background: #ff3b5c;
  border-radius: 50%;
  border: 2px solid var(--card);
  box-sizing: border-box;
}

/* FIXED HEADER ICONS COLOR */
.icon-btn svg {
  stroke: var(--text) !important;
  transition: stroke 0.3s ease;
}

/* LIVE POSTER - RESPONSIVE */
.live-poster {
  position: relative;
  height: 230px;
  border-radius: 26px;
  overflow: hidden;
  background: url('https://hkdar.com/wp-content/uploads/2026/02/t20.jpg') center/cover;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  margin: 0 4px;
}

@media (min-width: 768px) {
  .live-poster {
    height: 320px;
    border-radius: 32px;
    margin: 24px 0;
  }
}

@media (min-width: 1024px) {
  .live-poster {
    height: 420px;
  }
}

.live-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .9));
}

.live-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 2;
}

.poster-content {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;
  color: #fff;
}

.poster-content h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
}

.poster-content p {
  margin: 8px 0 14px;
  font-size: 14px;
  opacity: .9;
}

.poster-content button {
  background: var(--primary);
  border: none;
  color: #fff;
  font-weight: 800;
  padding: 14px 22px;
  border-radius: 16px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .poster-content h2 {
    font-size: 28px;
  }

  .poster-content p {
    font-size: 16px;
  }

  .poster-content button {
    padding: 16px 28px;
    font-size: 16px;
  }
}

/* MAIN */
main {
  padding: 12px 8px 24px;
}

@media (min-width: 768px) {
  main {
    padding: 24px 16px 48px;
  }
}

/* ADS FIXED FOR VISIBILITY */
.ad-section {
  display: flex;
  justify-content: center;
  margin: 22px 0
}

.ad-banner {
  width: 728px;
  height: 90px;
  max-width: 100%;
  border-radius: 14px;
  overflow: hidden;
}

body.dark .ad-banner {
  background: rgba(255, 255, 255, .03);
}

@media (min-width: 768px) {
  .ad-section {
    margin: 32px 0;
  }
}

/* EXPLORE */
.section-title {
  font-size: 20px;
  font-weight: 900;
  margin: 24px 0 14px;
  color: var(--text)
}

.tabs {
  display: flex;
  background: #eef1f7;
  border-radius: 999px;
  padding: 6px;
  gap: 6px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto
}

body.dark .tabs {
  background: #1e293b
}

.tab-btn {
  flex: 1;
  border: none;
  padding: 10px 0;
  border-radius: 999px;
  font-weight: 800;
  background: transparent;
  color: var(--muted);
  cursor: pointer
}

.tab-btn.active {
  background: var(--primary);
  color: #fff
}

.tab-content {
  display: none;
  margin-top: 16px
}

.tab-content.active {
  display: block
}

.explore-card {
  background: var(--card);
  border-radius: 26px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
  margin: 0 4px
}

.team img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
}

.match-info {
  text-align: center
}

.match-info h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900
}

.match-info p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 14px
}

.watch-live,
.remind {
  border: none;
  color: #fff;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: all .4s ease;
}

.watch-live {
  background: var(--primary)
}

.remind {
  background: var(--blue)
}

.remind.done {
  background: var(--success) !important;
  transform: scale(1.05)
}

.remind.update {
  background: linear-gradient(135deg, #3b82f6, #6366f1) !important
}

.btn-icon {
  width: 18px;
  height: 18px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}

.matches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Mobile gap */
@media (min-width: 768px) {
  .matches-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
  }

  .explore-card {
    padding: 28px;
    margin: 0;
    border-radius: 32px;
  }

  .team img {
    width: 64px;
    height: 64px;
  }

  .match-info h3 {
    font-size: 21px;
  }

  .watch-live,
  .remind {
    padding: 14px 26px;
    font-size: 15px;
  }

  .section-title {
    font-size: 24px;
    margin: 32px 0 16px;
  }
}

@media (max-width: 767px) {
  .explore-card {
    margin-bottom: 16px;
  }
}

/* TOOLS */
.tools-section {
  text-align: center;
  margin: 48px 0;
  position: relative
}

.tools-desc {
  color: var(--muted);
  font-size: 14px;
  max-width: 460px;
  margin: 0 auto 22px
}

.tools-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 12px 0 28px;
  scroll-snap-type: x mandatory
}

.tools-carousel::-webkit-scrollbar {
  display: none
}

.tools-card {
  background: var(--card);
  border-radius: 28px;
  padding: 16px;
  min-width: 290px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  scroll-snap-align: center;
  text-align: left;
  transition: transform .35s ease, box-shadow .35s ease;
}

.tools-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}

.tools-image {
  position: relative
}

.tools-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .4));
  border-radius: 22px;
  pointer-events: none;
}

.tools-image img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 22px
}

.tool-title {
  margin: 16px 0 6px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--text)
}

.tool-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px
}

.visit-btn {
  width: 100%;
  background: linear-gradient(135deg, #2563eb, #6366f1);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .3px;
  cursor: pointer
}

@media (min-width: 768px) {
  .tools-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .tools-card {
    min-width: auto;
  }

  .tools-image img {
    height: 200px;
  }

  .tool-title {
    font-size: 20px;
  }

  .tool-desc {
    font-size: 15px;
  }

  .visit-btn {
    padding: 16px;
  }
}

/* FAQ */
.faq-section {
  margin-top: 36px
}

.faq-item {
  background: var(--card);
  border-radius: 20px;
  margin: 0 4px 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .07);
  overflow: hidden
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  text-align: left
}

.faq-question::after {
  content: '';
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23052c65'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") center/20px no-repeat;
  transition: transform .25s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg)
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: var(--muted);
  transition: max-height .35s, padding .35s
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 20px 18px
}

@media (min-width: 768px) {
  .faq-section {
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .faq-item {
    margin: 0 0 16px;
    border-radius: 24px;
  }

  .faq-question {
    padding: 20px 24px;
    font-size: 16px;
  }

  .faq-answer {
    font-size: 15px;
  }

  .faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 300px;
  }
}

/* JOIN TELEGRAM */
.join-telegram {
  margin: 24px 4px 0;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  border-radius: 26px;
  padding: 28px 20px;
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 50px rgba(37, 99, 235, .35);
}

@media (min-width: 768px) {
  .join-telegram {
    margin: 40px 0 0;
    padding: 40px 32px;
    border-radius: 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .join-telegram h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .join-telegram p {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .join-telegram a {
    padding: 16px 32px;
    font-size: 16px;
  }
}

/* FOOTER */
footer {
  background: #020617;
  color: #e5e7eb;
  padding: 18px 16px 90px;
  margin-top: 16px;
  text-align: center
}

@media (min-width: 768px) {
  footer {
    padding: 24px 16px;
    margin-top: 40px;
  }
}

/* BOTTOM NAV */
nav {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
  border-radius: 26px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 14px 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
  z-index: 50;
  max-width: 480px;
  width: calc(100% - 16px)
}

body.dark nav {
  background: linear-gradient(180deg, #111827, #1e293b)
}

nav button {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 16px;
  transition: background .3s
}

nav button:hover {
  background: rgba(0, 0, 0, .08)
}

body.dark nav button:hover {
  background: rgba(255, 255, 255, .08)
}

@media (min-width: 768px) {
  nav {
    bottom: 24px;
    padding: 16px 32px;
    max-width: 600px;
  }

  nav button {
    gap: 8px;
    font-size: 13px;
    padding: 10px 16px;
  }

  nav svg {
    width: 28px;
    height: 28px;
  }
}

/* SIDE MENU DRAWER */
#sideMenu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: var(--card);
  box-shadow: 10px 0 30px rgba(0, 0, 0, .15);
  z-index: 1000;
  transition: left .35s ease;
  display: flex;
  flex-direction: column;
}

#sideMenu.active {
  left: 0;
}

.menu-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: var(--card);
}

.menu-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--text)
}

#closeMenu {
  border: none;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
  color: var(--muted)
}

.menu-list {
  flex: 1;
  padding: 16px 0;
  overflow-y: auto;
}

.menu-section-title {
  padding: 12px 24px 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-item {
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.menu-item:hover {
  background: rgba(0, 0, 0, .05);
}

body.dark .menu-item:hover {
  background: rgba(255, 255, 255, .05);
}

.menu-item svg {
  stroke: currentColor;
  opacity: 0.8;
}

/* Remove arrow from all external items for clean look */
.menu-item.external::after {
  content: none;
}

@media (min-width: 1024px) {
  #sideMenu {
    width: 360px;
    left: -360px;
  }

  .menu-header {
    padding: 24px;
  }

  .menu-header h3 {
    font-size: 20px;
  }

  .menu-section-title {
    font-size: 15px;
  }

  .menu-item {
    padding: 18px 28px;
    font-size: 17px;
  }
}

/* NOTIFICATION PANEL */
#notificationPanel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--card);
  box-shadow: -10px 0 30px rgba(0, 0, 0, .15);
  z-index: 1000;
  transition: right .35s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#notificationPanel.active {
  right: 0;
}

.notif-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: var(--card);
  position: sticky;
  top: 0;
  z-index: 2;
}

.notif-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--text)
}

#closeNotif {
  border: none;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
  color: var(--muted)
}

.notif-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}

.notification-item {
  background: var(--card);
  margin: 12px 16px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
  transition: transform .25s;
}

.notification-item:hover {
  transform: translateY(-4px)
}

.notif-banner {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  display: block;
}

.notif-content {
  padding: 16px;
}

.notif-title {
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 8px;
  color: var(--text);
}

.notif-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.check-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
}

@media (min-width: 768px) {
  #notificationPanel {
    max-width: 480px;
  }

  .notif-header {
    padding: 24px;
  }

  .notif-header h3 {
    font-size: 20px;
  }

  .notification-item {
    margin: 16px;
    border-radius: 22px;
  }

  .notif-title {
    font-size: 18px;
  }

  .notif-desc {
    font-size: 15px;
  }

  .check-btn {
    padding: 12px 24px;
  }
}

/* CHAT SUPPORT MODAL */
#chatModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  transition: opacity .3s;
  backdrop-filter: blur(5px)
}

#chatModal.active {
  display: flex
}

.chat-container {
  background: var(--card);
  border-radius: 26px 26px 0 0;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .2);
  animation: slideUp .3s ease
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px
}

.chat-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--text)
}

#closeChat {
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 300
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  background: #f1f5f9;
  border-radius: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

body.dark .chat-messages {
  background: #1e293b
}

.bot-msg {
  background: var(--blue);
  color: #fff;
  padding: 12px 18px;
  border-radius: 18px 18px 18px 4px;
  align-self: flex-start;
  max-width: 85%;
  font-size: 14.5px;
  line-height: 1.4
}

.user-msg {
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: 18px 18px 4px 18px;
  align-self: flex-end;
  max-width: 85%;
  font-size: 14.5px;
  line-height: 1.4
}

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  justify-content: flex-end
}

.option-btn {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: .2s
}

.option-btn:hover,
.option-btn:active {
  background: var(--primary);
  color: #fff
}

.chat-input {
  display: flex;
  gap: 8px;
  margin-top: auto
}

#userInput {
  flex: 1;
  background: var(--card);
  border: 1.5px solid var(--muted);
  padding: 14px 18px;
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  outline: none
}

#sendBtn {
  border: none;
  background: var(--blue);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px
}

.action-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  margin-top: 10px;
  font-size: 14px;
  display: inline-block;
  text-decoration: none
}

@media (min-width: 768px) {
  #chatModal {
    align-items: center;
  }

  .chat-container {
    border-radius: 26px;
    max-width: 540px;
    padding: 32px;
    max-height: 90vh;
    animation: none;
  }

  .chat-header h3 {
    font-size: 20px;
  }

  .bot-msg,
  .user-msg {
    font-size: 15px;
    padding: 14px 20px;
  }

  .option-btn {
    padding: 12px 20px;
    font-size: 15px;
  }

  #userInput {
    padding: 16px 20px;
    font-size: 15px;
  }

  #sendBtn {
    padding: 16px 24px;
    font-size: 15px;
  }

  .action-btn {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* LEGAL DISCLAIMER MODAL */
#legalModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(5px)
}

#legalModal.active {
  display: flex
}

.legal-container {
  background: var(--card);
  border-radius: 26px;
  width: 90%;
  max-width: 500px;
  padding: 28px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
  text-align: center;
  position: relative
}

.legal-container h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 900;
  color: var(--text)
}

.legal-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
  opacity: .95;
  margin-bottom: 24px
}

#closeLegal {
  border: none;
  background: transparent;
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  cursor: pointer;
  color: var(--muted)
}

@keyframes slideUp {
  from {
    transform: translateY(100%)
  }

  to {
    transform: translateY(0)
  }
}