/*
Theme Name: Virtual Fans
Theme URI: https://virtualfans.com.br
Author: Virtual Fans
Author URI: https://virtualfans.com.br
Description: Tema WordPress imersivo com suporte a VR, AI, Swiper 3D, GSAP e suporte nativo a i18n.
Version: 1.0.0
Text Domain: virtual-fans
*/

/* --- Custom Theme Styles --- */
.font-bold {
  font-weight: 500 !important;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-card {
  background: rgba(53, 53, 52, 0.4);
  backdrop-filter: blur(20px);
}

.glow-primary {
  box-shadow: 0 0 40px rgba(255, 146, 0, 0.1);
}

.text-glow {
  text-shadow: 0 0 12px rgba(255, 146, 0, 0.5);
}

.typing-effect::after {
  content: "|";
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

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

.swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.casesSwiper .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 380px;
  height: 520px;
  filter: blur(4px) grayscale(0.8);
  transition: all 0.5s ease;
}

@media (max-width: 768px) {
  .casesSwiper .swiper-slide {
    width: 300px;
    height: 420px;
  }
}

@media (max-width: 480px) {
  .casesSwiper .swiper-slide {
    width: 250px;
    height: 350px;
  }
}

.casesSwiper .swiper-slide-active {
  filter: blur(0) grayscale(0);
  scale: 1.1;
}

.partnersSwiper .swiper-slide {
  height: auto !important;
  filter: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hologram-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.hologram-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, transparent 0%, rgba(255, 146, 0, 0.05) 50%, transparent 100%);
  animation: scan 3s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.swiper-pagination-bullet {
  width: 40px;
  height: 3px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.2) !important;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #FF9200 !important;
  box-shadow: 0 0 10px #FF9200;
}

@media (max-width: 768px) {
  .swiper-pagination {
    display: none !important;
  }
}

.swiper-button-next,
.swiper-button-prev {
  width: 50px !important;
  height: 50px !important;
  border: 1px solid rgba(255, 146, 0, 0.3);
  border-radius: 50%;
  color: #FF9200 !important;
  backdrop-filter: blur(10px);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px !important;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #FF9200;
  color: #000 !important;
  box-shadow: 0 0 20px #FF9200;
}

.case-glow-cbv {
  box-shadow: 0 0 60px rgba(255, 146, 0, 0.15);
  border-color: rgba(255, 146, 0, 0.3) !important;
}

.hero-glow-text {
  text-shadow: 0 0 20px rgba(255, 146, 0, 0.8), 0 0 40px rgba(255, 146, 0, 0.4);
}

#metaverse-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 146, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 146, 0, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  perspective: 1000px;
  transform: rotateX(60deg) translateY(-20%);
  transform-origin: top;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.visor-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.8) 120%);
  pointer-events: none;
  z-index: 5;
}

.digital-grain {
  position: absolute;
  inset: 0;
  background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
  opacity: 0.03;
  pointer-events: none;
  z-index: 6;
}

.hud-bracket {
  position: relative;
  transition: all 0.5s ease;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.hud-bracket:hover {
  background: rgba(255, 146, 0, 0.05);
  border-color: rgba(255, 146, 0, 0.2);
}

.hud-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: rgba(255, 146, 0, 0.5);
  opacity: 0.6;
}

.lang-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-group:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.burger-line {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.burger-active .line-1 {
  transform: translateY(8px) rotate(45deg);
}

.burger-active .line-2 {
  opacity: 0;
  transform: translateX(20px);
}

.burger-active .line-3 {
  transform: translateY(-8px) rotate(-45deg);
}

#fullscreen-menu {
  clip-path: circle(0% at 95% 5%);
  transition: clip-path 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

#fullscreen-menu.menu-active {
  clip-path: circle(150% at 95% 5%);
  pointer-events: all !important;
}

.nav-link-item {
  opacity: 0;
  transform: translateY(30px);
}

:root {
  --font-scale: 100%;
}

html {
  font-size: var(--font-scale);
  transition: font-size 0.3s ease;
}

.high-contrast {
  filter: contrast(1.2) brightness(1.1);
}

