/* Tema MMO - Elementos Específicos */

/* Correções para o tema claro */
[data-theme="light"] {
  --card-bg: rgba(255, 255, 255, 0.9);
  --container-bg: rgba(248, 250, 252, 0.95);
  --table-border: #cbd5e1;
  --text-color: #1e293b;
  --text-gold: #d97706;
  --accent-color: #f59e0b;
}

[data-theme="light"] .stat-card,
[data-theme="light"] .welcome-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .highlight-card,
[data-theme="light"] .characteristic-card,
[data-theme="light"] .rate-item,
[data-theme="light"] .info-card,
[data-theme="light"] .drop-card,
[data-theme="light"] .command-card {
  background: var(--card-bg);
  border-color: var(--table-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .search-box input {
  background: var(--card-bg);
  border-color: var(--table-border);
  color: var(--text-color);
}

[data-theme="light"] .filter-btn {
  background: var(--card-bg);
  border-color: var(--table-border);
  color: var(--text-color);
}

[data-theme="light"] .filter-btn.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

[data-theme="light"] .progress-bar {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .chance-bar {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .command-category {
  background: var(--accent-color);
  color: white;
}

[data-theme="light"] .wiki-link {
  color: var(--accent-color);
}

[data-theme="light"] .wiki-link:hover {
  color: var(--text-gold);
}

[data-theme="light"] .section-title {
  color: var(--text-gold);
}

[data-theme="light"] .rates-title {
  color: var(--text-gold);
}

/* Garantir que o background principal seja visível no tema claro */
[data-theme="light"] .background {
  background: 
    radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #f8fafc 0%, #e2e8f0 25%, #cbd5e1 50%, #e2e8f0 75%, #f8fafc 100%),
    url("../img/background.jpg") no-repeat center center / cover !important;
  filter: brightness(1.2) blur(0.5px) contrast(1.1) !important;
  z-index: -3 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

[data-theme="light"] .overlay {
  background: rgba(255, 255, 255, 0.05) !important;
  z-index: -2 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Regra adicional para garantir o background no tema claro */
[data-theme="light"] .background {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.3) 0%, transparent 70%),
    radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.3) 0%, transparent 70%),
    radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 70%),
    linear-gradient(135deg, rgba(248, 250, 252, 0.7) 0%, rgba(226, 232, 240, 0.5) 25%, rgba(203, 213, 225, 0.3) 50%, rgba(226, 232, 240, 0.5) 75%, rgba(248, 250, 252, 0.7) 100%),
    url("../img/background.jpg") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  filter: brightness(1.1) blur(0.3px) contrast(1.2) !important;
  z-index: -3 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  pointer-events: none !important;
  transform: translateZ(0) !important;
  will-change: transform !important;
}

/* Seção de Estatísticas */
.stats-section {
    margin: 30px 0;
    padding: 0 20px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: var(--card-bg);
    border: 2px solid var(--table-border);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.stat-content {
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Seção de Boas-vindas */
.welcome-section {
    margin: 30px 0;
}

.welcome-card {
    background: var(--card-bg);
    border: 2px solid var(--table-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--accent-color), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0.1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.welcome-title {
    font-size: 2.5rem;
    color: var(--text-gold);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.welcome-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

/* Grid de Características */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: var(--card-bg);
    border: 2px solid var(--table-border);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--magic-border);
    background-size: 200% 200%;
    animation: magicBorder 3s ease-in-out infinite;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(251, 191, 36, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.feature-icon img {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
}

.feature-content h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-align: center;
}

/* Específico para features-grid no info.php */
.features-grid .feature-content h3 {
    text-align: center;
}

/* Regra mais específica para garantir alinhamento */
.features-grid .feature-card .feature-content h3 {
    text-align: center;
}

/* Regra superspecífica para o info.php */
body[data-theme="dark"] .features-grid .feature-card .feature-content h3,
body[data-theme="light"] .features-grid .feature-card .feature-content h3 {
    text-align: center;
}

/* Definir estilos para feature-content */
.feature-content {
    flex: 1;
    text-align: center;
}

/* Maxima especificidade para garantir centralização */
.features-grid .feature-card .feature-content h3[data-i18n] {
    text-align: center;
}

.feature-content p {
    color: var(--text-color);
    line-height: 1.5;
    opacity: 0.9;
}

/* Mensagens de Destaque */
.highlight-messages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.highlight-card {
    background: linear-gradient(135deg, var(--card-bg), rgba(251, 191, 36, 0.1));
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.highlight-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Seção de Características Especiais */
.characteristics-section {
    margin: 40px 0;
}

.section-title {
    font-size: 2rem;
    color: var(--text-gold);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.characteristic-card {
    background: var(--card-bg);
    border: 2px solid var(--table-border);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.characteristic-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.2);
}

.char-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.char-content h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.char-value {
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Seção de Rates */
.rates-section {
    margin-top: 40px;
}

.rates-title {
    font-size: 1.5rem;
    color: var(--text-gold);
    text-align: center;
    margin-bottom: 25px;
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.rate-item {
    background: var(--card-bg);
    border: 2px solid var(--table-border);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.rate-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(251, 191, 36, 0.2);
}

.rate-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.rate-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.rate-name {
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.progress-bar {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    height: 25px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 10px;
    transition: width 1.5s ease;
    position: relative;
    min-width: 2px;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1), 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

/* Seção de Informações Adicionais */
.additional-info-section {
    margin: 40px 0;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.info-card {
    background: var(--card-bg);
    border: 2px solid var(--table-border);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--magic-border);
    background-size: 200% 200%;
    animation: magicBorder 4s ease-in-out infinite;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.2);
}

.info-card.warning-card {
    border-color: #ef4444;
}

.info-card.warning-card::before {
    background: linear-gradient(45deg, #ef4444, #f97316, #ef4444);
}

.info-card.highlight-card {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--card-bg), rgba(251, 191, 36, 0.1));
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.info-content h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.info-content p {
    color: var(--text-color);
    line-height: 1.5;
    opacity: 0.9;
}

/* Seção de Drops Personalizados */
.custom-drops-section {
    margin: 40px 0;
}

.drops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.drop-card {
    background: var(--card-bg);
    border: 2px solid var(--table-border);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.drop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--magic-border);
    background-size: 200% 200%;
    animation: magicBorder 3s ease-in-out infinite;
}

.drop-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(251, 191, 36, 0.2);
}

.drop-card.economy-card {
    border-color: var(--magic-purple);
}

.drop-card.economy-card::before {
    background: linear-gradient(45deg, var(--magic-purple), var(--accent-color), var(--magic-purple));
}

.drop-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.drop-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.drop-icon img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.drop-header h3 {
    color: var(--accent-color);
    font-size: 1.4rem;
    margin: 0;
}

.drop-content p {
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 15px;
}

.drop-chance {
    margin: 15px 0;
}

.chance-bar {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    height: 20px;
    overflow: hidden;
}

.chance-fill {
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #f97316);
    border-radius: 10px;
    transition: width 1s ease;
}

.chance-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.wiki-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.wiki-link:hover {
    color: var(--text-gold);
    transform: translateX(5px);
}

/* Seção de Comandos */
.commands-section {
    margin: 40px 0;
}

.commands-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
    justify-content: center;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: var(--card-bg);
    border: 2px solid var(--table-border);
    border-radius: 25px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--card-bg);
    border: 2px solid var(--table-border);
    border-radius: 25px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-color);
    font-weight: bold;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.command-card {
    background: var(--card-bg);
    border: 2px solid var(--table-border);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.command-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--magic-border);
    background-size: 200% 200%;
    animation: magicBorder 4s ease-in-out infinite;
}

.command-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.2);
}

