:root {
    --primary: #6b46c1;
    --primary-dark: #553c9a;
    --primary-light: #9f7aea;
    --text: #2d3748;
    --text-light: #4a5568;
    --bg: #f8f5ff;
    --card-bg: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.main-container {
    font-family: 'Poppins', sans-serif;
    background-color: #acbce5;
    color: var(--text);
    line-height: 1.7;
   
    background-image: url('../../assets/img/black-paper.png');
    position: relative;
}

.main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 245, 255, 0.9);
    z-index: -1;
}

.container {
    width: 90%;
    margin: 40px auto;
    padding: 0 20px;
}

.header-title {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.header-title::after {
    content: '0123456789';
    position: absolute;
    font-size: 120px;
    opacity: 0.1;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    letter-spacing: 10px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    color: #ffffff;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
}

.subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    color: #ffffff;
}

.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary);
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-light);
}

h2 i {
    margin-right: 15px;
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
    /*color: var(--text-light);*/
}

ul, ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
    color: var(--text-light);
}

strong {
    color: var(--primary);
}

/* Calculator */
.calculator-box {
    text-align: center;
}

.input-group {
    margin: 25px 0;
}

input[type="date"] {
    width: 100%;
    max-width: 300px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    margin-bottom: 15px;
}

input[type="date"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.2);
}

button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
}

button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
}

button:active {
    transform: translateY(0);
}

button i {
    margin-right: 10px;
}

/* Results */
#resultado {
    margin-top: 30px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

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

.numero-resultado {
    font-size: 5rem;
    font-weight: bold;
    color: var(--primary);
    margin: 20px 0;
    text-shadow: 0 5px 10px rgba(107, 70, 193, 0.2);
}

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

/* Radar Chart */
.grafico-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
}

.grafico-radar {
    width: 280px;
    height: 280px;
    position: relative;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
}

.radar {
    width: 100%;
    height: 100%;
    position: relative;
}

.ejes {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(transparent 49.5%, rgba(0,0,0,0.1) 49.5%, rgba(0,0,0,0.1) 50.5%, transparent 50.5%),
        linear-gradient(90deg, transparent 49.5%, rgba(0,0,0,0.1) 49.5%, rgba(0,0,0,0.1) 50.5%, transparent 50.5%),
        linear-gradient(45deg, transparent 49.5%, rgba(0,0,0,0.1) 49.5%, rgba(0,0,0,0.1) 50.5%, transparent 50.5%),
        linear-gradient(135deg, transparent 49.5%, rgba(0,0,0,0.1) 49.5%, rgba(0,0,0,0.1) 50.5%, transparent 50.5%);
}

.area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: rgba(107, 70, 193, 0.2);
    clip-path: polygon(
        50% 0%,
        80% 20%,
        100% 50%,
        80% 80%,
        50% 100%,
        20% 80%,
        0% 50%,
        20% 20%
    );
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.puntos {
    position: absolute;
    width: 100%;
    height: 100%;
}

.puntos span {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(107, 70, 193, 0.5);
    transition: all 0.5s ease;
}

/* Point positions */
.puntos span[data-categoria="love"] { top: 20%; left: 50%; }
.puntos span[data-categoria="health"] { top: 80%; left: 50%; }
.puntos span[data-categoria="money"] { top: 50%; left: 90%; }
.puntos span[data-categoria="creativity"] { top: 50%; left: 10%; }
.puntos span[data-categoria="spirituality"] { top: 50%; left: 50%; }

