:root {
    --primary-dark: #0a122a;
    --primary-light: #1d3461;
    --accent-gold: #d4af37;
    --accent-blue: #6290c8;
    --text-light: #f7f9fc;
    --text-gray: #b8b8b8;
    --bg-stone: #2a2a2a;
    --bg-rune: #1a1a1a;
    --rune-border: #3a3a3a;
    --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-light: 0 2px 10px rgba(212, 175, 55, 0.3);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main-container {
    background-color: var(--primary-dark);
    color: var(--text-light);
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-image: url('../assets/img/black-paper.png');
    
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header-title {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.header-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 18, 42, 0.9) 0%, rgba(29, 52, 97, 0.7) 100%);
    z-index: -1;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 1px;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

h1::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background: var(--accent-gold);
    margin: 10px auto;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 30px;
    font-weight: 300;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.rune-reader {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 15px;
    box-shadow: var(--shadow-dark);
    padding: 30px;
    border: 1px solid var(--rune-border);
    backdrop-filter: blur(5px);
}

.reading-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.reading-btn {
    background: var(--primary-light);
    color: var(--text-light);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--accent-blue);
}

.reading-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: var(--transition);
}

.reading-btn:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.reading-btn:hover::before {
    left: 100%;
}

.reading-btn.active {
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: bold;
}

.rune-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
    min-height: 200px;
}

.rune-card {
    width: 100px;
    height: 150px;
    background-color: var(--bg-rune);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--rune-border);
    box-shadow: var(--shadow-dark);
}

.rune-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.rune-card.revealed {
    background: linear-gradient(135deg, var(--bg-rune) 0%, var(--primary-light) 100%);
    border-color: var(--accent-gold);
}

.rune-card.revealed .rune-symbol {
    opacity: 1;
    transform: scale(1.1);
}

.rune-card.revealed .rune-name {
    opacity: 1;
}

.rune-symbol {
    font-size: 3rem;
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    margin-bottom: 10px;
    opacity: 0;
    transition: var(--transition);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.rune-name {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0;
    transition: var(--transition);
    text-align: center;
    font-weight: 500;
}

.rune-card.back .rune-symbol {
    opacity: 0.1;
    font-size: 2.5rem;
    color: var(--text-gray);
}

.rune-card.back .rune-name {
    opacity: 0;
}

.rune-card.back:hover .rune-symbol {
    opacity: 0.3;
}

.reading-result {
    background: rgba(10, 18, 42, 0.7);
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
    border-left: 4px solid var(--accent-gold);
    display: none;
}

.reading-result.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.result-title {
    color: var(--accent-gold);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-title i {
    font-size: 1.5rem;
}

.result-content {
    line-height: 1.8;
}

.rune-meaning {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--accent-blue);
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.action-btn {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--accent-blue);
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.action-btn i {
    font-size: 1.1rem;
}

.rune-dictionary {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 15px;
    box-shadow: var(--shadow-dark);
    padding: 30px;
    margin-top: 40px;
    border: 1px solid var(--rune-border);
}

.dictionary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.dictionary-item {
    background: var(--bg-rune);
    border-radius: 8px;
    padding: 20px;
    transition: var(--transition);
    border: 1px solid var(--rune-border);
}

.dictionary-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
    border-color: var(--accent-gold);
}

.dict-rune {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.dict-rune-symbol {
    font-size: 2.5rem;
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border: 1px solid var(--accent-gold);
}

.dict-rune-name {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--accent-gold);
}

.dict-rune-meaning {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 10px;
}

.dict-rune-keywords {
    margin-top: 15px;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--accent-blue);
}

.question-generator {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 15px;
    box-shadow: var(--shadow-dark);
    padding: 30px;
    margin-top: 40px;
    border: 1px solid var(--rune-border);
}

.question-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.question-item {
    background: rgba(10, 18, 42, 0.5);
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.question-item:hover {
    background: rgba(29, 52, 97, 0.5);
    border-color: var(--accent-blue);
}



.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #273662;
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--accent-gold);
    box-shadow: var(--shadow-dark);
    position: relative;
    color: white;
}

.modal-content h3 {
    color: #d4af37;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .reading-options {
        flex-direction: column;
        align-items: center;
    }
    
    .reading-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .rune-card {
        width: 80px;
        height: 120px;
    }
    
    .rune-symbol {
        font-size: 2.5rem;
    }
}

/* Animación de caída de runas */
@keyframes fall {
    0% { transform: translateY(-100px) rotate(0deg); opacity: 0; }
    100% { transform: translateY(0) rotate(360deg); opacity: 1; }
}

