/*
Theme Name: CryptoZoom
Theme URI: http://cryptozoom.huynhtin.com
Author: HuynhTin
Description: Custom WordPress theme that renders the React single-page experience from CryptoZoom.
Version: 0.1.0
Text Domain: ht
*/

body.font-display {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
}

/* Search button */
[data-toggle-search]:not(.active) .open,
[data-toggle-search].active .close{
    display: none;
}
/* Chat Box CSKH */
.cskh-online-box {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.chat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 242, 0, 1);
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 242, 0, 0.4);
    transition: all 0.3s ease;
}

.chat-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 242, 0, 0.6);
}

.chat-icon__pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: rgb(255, 242, 0, .4);
    animation: cskh-pulse 2s infinite;
}

.chat-icon__pulse--delay {
    animation-delay: 1s;
}

@keyframes cskh-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.cskh-online-box .chat-info-box {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    width: 300px;
    max-width: calc(100vw - 40px);
    border: 1px solid #e0e0e0;
}

.cskh-online-box.active .chat-info-box {
    display: block;
}

.cskh-online-box .chat-info-box .title {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    color: #333;
    font-size: 16px;
    position: relative;
}

.cskh-online-box .chat-info-box .title .btn-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.cskh-online-box .chat-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cskh-online-box .chat-info-box ul li {
    border-bottom: 1px solid #f0f0f0;
}

.cskh-online-box .chat-info-box ul li:last-child {
    border-bottom: none;
}

.cskh-online-box .chat-info-box ul li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s ease;
}

.cskh-online-box .chat-info-box ul li a:hover {
    background: #f8f9fa;
}

.cskh-online-box .chat-info-box ul li a .img-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f2f4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.cskh-online-box .chat-info-box ul li a .img-box .material-symbols-outlined {
    font-size: 18px;
    color: #666;
}

.cskh-online-box .chat-info-box ul li a .info-box p.large {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 2px 0;
    color: #333;
}

.cskh-online-box .chat-info-box ul li a .info-box p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Hero Slider Animations */
[data-hero-layer] {
    transition: opacity 2s ease-in-out; /* Increased duration for smoother fade */
}

[data-hero-layer] img {
    transition: transform 7s ease-in-out;
}

[data-hero-layer]:nth-child(even) img {
    animation: hero-zoom 14s ease-in-out infinite; /* Random zoom for even slides */
}

[data-hero-layer]:nth-child(odd) img {
    animation: hero-zoom-alt 14s ease-in-out infinite; /* Alternate zoom for odd slides */
}

