/* ============================================
   CRIPTO MEDIA PRO - PAGE STYLES
   Styles for all special pages
   ============================================ */

/* ============================================
   SHARED PAGE STYLES
   ============================================ */
.page-container {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.section-title {
    color: var(--bitcoin-orange);
    border-bottom: 3px solid var(--bitcoin-orange);
    padding-bottom: 10px;
    margin-top: 40px;
}

/* Warning/Info/Tip Boxes */
.warning-box {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.tip-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 4px solid #4caf50;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

/* Comparison Tables */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.comparison-table th,
.comparison-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.comparison-table th {
    background: linear-gradient(135deg, var(--bitcoin-orange) 0%, #f5a623 100%);
    color: white;
}

.comparison-table tr:nth-child(even) {
    background: #f9f9f9;
}

/* ============================================
   GLOSARIO PAGE
   ============================================ */
.glosario-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 15px;
    background: linear-gradient(135deg, var(--bitcoin-orange) 0%, #f5a623 100%);
    border-radius: 8px;
    margin-bottom: 30px;
}

.glosario-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    transition: background 0.3s;
}

.glosario-nav a:hover {
    background: rgba(255,255,255,0.4);
}

.glosario-letter {
    color: var(--bitcoin-orange);
    border-bottom: 3px solid var(--bitcoin-orange);
    padding-bottom: 10px;
    margin-top: 40px;
}

.glosario-term {
    color: #333;
    margin-top: 25px;
    margin-bottom: 10px;
}

.glosario-definition {
    color: #444;
    margin-bottom: 15px;
}

/* ============================================
   GUÍAS PAGE
   ============================================ */
.guias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.guia-card {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

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

.guia-card.beginner { border-left: 4px solid #4CAF50; }
.guia-card.intermediate { border-left: 4px solid #FFC107; }
.guia-card.advanced { border-left: 4px solid #f44336; }

.guia-nivel {
    font-size: 0.85em;
    font-weight: bold;
}

.guia-card h3 {
    margin: 10px 0;
}

.guia-card h3 a {
    color: #333;
    text-decoration: none;
}

.guia-card h3 a:hover {
    color: var(--bitcoin-orange);
}

.guia-card p {
    color: #666;
    font-size: 0.95em;
    margin: 0;
}

.guia-completa {
    padding: 30px 0;
}

.guia-completa h2 {
    color: #333;
    border-bottom: 3px solid var(--bitcoin-orange);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.guia-completa h3 {
    color: var(--bitcoin-orange);
    margin-top: 30px;
}

.guia-completa h4 {
    color: #555;
    margin-top: 20px;
}

/* ============================================
   CALCULADORA PAGE
   ============================================ */
.calc-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.calc-nav-btn {
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--bitcoin-orange);
    color: var(--bitcoin-orange);
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.calc-nav-btn:hover,
.calc-nav-btn.active {
    background: linear-gradient(135deg, var(--bitcoin-orange) 0%, #f5a623 100%);
    color: white;
    text-decoration: none;
}

.calculadora-section {
    padding: 20px 0;
}

.calculadora-section h2 {
    color: #333;
    margin-bottom: 10px;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
}

.calc-inputs {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

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

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.input-group small {
    color: #888;
    font-size: 0.85em;
    display: block;
    margin-top: 5px;
}

.calc-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--bitcoin-orange) 0%, #f5a623 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(247, 147, 26, 0.4);
}

.calc-results {
    background: white;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 25px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    color: #666;
    font-weight: 500;
}

.result-value {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    font-family: 'Roboto Mono', monospace;
}

.result-item.highlight {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    margin: 10px -25px;
    padding: 15px 25px;
}

.result-item.highlight .result-value {
    color: var(--bitcoin-orange);
    font-size: 1.4em;
}

/* Converter tabs */
.converter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.converter-tab {
    padding: 10px 25px;
    background: #eee;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.converter-tab.active {
    background: var(--bitcoin-orange);
    color: white;
}

.converter-content {
    display: none;
}

.converter-content.active {
    display: block;
}

.conversion-info {
    background: white;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 25px;
}

.conversion-info h4 {
    margin-top: 0;
    color: var(--bitcoin-orange);
}

.conversion-table {
    width: 100%;
    border-collapse: collapse;
}

.conversion-table th,
.conversion-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.conversion-table th {
    background: #f8f9fa;
    font-weight: 600;
}

/* ============================================
   EVENTOS PAGE
   ============================================ */
.eventos-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--bitcoin-orange);
    background: var(--bitcoin-orange);
    color: white;
}

.eventos-quarter h3 {
    color: var(--bitcoin-orange);
    border-bottom: 2px solid var(--bitcoin-orange);
    padding-bottom: 10px;
    margin-top: 40px;
}

.evento-card {
    display: flex;
    gap: 20px;
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

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

.evento-card.featured {
    border: 2px solid var(--bitcoin-orange);
    background: linear-gradient(135deg, #fffbf5 0%, #fff9e6 100%);
}

.evento-date {
    min-width: 80px;
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, var(--bitcoin-orange) 0%, #f5a623 100%);
    border-radius: 8px;
    color: white;
}

.evento-date .month {
    display: block;
    font-size: 0.9em;
    font-weight: bold;
}

.evento-date .day {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
}

.evento-content {
    flex: 1;
}

.evento-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 10px;
}

.evento-tag.conference { background: #e3f2fd; color: #1976d2; }
.evento-tag.blockchain { background: #f3e5f5; color: #7b1fa2; }
.evento-tag.airdrop { background: #e8f5e9; color: #388e3c; }
.evento-tag.regulation { background: #fff3e0; color: #f57c00; }

.evento-content h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.evento-content p {
    color: #666;
    margin-bottom: 15px;
}

.evento-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9em;
    color: #888;
}

.evento-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--bitcoin-orange);
    text-decoration: none;
    font-weight: bold;
}

.countdown {
    margin-top: 15px;
    padding: 10px;
    background: rgba(247, 147, 26, 0.1);
    border-radius: 8px;
    font-family: monospace;
    font-size: 1.1em;
    color: var(--bitcoin-orange);
}

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

.evento-recurring {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--bitcoin-orange);
}

.evento-recurring h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.evento-recurring p {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.evento-recurring .frecuencia {
    display: block;
    font-size: 0.85em;
    color: var(--bitcoin-orange);
    font-weight: bold;
}

/* ============================================
   ANÁLISIS PAGE
   ============================================ */
.market-overview {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 30px;
    border-radius: 12px;
    color: white;
}

.market-overview h2 {
    margin-top: 0;
    color: var(--bitcoin-orange);
}

.market-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.market-card {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.market-card h4 {
    margin: 0 0 10px 0;
    font-size: 0.9em;
    opacity: 0.8;
}

.index-value {
    font-size: 2em;
    font-weight: bold;
    color: var(--bitcoin-orange);
}

.index-label {
    font-size: 0.85em;
    opacity: 0.7;
}

.analisis-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.analisis-card.featured {
    border: 2px solid var(--bitcoin-orange);
    background: linear-gradient(135deg, #fffbf5 0%, #fff 100%);
}

.analisis-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.categoria {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: bold;
}

.categoria.btc { background: #fff3e0; color: var(--bitcoin-orange); }
.categoria.eth { background: #e8eaf6; color: #3f51b5; }
.categoria.altcoins { background: #e0f7fa; color: #0097a7; }
.categoria.macro { background: #f3e5f5; color: #7b1fa2; }

.fecha {
    color: #888;
    font-size: 0.9em;
}

.analisis-card h3 {
    margin: 0 0 20px 0;
    color: #333;
}

.analisis-card h4 {
    color: var(--bitcoin-orange);
    margin-top: 25px;
}

.levels-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.levels-table th,
.levels-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.levels-table th {
    background: #f8f9fa;
}

.conclusion {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 0 8px 8px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.tool-card {
    display: block;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.tool-card:hover {
    border-color: var(--bitcoin-orange);
    transform: translateY(-3px);
    text-decoration: none;
}

.tool-card h4 {
    margin: 0 0 8px 0;
    color: #333;
}

.tool-card p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

/* ============================================
   COMPANY PAGES
   ============================================ */
/* About */
.about-hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--bitcoin-orange) 0%, #f5a623 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 40px;
}

.about-hero h1 {
    margin: 0;
    font-size: 2.5em;
}

.about-hero .tagline {
    margin: 15px 0 0 0;
    font-size: 1.2em;
    opacity: 0.95;
}

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

.feature {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.feature-icon {
    font-size: 2em;
}

.feature h3 {
    margin: 10px 0;
    color: #333;
}

.feature p {
    margin: 0;
    color: #666;
    font-size: 0.95em;
}

.country-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.country-list li {
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
}

.disclaimer-box {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

/* Contact */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr;
    }
}

.contacto-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.contacto-icon {
    font-size: 1.5em;
}

.contacto-item h3 {
    margin: 0 0 5px 0;
    font-size: 1em;
}

.contacto-item p {
    margin: 0;
}

.social-links {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.social-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    color: white;
}

.social-btn.twitter {
    background: #000;
}

.social-btn.telegram {
    background: #0088cc;
}

.response-time {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.contacto-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Publicidad */
.stats-bar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--bitcoin-orange) 0%, #f5a623 100%);
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.stat {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-size: 2em;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.9;
}

.ad-formats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.ad-format {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border-top: 4px solid var(--bitcoin-orange);
}

.ad-format h3 {
    margin-top: 0;
    color: #333;
}

.policy-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

/* Legal pages */
.legal-container h2 {
    color: var(--bitcoin-orange);
    margin-top: 35px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.legal-container h3 {
    color: #555;
    margin-top: 20px;
}

.last-updated {
    color: #888;
    font-style: italic;
    margin-bottom: 30px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
    .evento-card {
        flex-direction: column;
    }
    
    .evento-date {
        min-width: auto;
    }
    
    .market-cards {
        grid-template-columns: 1fr;
    }
}