.fall-animation {
    animation: fall 0.8s ease-out forwards;
}

/* Efecto de brillo */
@keyframes glow {
    0% { text-shadow: 0 0 5px rgba(212, 175, 55, 0.5); }
    50% { text-shadow: 0 0 20px rgba(212, 175, 55, 0.8); }
    100% { text-shadow: 0 0 5px rgba(212, 175, 55, 0.5); }
}

.glow {
    animation: glow 2s infinite;
}


 /* ===== ARTICLE SPECIFIC STYLES - NO BODY STYLES ===== */
#norse-runes-ultimate-guide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem 1.5rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #fff;
}

/* Hero Section */
.norse-guide-hero {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #0a122a 0%, #1d3461 100%);
  border-radius: 32px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.norse-guide-hero h2 {
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #d4af37, #f5d742);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  font-family: 'Cinzel', serif;
}

.norse-guide-hero .norse-hero-sub {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

.norse-guide-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: #d4af37;
  font-weight: 500;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.norse-guide-meta span i {
  margin-right: 0.5rem;
  color: #d4af37;
}

/* Grid Layout */
.norse-guide-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
}

/* Main Content */
.norse-main-content {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(10, 18, 42, 0.95));
  border-radius: 28px;
  padding: 2rem 2rem 2.5rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.norse-main-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #d4af37;
  border-left: 5px solid #d4af37;
  padding-left: 1rem;
  font-family: 'Cinzel', serif;
}

.norse-main-content h2:first-of-type {
  margin-top: 0;
}

.norse-main-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem 0;
  color: #f5d742;
}

.norse-main-content p {
  font-size: 1.05rem;
  color: #e2e8f0;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.norse-main-content ul, .norse-main-content ol {
  margin: 1rem 0 1.2rem 1.8rem;
  color: #e2e8f0;
  line-height: 1.6;
}

.norse-main-content li {
  margin-bottom: 0.5rem;
}

.norse-highlight-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  border-left: 6px solid #d4af37;
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  margin: 1.75rem 0;
}

.norse-pro-tip {
  background: rgba(212, 175, 55, 0.1);
  border-radius: 20px;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.norse-pro-tip i {
  font-size: 1.8rem;
  color: #d4af37;
}

.norse-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}

.norse-stat-card {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  padding: 1.2rem;
  text-align: center;
  transition: all 0.2s;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.norse-stat-card .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #d4af37;
  margin-bottom: 0.25rem;
}

.norse-quote-block {
  background: rgba(212, 175, 55, 0.1);
  padding: 1.5rem;
  border-radius: 24px;
  text-align: center;
  font-style: italic;
  margin: 1.5rem 0;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.norse-quote-block i {
  font-size: 2rem;
  color: #d4af37;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.norse-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.norse-runes-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  overflow: hidden;
}

.norse-runes-table th, .norse-runes-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.norse-runes-table th {
  background: rgba(212, 175, 55, 0.2);
  font-weight: 600;
  color: #d4af37;
}

.norse-runes-table tr:hover {
  background: rgba(212, 175, 55, 0.1);
}

/* Sidebar */
.norse-sidebar-section {
  align-self: start;
}

.norse-side-card {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(10, 18, 42, 0.95));
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.norse-side-card h4 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 3px solid #d4af37;
  padding-bottom: 0.6rem;
  color: #d4af37;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cinzel', serif;
}

.norse-checklist, .norse-resource-list {
  list-style: none;
  padding: 0;
}

.norse-checklist li, .norse-resource-list li {
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #e2e8f0;
}

.norse-checklist i, .norse-resource-list i {
  color: #d4af37;
  width: 1.5rem;
  font-size: 1rem;
}

.norse-tool-link {
  display: inline-block;
  background: linear-gradient(95deg, #d4af37, #f5d742);
  color: #0a122a;
  text-decoration: none;
  font-weight: 700;
  padding: 0.8rem 1.2rem;
  border-radius: 40px;
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: 'Cinzel', serif;
}

.norse-tool-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
}

.norse-share-buttons {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.2rem;
}

.norse-share-btn {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  color: #e2e8f0;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.norse-share-btn:hover {
  background: rgba(212, 175, 55, 0.5);
}

.norse-footer-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #b8b8b8;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding-top: 2rem;
}

@media (max-width: 880px) {
  .norse-guide-grid {
    grid-template-columns: 1fr;
  }
  .norse-guide-hero h2 {
    font-size: 2rem;
  }
  .norse-main-content {
    padding: 1.5rem;
  }
  #norse-runes-ultimate-guide {
    padding: 1rem;
  }
}