:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-color: #00f7ff;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;
    --bg-dark: #0c0d13;
    --bg-darker: #07080c;
    --transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

.main-container {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
   /* min-height: 100vh;*/
   width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    text-align: center;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.header-title {
    margin-bottom: 2.5rem;
    text-align: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.crystal-section {
    position: relative;
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(15, 16, 23, 0.7);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 500px;
}

.instruction {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.crystal-ball-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    perspective: 1000px;
}

.crystal-ball {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(100, 255, 255, 0.8),
        rgba(0, 100, 255, 0.3) 60%,
        transparent 80%
    );
    box-shadow: 
        inset 0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px #5ab3ff;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.crystal-ball:hover {
    transform: scale(1.05);
    box-shadow: 
        inset 0 0 30px rgba(255, 255, 255, 0.7),
        0 0 60px #5ab3ff;
}

.crystal-ball:active {
    transform: scale(0.98);
}

.crystal-ball::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(
        circle at 40% 40%,
        rgba(255, 255, 255, 0.2),
        transparent 50%
    );
    filter: blur(5px);
}

.crystal-ball::after {
    content: '';
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.crystal-stand {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: linear-gradient(to right, #3a3a3a, #5a5a5a, #3a3a3a);
    border-radius: 0 0 10px 10px;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.crystal-stand::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 30px;
    background: linear-gradient(to right, #2a2a2a, #4a4a4a, #2a2a2a);
    clip-path: polygon(0% 0%, 100% 0%, 80% 100%, 20% 100%);
}

.answer-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border-left: 3px solid var(--accent-color);
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.answer-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(0, 247, 255, 0.05) 50%,
        transparent 100%
    );
    animation: shine 8s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    20% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.answer {
    font-size: 1.3rem;
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(0, 247, 255, 0.5);
    font-weight: 600;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
    text-align: center;
}

/* Efecto de máquina de escribir */
.typed-cursor {
    opacity: 1;
    animation: blink 0.7s infinite;
    color: var(--accent-color);
    font-weight: bold;
}

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

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    width: 100%;
    background-color: black;
    background: none;
}

.feature-card {
    background: rgba(15, 16, 23, 0.7);
    padding: 1.5rem;
    border-radius: 15px;
    border-top: 2px solid var(--secondary-color);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.cta-section {
    margin: 3rem 0;
    text-align: center;
    width: 100%;
}

.cta-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.cta-text {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(106, 17, 203, 0.6);
}

.cta-button:active {
    transform: translateY(1px);
}



/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .crystal-section {
        padding: 1.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

/* Animaciones */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Efecto de brillo en la bola */
@keyframes pulse {
    0% { box-shadow: 0 0 40px #5ab3ff; }
    50% { box-shadow: 0 0 60px #ff00ff; }
    100% { box-shadow: 0 0 40px #5ab3ff; }
}

.pulse-effect {
    animation: pulse 4s infinite;
}


 /* ===== ARTICLE SPECIFIC STYLES - NO BODY STYLES ===== */
#crystal-ball-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 */
.crystal-guide-hero {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #0c0d13 0%, #1a1b2f 100%);
  border-radius: 32px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(106, 17, 203, 0.3);
}

.crystal-guide-hero h2 {
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c084fc, #60a5fa, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  font-family: 'Playfair Display', serif;
}

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

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

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

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

/* Main Content */
.crystal-main-content {
  background: rgba(15, 16, 23, 0.9);
  border-radius: 28px;
  padding: 2rem 2rem 2.5rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(106, 17, 203, 0.2);
  backdrop-filter: blur(2px);
}

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

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

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

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

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

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

.crystal-highlight-box {
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.2), rgba(37, 117, 252, 0.2));
  border-left: 6px solid #a855f7;
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  margin: 1.75rem 0;
  backdrop-filter: blur(4px);
}

.crystal-pro-tip {
  background: rgba(0, 247, 255, 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(0, 247, 255, 0.3);
}

.crystal-pro-tip i {
  font-size: 1.8rem;
  color: #00f7ff;
}

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

.crystal-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(106, 17, 203, 0.3);
}

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

.crystal-quote-block {
  background: rgba(106, 17, 203, 0.15);
  padding: 1.5rem;
  border-radius: 24px;
  text-align: center;
  font-style: italic;
  margin: 1.5rem 0;
  border: 1px solid rgba(192, 132, 252, 0.3);
}

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

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

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

.crystal-meanings-table th, .crystal-meanings-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(106, 17, 203, 0.3);
}

.crystal-meanings-table th {
  background: rgba(106, 17, 203, 0.3);
  font-weight: 600;
  color: #f0abfc;
}

.crystal-meanings-table tr:hover {
  background: rgba(106, 17, 203, 0.1);
}

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

.crystal-side-card {
  background: rgba(15, 16, 23, 0.9);
  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(106, 17, 203, 0.2);
}

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

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

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

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

.crystal-tool-link {
  display: inline-block;
  background: linear-gradient(95deg, #6a11cb, #2575fc);
  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;
}

.crystal-tool-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(106, 17, 203, 0.5);
}

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

.crystal-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;
}

.crystal-share-btn:hover {
  background: rgba(106, 17, 203, 0.5);
}

.crystal-footer-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
  border-top: 1px solid rgba(106, 17, 203, 0.3);
  padding-top: 2rem;
}

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