@keyframes hero-zoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@keyframes hero-zoom-alt {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.05); }
    75% { transform: scale(1.1); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (min-width: 1024px) {
  .hero-title {
      line-height: 1.25 !important; /* leading-tight */
  }

  .hero-description {
      line-height: 1.625 !important; /* leading-relaxed */
  }
}
.hero-title {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-description {
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.hero-button {
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

.chat-top-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #0f172a, #1f2937);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.35);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 998;
}

.chat-top-button.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-top-button .material-symbols-outlined {
    font-size: 28px;
}

.go-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section Styles */
.space-y-md > * + * {
  margin-top: 1.5rem;
}

.space-y-sm > * + * {
  margin-top: 0.75rem;
}

.text-body-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

@media (min-width: 1024px) {
  .text-body-lg {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.p-base {
  padding: 1rem;
}

@media (min-width: 1024px) {
  .p-base {
    padding: 2rem;
  }
}

.animate-ken-burns {
  animation: kenburns 25s ease-out infinite alternate;
  transform-origin: center center;
  will-change: transform;
}

@keyframes kenburns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

body.is-locked {
  overflow: hidden;
}

.site-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 80;
}

.site-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 85%;
  max-width: 380px;
  background: #fff;
  z-index: 999999999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-cart,
.drawer-search {
  max-width: 420px;
}

.hero-panel {
  display: none;
  position: relative;
  z-index: 20;
}

.hero-panel.is-active {
  display: block;
}

.hero-dot {
  height: 6px;
  border-radius: 9999px;
  width: 8px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot.is-active {
  width: 32px;
  background: #ffffff;
}

.brand-video-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.brand-video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.brand-video-modal__inner {
  position: relative;
  width: 100%;
  max-width: 960px;
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

.brand-video-modal__frame {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.brand-video-modal__frame iframe {
  width: 100%;
  height: 100%;
}

.brand-video-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.brand-video-modal__close:hover {
  background: #ffffff;
  color: #000000;
}

body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 0;
  }
}

/* Nav menu colors */
.site-header nav a svg,
.drawer nav a svg{
  display: inline-block;
  max-width: 24px;
  max-height: 24px;
  vertical-align: middle;
}
.site-header nav a:hover,
.site-header nav .current-menu-item a,
.drawer nav a:hover,
.drawer nav .current-menu-item a {
  color: #FFF200 !important;
}
.learn-menu .current-menu-item a,
.learn-menu .current-menu-item a span{
  color: #FFF200 !important;
}

body.admin-bar .drawer {
  top: 32px;
  height: calc(100% - 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar .drawer {
    top: 0;
    height: 100%;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.footer-logo {
  display: inline-block;
}

.footer-logo--fallback {
  filter: grayscale(1) brightness(0.75);
}

.drawer[data-drawer="cart"] .variation {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: #475569;
}

.drawer[data-drawer="cart"] .variation dt,
.drawer[data-drawer="cart"] .variation dd {
  display: inline-block;
  margin: 0;
}

.drawer[data-drawer="cart"] .variation dt {
  font-weight: 600;
  margin-right: 0.1rem;
  color: #1f2937;
}
.drawer[data-drawer="cart"] .variation dd + dt {
  margin-left: 0.5rem;
}

.drawer-cart-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.drawer-cart-price {
  font-weight: 700;
  font-size: 1rem;
  color: #1152d4;
}

.drawer-cart-price.is-sale {
  color: #ef4444;
}

.drawer-cart-regular {
  font-size: 0.9rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.drawer-cart-subtotal {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: #475569;
  display: flex;
  gap: 0.3rem;
  align-items: baseline;
}

.drawer-cart-subtotal strong {
  color: #0f172a;
  font-size: 1.05rem;
}

.ht-breadcrumb {
  width: 100%;
  padding: 0;
  margin: 0 0 1.5rem;
  gap: 0.35rem;
}

.ht-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.ht-breadcrumb a:hover {
  color: #0f172a;
}


.ht-page-fullwidth {
  width: 100%;
}


.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.2);  border-radius: 999px;}

.chat-top-button:hover {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    box-shadow: 0 20px 35px rgba(239, 68, 68, 0.4);
    transform: translateY(-3px)
}

[data-hero],
[data-product-track] {
    touch-action: pan-y;
}

[data-product-track] {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

[data-product-track]::-webkit-scrollbar {
    display: none;
}

[data-product-track].is-dragging {
    cursor: grabbing;
}

[data-gallery-main],
.ht-gallery-modal__frame {
    touch-action: pan-y;
}
.nav-links{
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 4px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.page-numbers:hover {
    background-color: rgb(255, 242, 0, 1);
    color: #333;
    border-color: rgb(255, 242, 0, 1);
}
.page-numbers.current {
    background-color: rgb(255, 242, 0, 1);
    color: #333;
    border-color: rgb(255, 242, 0, 1);
    font-weight: bold;
}
.page-numbers.dots {
    background-color: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
}
.page-numbers.prev, .page-numbers.next {
    width: auto;
    padding: 0 12px;
    gap: 8px;
}
.page-numbers svg {
    flex-shrink: 0;
}

/* CryptoZoom specific styles */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glow-yellow {
    box-shadow: 0 0 20px rgba(246, 230, 0, 0.05);
}

/* Animation delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.delay-700 {
    animation-delay: 0.7s;
}

.delay-1000 {
    animation-delay: 1s;
}

@media (max-width: 767px) {
    [data-hero] [data-hero-prev],
    [data-hero] [data-hero-next] {
        display: none;
    }

}

/* Hero Video Play Button */
.hero-play-button {
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero-play-button::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #FFF200, rgba(255, 242, 0, 0.3));
    border-radius: inherit;
    opacity: 0;
    animation: pulse-ring 2s ease-in-out infinite;
}

.hero-play-button:hover::before {
    opacity: 1;
}

.hero-media-container {
    position: relative;
    overflow: hidden;
}

.hero-media {
    transition: opacity 0.3s ease;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 242, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 242, 0, 0.6);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Article Content Typography */
.ht-article-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    text-align: justify;
}

.ht-article-content h1 {
    font-size: 1.75rem;
    font-weight: bold;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    margin-top: 75rem;
}

.ht-article-content h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    margin-top: 1.5rem;
}

.ht-article-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    line-height: 1.3;
    margin-bottom: 1rem;
    margin-top: 1.25rem;
}

.ht-article-content h4 {
    font-size: 1.05rem;
    font-weight: bold;
    color: white;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    margin-top: 1.25rem;
}

.ht-article-content h5 {
    font-size: 1.025rem;
    font-weight: 600;
    color: white;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    margin-top: 1rem;
}

.ht-article-content h6 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.ht-article-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.ht-article-content a {
    color: #FFF200;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ht-article-content a:hover {
    color: rgba(255, 242, 0, 0.8);
    text-decoration: underline;
}

.ht-article-content strong,
.ht-article-content b {
    color: white;
    font-weight: 600;
}

.ht-article-content em,
.ht-article-content i {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.ht-article-content blockquote {
    border-left: 4px solid #FFF200;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.ht-article-content ul,
.ht-article-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.ht-article-content li {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.ht-article-content ul {
    list-style-type: disc;
}

.ht-article-content ol {
    list-style-type: decimal;
}

.ht-article-content img {
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 1.5rem auto;
    max-width: 100%;
    height: auto;
}

.ht-article-content hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.ht-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.5rem;
    overflow: hidden;
}

.ht-article-content th {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-weight: 600;
    padding: 0.75rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ht-article-content td {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.ht-article-content code {
    background: rgba(255, 255, 255, 0.05);
    color: #FFF200;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
}

.ht-article-content pre {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.ht-article-content pre code {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ht-article-content h1 {
        font-size: 1.75rem;
    }

    .ht-article-content h2 {
        font-size: 1.5rem;
    }

    .ht-article-content h3 {
        font-size: 1.25rem;
    }

    .ht-article-content blockquote {
        padding: 0.75rem;
        margin: 1rem 0;
    }

    .ht-article-content table {
        font-size: 0.875rem;
    }

    .ht-article-content th,
    .ht-article-content td {
        padding: 0.5rem;
    }
}

