:root {
    --primary: #6a11cb;
    --primary-dark: #2575fc;
    --accent: #00f2fe;
    --accent-dark: #4facfe;
    --dark: #121218;
    --darker: #0a0a0e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --success: #00e676;
    --danger: #ff3d71;
    --warning: #ffaa00;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --neon-glow: 0 0 10px rgba(106, 17, 203, 0.7), 0 0 20px rgba(106, 17, 203, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
}

.main-container {
    background: linear-gradient(to bottom, var(--darker), var(--dark));
    color: var(--light);
    width: 100%;
    line-height: 1.6;
    padding: 0;
    overflow-x: hidden;
}

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

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

.header-title::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(106,17,203,0.1) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    animation: pulse 15s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

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

.card {
    background: rgba(30, 30, 40, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

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

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header i {
    font-size: 1.8rem;
    margin-right: 15px;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--accent);
}

select, input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--light);
    font-size: 1rem;
    transition: var(--transition);
}

select:focus, input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.3);
}

input[type="range"] {
    -webkit-appearance: none;
    height: 8px;
    background: rgba(20, 20, 30, 0.8);
    border-radius: 10px;
    padding: 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--neon-glow);
}

.range-value {
    display: inline-block;
    margin-left: 10px;
    font-weight: 600;
    color: var(--accent);
}

.btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
    margin-top: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn i {
    margin-right: 8px;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.results {
    margin-top: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.results.show {
    opacity: 1;
    transform: translateY(0);
}

.result-item {
    background: rgba(40, 40, 50, 0.5);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary);
}

.result-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.result-item h3 i {
    margin-right: 10px;
    color: var(--accent);
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin: 10px 0;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
    margin-top: 30px;
}

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

.simulation-card {
    background: rgba(40, 40, 50, 0.5);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

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

.simulation-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--gray);
}

.simulation-card .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.game-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.game-option {
    position: relative;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.game-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.game-option .game-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background: rgba(30, 30, 40, 0.7);
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.game-option input:checked + .game-label {
    border-color: var(--accent);
    box-shadow: var(--neon-glow);
    background: rgba(106, 17, 203, 0.2);
}

.game-option .game-label i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--light);
}

.game-option input:checked + .game-label i {
    color: var(--accent);
}

.game-option .game-label span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.tips {
    background: rgba(0, 242, 254, 0.1);
    border-left: 4px solid var(--accent);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    margin-top: 30px;
}

.tips h3 {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--accent);
}

.tips h3 i {
    margin-right: 10px;
}



.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background: var(--primary);
    color: white;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow);
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.notification.show {
    transform: translateX(0);
}

.notification i {
    margin-right: 10px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .main-content {
        padding: 0 10px;
    }
    
    .card {
        padding: 20px;
    }
    
    .game-selector {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }





 /* ===== ARTICLE SPECIFIC STYLES - NO BODY STYLES ===== */
#loot-guide-article {
      width: 95%;
      margin: 0 auto;
      padding: 2rem 1.5rem 3rem 1.5rem;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    /* Hero Section */
    .loot-guide-hero {
      text-align: center;
      margin-bottom: 2.5rem;
      padding: 2rem 1.5rem;
      background: linear-gradient(135deg, #0a0a0e 0%, #1a1a2a 100%);
      border-radius: 32px;
      box-shadow: 0 12px 30px rgba(106, 17, 203, 0.3);
      border: 1px solid rgba(0, 242, 254, 0.3);
    }

    .loot-guide-hero h2 {
      font-size: 2.6rem;
      font-weight: 800;
      background: linear-gradient(90deg, #6a11cb, #00f2fe);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      margin-bottom: 1rem;
      letter-spacing: -0.02em;
      font-family: 'Orbitron', serif;
    }

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

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

    .loot-guide-meta span i {
      margin-right: 0.5rem;
      color: #00ff9d;
    }

    /* Main Content */
    .loot-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(106, 17, 203, 0.2);
    }

    .loot-main-content h2 {
      font-size: 1.8rem;
      font-weight: 700;
      margin-top: 2rem;
      margin-bottom: 1rem;
      color: #6a11cb;
      border-left: 5px solid #00f2fe;
      padding-left: 1rem;
      font-family: 'Orbitron', serif;
    }

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

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

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

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

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

    .loot-highlight-box {
      background: linear-gradient(135deg, rgba(106, 17, 203, 0.08), rgba(0, 242, 254, 0.05));
      border-left: 6px solid #00f2fe;
      padding: 1.25rem 1.5rem;
      border-radius: 20px;
      margin: 1.75rem 0;
    }

    .loot-pro-tip {
      background: rgba(0, 242, 254, 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(106, 17, 203, 0.3);
    }

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

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

    .loot-stat-card {
      background: #f5f7fa;
      border-radius: 20px;
      padding: 1.2rem;
      text-align: center;
      transition: all 0.2s;
      border: 1px solid rgba(106, 17, 203, 0.2);
    }

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

    .loot-quote-block {
      background: #f5f7fa;
      padding: 1.5rem;
      border-radius: 24px;
      text-align: center;
      font-style: italic;
      margin: 1.5rem 0;
      border: 1px solid rgba(106, 17, 203, 0.2);
    }

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

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

    .loot-probability-table {
      width: 100%;
      border-collapse: collapse;
      background: #f5f7fa;
      border-radius: 16px;
      overflow: hidden;
    }

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

    .loot-probability-table th {
      background: rgba(106, 17, 203, 0.1);
      font-weight: 600;
      color: #6a11cb;
    }

    .loot-probability-table tr:hover {
      background: rgba(0, 242, 254, 0.05);
    }

    .loot-strategies-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.2rem;
      margin: 1.5rem 0;
    }

    .loot-strategy-card {
      background: #f5f7fa;
      border-radius: 16px;
      padding: 1.2rem;
      border: 1px solid rgba(106, 17, 203, 0.2);
      transition: all 0.2s;
    }

    .loot-strategy-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(106, 17, 203, 0.1);
    }

    .loot-strategy-title {
      font-weight: 700;
      color: #6a11cb;
      margin-bottom: 0.5rem;
      font-size: 1.1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .loot-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: 768px) {
      .loot-guide-hero h2 {
        font-size: 2rem;
      }
      .loot-main-content {
        padding: 1.5rem;
      }
      #loot-guide-article {
        padding: 1rem;
      }
    }