.command-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.command-name {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
    font-family: 'Courier New', monospace;
}

.command-category {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.command-description {
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

/* Responsividade */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .characteristics-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .rates-grid {
        grid-template-columns: 1fr;
    }
    
    .commands-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: none;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .commands-grid {
        grid-template-columns: 1fr;
    }
}


/* Bordas medievais decorativas */
.medieval-border {
  position: relative;
  border: 3px solid transparent;
  background: 
    linear-gradient(var(--container-bg), var(--container-bg)) padding-box,
    var(--magic-border) border-box;
  border-radius: 20px;
  padding: 20px;
}

.medieval-border::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: var(--magic-border);
  background-size: 200% 200%;
  border-radius: 20px;
  z-index: -1;
  animation: magicBorder 4s ease-in-out infinite;
  opacity: 0.7;
}

/* Títulos com estilo medieval */
.medieval-title {
  font-family: "Cinzel Decorative", "Uncial Antiqua", cursive;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-gold);
  text-align: center;
  margin: 20px 0;
  text-shadow: 
    2px 2px 4px var(--text-shadow),
    0 0 15px rgba(251, 191, 36, 0.6);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.medieval-title::after {
  content: "⚔️";
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  animation: swordSwing 2s ease-in-out infinite;
}

.medieval-title::before {
  content: "⚔️";
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);
  font-size: 1.5rem;
  animation: swordSwing 2s ease-in-out infinite reverse;
}

