/* ==========================================
   ANEXOS - REGLAMENTO IPF 2026
   Estilos específicos de la página de Anexos
   ========================================== */

/* Nav links */
.nav-links-anexos {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-back-nav {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}
.btn-back-nav:hover { color: var(--neon-green); }

/* Hero Anexos */
.anexos-hero {
    padding: 100px 20px 80px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.anexos-hero .hero-title { text-align: center; }
.anexos-hero .hero-subtitle { max-width: 700px; margin: 0 auto 30px; text-align: center; }
.anexos-hero .badge-gratuito { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 25px; }
.anexos-hero .btn-main { display: inline-flex; max-width: none; }
.anexos-hero-content { display: flex; flex-direction: column; align-items: center; }

/* Índice */
.anexos-index {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.index-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.index-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.index-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: transparent;
    transition: var(--transition-smooth);
}
.index-card:hover {
    transform: translateY(-4px);
    border-color: rgba(57, 255, 20, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(57, 255, 20, 0.08);
}
.index-card:hover::before {
    background: var(--neon-green);
    box-shadow: 0 0 10px var(--neon-green);
}

.index-num {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--neon-green);
    line-height: 1;
    margin-bottom: 12px;
}

.index-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.index-card p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Secciones de Reglas */
.rule-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
}
.rule-section.alt-bg {
    max-width: 100%;
    background: rgba(4, 5, 7, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.rule-section.alt-bg .rule-content {
    max-width: 1000px;
    margin: 0 auto;
}

.rule-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.rule-number {
    font-family: var(--font-heading);
    font-size: 52px;
    color: var(--neon-green);
    line-height: 1;
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
    min-width: 70px;
}

.rule-header h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    letter-spacing: 2px;
    color: var(--text-white);
    line-height: 1.1;
}

.rule-block {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.rule-block h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.rule-block h3 i {
    color: var(--neon-green);
    font-size: 20px;
}

.rule-block p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Lifts Showcase */
.lifts-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.lift-card {
    background: rgba(57, 255, 20, 0.05);
    border: 1px solid rgba(57, 255, 20, 0.15);
    border-radius: var(--border-radius);
    padding: 25px;
    text-align: center;
    transition: var(--transition-smooth);
}
.lift-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(57, 255, 20, 0.1);
}

.lift-number {
    font-family: var(--font-heading);
    font-size: 40px;
    color: var(--neon-green);
    line-height: 1;
    margin-bottom: 8px;
}
.lift-card h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-white);
    letter-spacing: 1px;
}
.lift-card p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
}

/* Table */
.table-wrapper { overflow-x: auto; }
.rules-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.rules-table th {
    background: rgba(57, 255, 20, 0.1);
    color: var(--neon-green);
    font-weight: 700;
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(57, 255, 20, 0.2);
}
.rules-table td {
    padding: 12px 16px;
    color: var(--text-gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.rules-table tr:hover td {
    background: rgba(57, 255, 20, 0.03);
    color: var(--text-white);
}
.rules-table td:first-child {
    font-weight: 700;
    color: var(--text-white);
}

/* Weight Categories */
.weight-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.weight-col h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.weight-col h4 i { color: var(--neon-green); }
.weight-col ul { list-style: none; }
.weight-col ul li {
    font-size: 14px;
    color: var(--text-gray);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 10px;
}
.weight-kg {
    background: rgba(57, 255, 20, 0.1);
    color: var(--neon-green);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    min-width: 60px;
    text-align: center;
}
.weight-note {
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.spec-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.spec-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.spec-value {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--neon-green);
}

/* Disc Colors */
.disc-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}
.disc {
    background: var(--disc-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}
.disc:hover { transform: scale(1.1); }

/* Rule List */
.rule-list {
    list-style: none;
}
.rule-list li {
    font-size: 15px;
    color: var(--text-gray);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.rule-list li i {
    color: var(--neon-green);
    font-size: 13px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Execution Steps */
.execution-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 20px 0;
    position: relative;
}
.execution-steps::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--neon-green), rgba(57, 255, 20, 0.1));
}

.exec-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 12px 0;
    position: relative;
}
.exec-step span {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(57, 255, 20, 0.15);
    border: 2px solid var(--neon-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--neon-green);
    z-index: 1;
}
.exec-step p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
    padding-top: 6px;
}
.exec-step p strong { color: var(--text-white); }

/* Causes Box */
.causes-box {
    background: rgba(231, 76, 60, 0.05);
    border: 1px solid rgba(231, 76, 60, 0.15);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-top: 20px;
}
.causes-box h4 {
    font-size: 14px;
    color: #e74c3c;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}
.causes-box ul { list-style: none; }
.causes-box ul li {
    font-size: 13px;
    color: var(--text-gray);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}
.causes-box ul li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-size: 11px;
    font-weight: 800;
}

/* Lights System */
.lights-system {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}
.light-demo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}
.light-demo.good i {
    color: #fff;
    font-size: 28px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}
.light-demo.good span { color: var(--text-white); font-weight: 600; }
.light-demo.bad i {
    color: #e74c3c;
    font-size: 28px;
    text-shadow: 0 0 15px rgba(231, 76, 60, 0.8);
}
.light-demo.bad span { color: #e74c3c; font-weight: 600; }

/* CTA */
.anexos-cta {
    padding: 80px 20px;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(57, 255, 20, 0.06) 0%, transparent 60%);
}
.cta-content { max-width: 600px; margin: 0 auto; }
.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--text-white);
    margin-bottom: 15px;
}
.cta-content p {
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 30px;
}
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .index-grid { grid-template-columns: 1fr; }
    .lifts-showcase { grid-template-columns: 1fr; }
    .weight-categories { grid-template-columns: 1fr; }
    .specs-grid { grid-template-columns: 1fr; }
    .rule-header { flex-direction: column; gap: 10px; }
    .rule-number { font-size: 40px; }
    .rule-header h2 { font-size: 28px; }
    .anexos-hero { padding: 60px 20px 50px; }
    .hero-title { font-size: 55px !important; }
    .title-bottom { font-size: 65px !important; }
    .cta-content h2 { font-size: 36px; }
    .lights-system { flex-direction: column; gap: 15px; }
    .cta-buttons { flex-direction: column; align-items: center; }
}