/* Legend */
.leyenda {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.leyenda-item {
    display: flex;
    align-items: center;
    background: rgba(107, 70, 193, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.leyenda-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    margin-right: 8px;
}

/* Bar Chart */
.grafico-barras {
    margin-top: 40px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.barras-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.barra {
    display: flex;
    align-items: center;
    gap: 15px;
}

.barra-label {
    width: 120px;
    font-size: 1rem;
    text-align: right;
    color: var(--primary);
    font-weight: 600;
}

.barra-bg {
    flex-grow: 1;
    height: 25px;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.barra-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    width: 0;
    transition: width 1s ease-out;
    position: relative;
}

.barra-value {
    position: absolute;
    right: 10px;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0,0,0,0.3);
}

/* Meanings table */
.table-container {
    overflow-x: auto;
    margin: 30px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

th {
    background: var(--primary);
    color: white;
    padding: 15px;
    text-align: left;
}

td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: var(--text-light);
}

tr:last-child td {
    border-bottom: none;
}

tr:nth-child(even) {
    background: rgba(107, 70, 193, 0.05);
}

/* Tooltips */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    z-index: 100;
    white-space: nowrap;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .grafico-container {
        flex-direction: column;
        align-items: center;
    }
    
    .grafico-radar {
        width: 250px;
        height: 250px;
    }
    
    .barra-label {
        width: 100px;
        font-size: 0.9rem;
    }

    .container {
        width: 100%;
        
    }
    
}


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

/* Hero Section */
.lifepath-guide-hero {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #6b46c1 0%, #9f7aea 100%);
  border-radius: 32px;
  box-shadow: 0 12px 30px rgba(107, 70, 193, 0.3);
}

.lifepath-guide-hero h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  font-family: 'Playfair Display', serif;
}

.lifepath-guide-hero .lifepath-hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.5;
}

.lifepath-guide-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.lifepath-guide-meta span i {
  margin-right: 0.5rem;
}

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

/* Main Content */
.lifepath-main-content {
  background: white;
  border-radius: 28px;
  padding: 2rem 2rem 2.5rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(107, 70, 193, 0.15);
}

.lifepath-main-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #6b46c1;
  border-left: 5px solid #9f7aea;
  padding-left: 1rem;
  font-family: 'Playfair Display', serif;
}

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

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

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

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

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

.lifepath-highlight-box {
  background: linear-gradient(135deg, rgba(107, 70, 193, 0.08), rgba(159, 122, 234, 0.05));
  border-left: 6px solid #9f7aea;
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  margin: 1.75rem 0;
}

.lifepath-pro-tip {
  background: rgba(159, 122, 234, 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(107, 70, 193, 0.3);
}

.lifepath-pro-tip i {
  font-size: 1.8rem;
  color: #9f7aea;
}

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

.lifepath-stat-card {
  background: #f8f5ff;
  border-radius: 20px;
  padding: 1.2rem;
  text-align: center;
  transition: all 0.2s;
  border: 1px solid rgba(107, 70, 193, 0.2);
}

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

.lifepath-quote-block {
  background: #f8f5ff;
  padding: 1.5rem;
  border-radius: 24px;
  text-align: center;
  font-style: italic;
  margin: 1.5rem 0;
  border: 1px solid rgba(107, 70, 193, 0.2);
}

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

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

.lifepath-numbers-table {
  width: 100%;
  border-collapse: collapse;
  background: #f8f5ff;
  border-radius: 16px;
  overflow: hidden;
}

.lifepath-numbers-table th, .lifepath-numbers-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(107, 70, 193, 0.2);
}

.lifepath-numbers-table th {
  background: rgba(107, 70, 193, 0.1);
  font-weight: 600;
  color: #6b46c1;
}

.lifepath-numbers-table tr:hover {
  background: rgba(159, 122, 234, 0.05);
}

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

.lifepath-side-card {
  background: white;
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 1.8rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(107, 70, 193, 0.15);
}

.lifepath-side-card h4 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 3px solid #9f7aea;
  padding-bottom: 0.6rem;
  color: #6b46c1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
}

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

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

.lifepath-checklist i, .lifepath-resource-list i {
  color: #9f7aea;
  width: 1.5rem;
  font-size: 1rem;
}

.lifepath-tool-link {
  display: inline-block;
  background: linear-gradient(95deg, #6b46c1, #9f7aea);
  color: white;
  text-decoration: none;
  font-weight: 600;
  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;
}

.lifepath-tool-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107, 70, 193, 0.4);
}

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

.lifepath-share-btn {
  background: #f0f0f0;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  color: #4a5568;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lifepath-share-btn:hover {
  background: #e2e8f0;
}

.lifepath-footer-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #718096;
  border-top: 1px solid #e2e8f0;
  padding-top: 2rem;
}

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