@keyframes swordSwing {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50% { transform: translateY(-50%) rotate(15deg); }
}

/* Efeito de runas mágicas */
.runic-text {
  font-family: "Cinzel", "MedievalSharp", sans-serif;
  font-weight: 600;
  color: var(--text-gold);
  text-shadow: 
    1px 1px 2px var(--text-shadow),
    0 0 10px rgba(139, 92, 246, 0.5);
  letter-spacing: 1px;
}

/* Botões com estilo medieval */
.medieval-btn {
  background: var(--blue-gradient);
  color: white;
  padding: 12px 24px;
  border: 2px solid var(--accent-color);
  border-radius: 15px;
  font-family: "Cinzel", "MedievalSharp", sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 
    0 6px 15px rgba(30, 58, 138, 0.4),
    0 0 10px rgba(139, 92, 246, 0.3);
}

.medieval-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.medieval-btn:hover::before {
  left: 100%;
}

.medieval-btn:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--gold-gradient);
  border-color: var(--magic-purple);
  box-shadow: 
    0 10px 25px rgba(30, 58, 138, 0.6),
    0 0 20px rgba(139, 92, 246, 0.5),
    0 0 30px rgba(251, 191, 36, 0.3);
}

/* Efeito de brilho mágico */
.magic-glow {
  position: relative;
  overflow: hidden;
}

.magic-glow::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(251, 191, 36, 0.1) 0%,
    rgba(139, 92, 246, 0.1) 25%,
    transparent 50%
  );
  animation: magicGlow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes magicGlow {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0.6;
  }
}

/* Efeito de texto brilhante medieval */
.medieval-glow-text {
  color: var(--text-gold);
  text-shadow: 
    0 0 5px rgba(251, 191, 36, 0.8),
    0 0 10px rgba(139, 92, 246, 0.6),
    0 0 15px rgba(59, 130, 246, 0.4);
  animation: medievalGlow 2s ease-in-out infinite alternate;
}

@keyframes medievalGlow {
  0% {
    text-shadow: 
      0 0 5px rgba(251, 191, 36, 0.8),
      0 0 10px rgba(139, 92, 246, 0.6),
      0 0 15px rgba(59, 130, 246, 0.4);
  }
  100% {
    text-shadow: 
      0 0 10px rgba(251, 191, 36, 1),
      0 0 20px rgba(139, 92, 246, 0.8),
      0 0 30px rgba(59, 130, 246, 0.6),
      0 0 40px rgba(251, 191, 36, 0.4);
  }
}

/* Efeito de cristal mágico */
.crystal-effect {
  position: relative;
  background: 
    linear-gradient(135deg, 
      rgba(30, 58, 138, 0.8) 0%,
      rgba(59, 130, 246, 0.6) 25%,
      rgba(139, 92, 246, 0.4) 50%,
      rgba(251, 191, 36, 0.6) 75%,
      rgba(30, 58, 138, 0.8) 100%
    );
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.crystal-effect::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, 
      transparent 30%, 
      rgba(255, 255, 255, 0.1) 50%, 
      transparent 70%
    );
  border-radius: 15px;
  animation: crystalShine 3s ease-in-out infinite;
}

@keyframes crystalShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Galeria de Imagens Pass - Memorial Collection */
.pass-gallery-section {
    margin: 4rem 0;
    text-align: center;
}

