/*
Theme Name: Criptoapostar
Theme URI: https://criptoapostar.com
Author: Web Developer
Description: Custom Web3 theme with Tailwind CSS
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: criptoapostar
*/

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --color-brand-bg: #121314;
    --color-brand-card: #1c1d1f;
    --color-brand-accent: #7c3aed;
  }
}

header ul,
header li,
footer ul,
footer li,
#mobile-menu ul,
#mobile-menu li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

header ul,
#mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

header a,
footer a,
#mobile-menu a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

header a:hover,
#mobile-menu a:hover,
footer a:hover {
  color: #a78bfa;
}

#mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

#mobile-menu li {
  width: 100%;
}

#mobile-menu li a {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  background-color: #1c1d1f;
  border: 1px solid rgba(63, 63, 70, 0.4);
  border-radius: 1rem;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  tracking: -0.02em;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu li a:hover {
  color: #ffffff;
  background-color: #222426;
  border-color: #7c3aed;
  transform: translateX(4px);
}

#mobile-menu li.current-menu-item a {
  border-color: rgba(124, 58, 237, 0.5);
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.1) 0%, rgba(28, 29, 31, 0) 100%);
}

.prose-crypt {
  color: #a1a1aa;
  font-size: 1rem;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .prose-crypt {
    font-size: 1.125rem;
  }
}

.prose-crypt p {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.prose-crypt h1,
.prose-crypt h2,
.prose-crypt h3,
.prose-crypt h4 {
  color: #ffffff;
  font-weight: 900;
  tracking: -0.03em;
  line-height: 1.25;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.prose-crypt h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); border-bottom: 1px solid rgba(63, 63, 70, 0.3); padding-bottom: 0.5rem; }
.prose-crypt h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
.prose-crypt h4 { font-size: clamp(1.125rem, 2vw, 1.35rem); }

.prose-crypt h1 + *,
.prose-crypt h2 + *,
.prose-crypt h3 + *,
.prose-crypt h4 + * {
  margin-top: 0;
}

.prose-crypt ul,
.prose-crypt ol {
  margin-top: 0;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose-crypt ul {
  list-style-type: none !important;
}

.prose-crypt ul li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
}

.prose-crypt ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background-color: #7c3aed;
  border-radius: 50%;
}

.prose-crypt ol {
  list-style-type: decimal !important;
  counter-reset: item;
}

.prose-crypt ol li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.prose-crypt ol li::marker {
  color: #7c3aed;
  font-weight: 700;
}

.prose-crypt a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(124, 58, 237, 0.6);
  text-underline-offset: 4px;
  transition: all 0.2s ease;
}

.prose-crypt a:hover {
  color: #8b5cf6;
  text-decoration-color: #8b5cf6;
}

.prose-crypt blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: #1c1d1f;
  border-left: 4px solid #7c3aed;
  border-radius: 0 1rem 1rem 0;
  font-style: italic;
  color: #e4e4e7;
}

.prose-crypt blockquote p {
  margin: 0;
}

.prose-crypt img {
  max-width: 100%;
  height: auto;
  border-radius: 1.5rem;
  border: 1px solid rgba(63, 63, 70, 0.4);
  margin: 2rem 0;
}

.prose-crypt strong {
  color: #ffffff;
  font-weight: 700;
}

.crypt-pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.crypt-pagination li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.crypt-pagination a,
.crypt-pagination span.current {
  display: flex;
  align-items: center;
  justify-content: center;
  min-w: 2.75rem;
  height: 2.75rem;
  padding: 0 0.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.crypt-pagination a {
  background-color: #1c1d1f;
  color: #a1a1aa;
  border: 1px solid rgba(63, 63, 70, 0.4);
}

.crypt-pagination a:hover {
  color: #ffffff;
  background-color: #222426;
  border-color: #7c3aed;
}

.crypt-pagination span.current {
  background-color: #7c3aed;
  color: #ffffff;
  border: 1px solid #7c3aed;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}