.high-contrast body {
  background: #000 !important;
  color: #fff !important;
}

.high-contrast .glass-card {
  background: rgba(0,0,0,0.9) !important;
  border: 2px solid #fff !important;
}

.high-contrast .text-on-surface-variant {
  color: #fff !important;
  opacity: 0.9;
}

.accessibility-widget {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1000;
}

.acc-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  left: 100%;
  top: 50%;
  margin-left: 0.5rem;
  transform: translateY(-50%) translateX(-10px);
}

.acc-active .acc-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* --- Single Post Rich Text Entry Content Formatting --- */
.entry-content {
  color: #dfc0b6;
  font-size: 1.125rem;
  line-height: 1.8;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content strong,
.entry-content b {
  color: #ffffff;
  font-weight: 700;
}

.entry-content em,
.entry-content i {
  font-style: italic;
  color: #e5e2e1;
}

.entry-content u {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #FF9200;
}

.entry-content s,
.entry-content strike,
.entry-content del {
  text-decoration: line-through;
  opacity: 0.7;
}

/* Headings in Post Body */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: 'Bebas Neue', sans-serif;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.entry-content h1 { font-size: 2.5rem; border-bottom: 1px solid rgba(255, 146, 0, 0.2); padding-bottom: 0.5rem; }
.entry-content h2 { font-size: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 0.5rem; }
.entry-content h3 { font-size: 1.65rem; color: #FF9200; }
.entry-content h4 { font-size: 1.35rem; }

/* Lists (Unordered & Ordered) */
.entry-content ul {
  list-style-type: disc;
  padding-left: 1.75rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  space-y: 0.5rem;
}

.entry-content ol {
  list-style-type: decimal;
  padding-left: 1.75rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  space-y: 0.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
  color: #e5e2e1;
}

.entry-content li::marker {
  color: #FF9200;
}

/* Links */
.entry-content a {
  color: #FF9200;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 146, 0, 0.4);
  transition: all 0.2s ease;
}

.entry-content a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 146, 0, 0.6);
}

/* Blockquotes & Pullquotes */
.entry-content blockquote,
.entry-content .wp-block-quote,
.entry-content .wp-block-pullquote {
  border-left: 4px solid #FF9200;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border-radius: 0 1rem 1rem 0;
  font-style: italic;
  color: #ffffff;
  box-shadow: inset 0 0 20px rgba(255, 146, 0, 0.05);
}

.entry-content blockquote p {
  margin-bottom: 0;
}

.entry-content blockquote cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: #FF9200;
  margin-top: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Gutenberg Alignment & Formatting Classes */
.entry-content .aligncenter,
.entry-content .has-text-align-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.entry-content .alignleft,
.entry-content .has-text-align-left {
  float: left;
  margin-right: 1.75rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.entry-content .alignright,
.entry-content .has-text-align-right {
  float: right;
  margin-left: 1.75rem;
  margin-bottom: 1.25rem;
  text-align: right;
}

/* Clearfix for floated elements */
.entry-content::after {
  content: "";
  display: table;
  clear: both;
}

/* Images & Captions */
.entry-content img,
.entry-content figure {
  max-width: 100%;
  height: auto;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.entry-content img {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.entry-content figcaption,
.entry-content .wp-element-caption {
  text-align: center;
  font-size: 0.85rem;
  color: #a68b82;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Embeds & Videos */
.entry-content embed,
.entry-content iframe,
.entry-content object,
.entry-content video,
.entry-content .wp-block-embed {
  max-width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tables */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.entry-content th,
.entry-content td {
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.entry-content th {
  background: rgba(255, 146, 0, 0.15);
  color: #ffffff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.entry-content tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

/* Code & Pre */
.entry-content code {
  background: rgba(255, 255, 255, 0.08);
  color: #ffb59c;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
  font-family: monospace;
}

.entry-content pre {
  background: #0e0e0e;
  border: 1px solid rgba(255, 146, 0, 0.3);
  padding: 1.25rem;
  border-radius: 0.75rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.entry-content pre code {
  background: transparent;
  padding: 0;
}