.pass-gallery-section .section-title {
    margin-bottom: 2.5rem;
    color: var(--text-gold);
    font-size: 2.2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.pass-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.pass-image-item {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

/* Efeitos específicos para cada tipo de pass */
.pass-image-item:nth-child(1) .image-frame {
    border: 3px solid #fbbf24; /* Classic - Dourado */
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.pass-image-item:nth-child(1) .image-frame::before {
    background: linear-gradient(45deg, #fbbf24, #f59e0b, #fbbf24);
}

.pass-image-item:nth-child(2) .image-frame {
    border: 3px solid #cd7f32; /* Bronze */
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.4);
}

.pass-image-item:nth-child(2) .image-frame::before {
    background: linear-gradient(45deg, #cd7f32, #b8860b, #cd7f32);
}

.pass-image-item:nth-child(3) .image-frame {
    border: 3px solid #c0c0c0; /* Silver */
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.4);
}

.pass-image-item:nth-child(3) .image-frame::before {
    background: linear-gradient(45deg, #c0c0c0, #a8a8a8, #c0c0c0);
}

.pass-image-item:nth-child(4) .image-frame {
    border: 3px solid #ffd700; /* Gold */
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.pass-image-item:nth-child(4) .image-frame::before {
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
}

/* Seção de Imagem Especial - Memorial Pass */
.special-image-section {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.special-image-container {
    position: relative;
    perspective: 1000px;
}

.image-frame {
    position: relative;
    display: inline-block;
    padding: 8px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-gold));
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--magic-border);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.special-image {
    width: 160px;
    height: auto;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
}

.image-caption {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.caption-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.caption-description {
    font-size: 0.75rem;
    opacity: 0.9;
    font-style: italic;
}

.image-shine {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparency 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transition: all 0.6s ease;
    z-index: 4;
}

/* Efeitos de hover */
.image-frame:hover {
    transform: translateY(-8px) scale(1.05) rotateX(10deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px var(--magic-glow);
}

.image-frame:hover::before {
    opacity: 1;
}

.image-frame:hover .special-image {
    transform: scale(1.1) rotateZ(2deg);
    filter: brightness(1.1) contrast(1.1);
}

.image-frame:hover .image-overlay {
    opacity: 1;
}

.image-frame:hover .image-caption {
    transform: translateY(0);
}

.image-frame:hover .image-shine {
    top: 100%;
}

/* Efeitos específicos para pulso de cada tipo */
.pass-image-item:nth-child(1) .image-frame::after {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.4) 0%, transparent 70%);
}

.pass-image-item:nth-child(2) .image-frame::after {
    background: radial-gradient(circle, rgba(205, 127, 50, 0.4) 0%, transparent 70%);
}

.pass-image-item:nth-child(3) .image-frame::after {
    background: radial-gradient(circle, rgba(192, 192, 192, 0.4) 0%, transparent 70%);
}

.pass-image-item:nth-child(4) .image-frame::after {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
}

/* Animação especial para galeria completa */
.pass-gallery-grid {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito de stagger para os itens */
.pass-image-item {
    animation: slideInScale 0.6s ease-out forwards;
    opacity: 0;
}

.pass-image-item:nth-child(1) { animation-delay: 0.1s; }
.pass-image-item:nth-child(2) { animation-delay: 0.2s; }
.pass-image-item:nth-child(3) { animation-delay: 0.3s; }
.pass-image-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Efeito pulsante contínuo */
.image-frame::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    50% {
        width: 200px;
        height: 200px;
        opacity: 0.7;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* Estilos para tema claro */
[data-theme="light"] .image-frame {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-gold));
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

[data-theme="light"] .image-frame:hover {
    box-shadow: 
        0 20px 40px rgba(251, 191, 36, 0.4),
        0 0 30px rgba(251, 191, 36, 0.6);
}

[data-theme="light"] .image-overlay {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .caption-title {
    color: var(--accent-gold);
}

[data-theme="light"] .caption-description {
    color: var(--text-color);
}

/* Responsividade para elementos medievais */
@media (max-width: 768px) {
  .medieval-title {
    font-size: 2rem;
  }
  
  .medieval-title::after,
  .medieval-title::before {
    display: none;
  }
  
  .medieval-btn {
    padding: 10px 20px;
    font-size: 1em;
  }
  
  /* Responsividade para galeria e imagem especial */
  .pass-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .special-image {
    width: 130px;
  }
  
  .image-frame:hover {
    transform: translateY(-5px) scale(1.03);
  }
  
  .caption-title {
    font-size: 1.1rem;
  }
  
  .caption-description {
    font-size: 0.8rem;
  }
  
  .pass-gallery-section .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
}

/* Para telas muito pequenas (menos de 600px) */
@media (max-width: 600px) {
  .pass-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  
  .special-image {
    width: 100px;
  }
  
  .image-frame {
    padding: 6px;
  }
}

/* ================================ */
/* ROADMAP SECTION STYLES */
/* ================================ */
.roadmap-section {
    padding: 2rem 1rem;
    position: relative;
    margin: 2rem 0;
}

.roadmap-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.roadmap-header {
    text-align: center;
    margin-bottom: 2rem;
}

.roadmap-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-gold);
    margin-bottom: 1.5rem;
    text-shadow: 
        0 0 20px rgba(251, 191, 36, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.roadmap-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.roadmap-description {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.roadmap-divider {
    width: 100px;
    height: 2px;
    background: rgba(251, 191, 36, 0.3);
    margin: 0 auto;
}

.roadmap-timeline-container {
    position: relative;
    padding: 1rem 0;
}

/* Navegação por setas */
.roadmap-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
}

.roadmap-nav-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.roadmap-nav-left {
    left: -60px;
}

.roadmap-nav-right {
    right: -60px;
}

/* Timeline */
.roadmap-timeline {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.roadmap-line {
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-color) 20%, 
        var(--magic-purple) 50%, 
        var(--accent-color) 80%, 
        transparent 100%);
    border-radius: 2px;
    opacity: 0.7;
    animation: timelineGlow 3s infinite;
}

@keyframes timelineGlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.roadmap-dots {
    display: flex;
    justify-content: space-between;
    width: 70%;
    position: relative;
    z-index: 10;
}

.roadmap-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.3);
    border: 3px solid var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.roadmap-dot.active {
    background: var(--accent-color);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
    transform: scale(1.3);
}

.roadmap-dot:hover {
    transform: scale(1.2);
    background: var(--magic-purple);
}

/* Cards de eventos */
.roadmap-events {
    position: relative;
    min-height: 350px;
}

.roadmap-event {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.roadmap-event.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.event-card {
    background: var(--card-bg);
    border: 2px solid var(--table-border);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 0 auto;
    max-width: 500px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.2);
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--magic-border);
    border-radius: 20px 20px 0 0;
    animation: magicBorder 4s infinite;
}

.event-title {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.event-description {
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.event-date {
    position: absolute;
    bottom: -15px;
    left: 15px;
    background: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.event-character {
    position: absolute;
    top: -20px;
    right: -15px;
    width: 100px;
    height: 100px;
    opacity: 0.8;
}

.character-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.4));
    animation: characterFloat 3s ease-in-out infinite;
    border-radius: 50%;
    transition: all 0.3s ease;
}

@keyframes characterFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* Personagem placeholders */
.character-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
    border: 2px solid rgba(251, 191, 36, 0.3);
    animation: characterFloat 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.4));
}

