/* -----------------------------------
   Fonts
----------------------------------- */
@font-face {
  font-family: 'Regarn';
  src: url('../fonts/regarn/Regarn-Light.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/Poppins-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}


:root {
  --font-heading: 'Poppins', serif;
  --font-body: 'Poppins', sans-serif;
  --font-regarn: 'Regarn', serif;
}

/* Apply */
body {
  font-family: var(--font-body);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}
h1 {
    font-size: 48px;
    font-weight: 600;
}
p{
    font-size: 16px;
    line-height: 1.1;
    font-weight: 400;
}

.regarn {
  font-family: var(--font-regarn);
}

/* -----------------------------------
   Modern GitHub-like Buttons (Slim, Clean Look)
----------------------------------- */
.btn {
  font-family: var(--font-body);
  font-size: 0.875rem;       /* smaller, clean */
  font-weight: 500;
  line-height: 1.4;
  padding: 0.35rem 0.85rem;  /* slim */
  border-radius: 0.375rem;   /* subtle rounding */
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05); /* subtle shadow */
}



.btn:active {
  background-color: #e5e7eb;
  border-color: #9ca3af;
  transform: translateY(1px);
  -webkit-transform: translateY(1px);
  -moz-transform: translateY(1px);
  -ms-transform: translateY(1px);
  -o-transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}


/* Small + Large versions */
.btn-sm {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.6rem 1.25rem;
}




  .pyzit-hero {
    min-height: 65vh;
    overflow: hidden;
    position: relative;
  }

  /* Gradient text effect */
  .gradient-text {
    background: linear-gradient(90deg, #754ffe, #8e5bff, #5a3efc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

 

  /* Floating blurred circles (Apple-style depth) */
  .pyzit-hero::before,
  .pyzit-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.4;
  }

  .pyzit-hero::before {
    width: 300px;
    height: 300px;
    background: #754ffe;
    top: 10%;
    left: -10%;
  }

  .pyzit-hero::after {
    width: 350px;
    height: 350px;
    background: #8e5bff;
    bottom: -10%;
    right: -10%;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .display-4 {
      font-size: 2rem;
    }
    .lead {
      font-size: 1rem;
    }
    .pyzit-hero {
      padding: 4rem 1rem;
    }
  }

  /* === GLOBAL TABLE RESPONSIVENESS FIX === */

/* Ensure all tables remain single-line and scroll smoothly on mobile */
.table {
  white-space: nowrap !important; /* prevent line wrapping */
  min-width: 600px; /* ensure structure consistency */
}

/* Make all .table-responsive containers actually scroll on small screens */
.table-responsive {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* Optional: slightly smaller text on very small devices */
@media (max-width: 576px) {
  .table th,
  .table td {
    font-size: 0.85rem !important;
  }
}


/* =========================== RADEEEM ===================== */

/* ============================================
   REDEEM TOKEN CARD — Scoped Component Styles
   ============================================ */


/* emblem (left icon) */
.redeem-token-card .redeem-token-emblem {
  width: 40px;
  height: 40px;
  box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.05);
}

/* shell container */
.redeem-token-card .redeem-token-shell {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.75rem;
  padding: 6px;
  transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

/* focus-within subtle glow */
.redeem-token-card .redeem-token-shell:focus-within {
  border-color: rgba(33, 37, 41, 0.15);
  box-shadow: 0 0 0 0.25rem rgba(33, 37, 41, 0.05);
}

/* chip area */
.redeem-token-card .redeem-token-chip-area {
  width: 66px;
  min-width: 66px;
  border-right: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 0.6rem 0 0 0.6rem;
}

.redeem-token-card .redeem-token-chip {

}

/* action area */
.redeem-token-card .redeem-token-action {
  border-left: 1px solid rgba(0, 0, 0, 0.03);
  padding: 6px;
  min-width: 120px;
}

/* button refinement */
.redeem-token-card .btn {
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(17, 24, 39, 0.06);
  transition: transform 0.1s ease;
}

.redeem-token-card .btn:hover {
  transform: translateY(-1px);
}

/* input refinement */
.redeem-token-card .form-control:focus {
  box-shadow: none !important;
}

/* mobile responsive */
@media (max-width: 576px) {
  .redeem-token-card .redeem-token-shell {
    flex-direction: column;
    padding: 10px;
  }

  .redeem-token-card .redeem-token-chip-area {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.6rem 0.6rem 0 0;
  }

  .redeem-token-card .redeem-token-action {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 10px;
    min-width: auto;
  }

  .redeem-token-card .btn {
    width: 100%;
  }

  .redeem-token-card .form-text {
    text-align: center;
  }
}

/* ========= Blog Content =============== */

/* Base styling for both themes */
.ckeditor-content {
  line-height: 1.75;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  color: var(--bs-body-color);
}

/* Responsive images */
.ckeditor-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.25rem auto;
  border-radius: 8px;
  object-fit: contain;
}

/* Responsive tables */
.ckeditor-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}

.ckeditor-content th, 
.ckeditor-content td {
  border: 1px solid var(--bs-border-color);
  padding: 0.75rem;
  text-align: left;
}

.ckeditor-content pre, 
.ckeditor-content code {
  background: var(--bs-tertiary-bg);
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  font-size: 0.9rem;
}

/* Fix black text from CKEditor inline styles */
[data-theme="dark"] .ckeditor-content *[style*="color:rgb(0,0,0)"],
[data-theme="dark"] .ckeditor-content *[style*="color:hsl(0, 0%, 0%)"],
[data-theme="dark"] .ckeditor-content *[style*="color:#000"],
[data-theme="dark"] .ckeditor-content *[style*="color:black"] {
  color: var(--bs-light) !important;
}

/* Optional: Make iframe, embeds, and videos responsive */
.ckeditor-content iframe,
.ckeditor-content video {
  max-width: 100%;
  display: block;
  margin: 1rem auto;
  border-radius: 8px;
}

/* Muted tone for dark theme paragraphs */
[data-theme="dark"] .ckeditor-content p {
  color: rgba(255,255,255,0.88);
}