.character-placeholder.warrior {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2), rgba(239, 68, 68, 0.2));
    border-color: rgba(251, 191, 36, 0.4);
    color: #fbbf24;
}

.character-placeholder.priest {
    background: radial-gradient(circle, rgba(34, 197, 94, 0.2), rgba(59, 130, 246, 0.2));
    border-color: rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

.character-placeholder.sage {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border-color: rgba(139, 92, 246, 0.4);
    color: #8b5cf6;
}

.character-placeholder.hunter {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2), rgba(240, 171, 252, 0.2));
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
}

/* Card especial para eventos marcantes */
.event-card.chapter-special {
    background: linear-gradient(135deg, 
        rgba(251, 191, 36, 0.1), 
        rgba(139, 92, 246, 0.1));
    border-color: var(--magic-purple);
}

.event-card.chapter-special::before {
    background: linear-gradient(45deg, var(--magic-purple), var(--accent-color), var(--magic-purple));
}

/* Responsividade para roadmap */
@media (max-width: 1200px) {
    .roadmap-nav-left {
        left: -40px;
    }
    
    .roadmap-nav-right {
        right: -40px;
    }
}

@media (max-width: 1000px) {
    .roadmap-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .roadmap-nav-left {
        left: -30px;
    }
    
    .roadmap-nav-right {
        right: -30px;
    }
    
    .roadmap-title {
        font-size: 1.8rem;
    }
    
    .event-character {
        width: 80px;
        height: 80px;
        top: -20px;
        right: -10px;
    }
}

@media (max-width: 768px) {
    .roadmap-section {
        padding: 2rem 1rem;
    }
    
    .roadmap-nav-btn {
        display: none;
    }
    
    .roadmap-title {
        font-size: 1.6rem;
    }
    
    .roadmap-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .event-card {
        padding: 1.2rem;
        margin: 0 1rem;
        max-width: none;
    }
    
    .event-character {
        display: none;
    }
    
    .roadmap-dots {
        width: 90%;
    }
    
    .roadmap-line {
        left: 5%;
        right: 5%;
    }
}

@media (max-width: 480px) {
    .roadmap-title {
        font-size: 1.3rem;
    }
    
    .event-card {
        padding: 1rem;
        margin: 0 0.5rem;
        max-width: 100%;
    }
    
    .event-title {
        font-size: 1.4rem;
    }
    
    .event-description {
        font-size: 0.9rem;
    }
}