@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   VARIABLES CSS - TEMA RASTRAR
   ============================================ */
:root {
    /* Colores Principales - Tema Morado/Azul Rastrar */
    --primary: #667eea;
    --primary-dark: #5568d3;
    --secondary: #764ba2;
    --accent: #8b5cf6;
    
    /* Colores de Fondo */
    --dark: #1a1a2e;
    --darker: #0f0f1e;
    --dark-blue: #16213e;
    
    /* Colores de Texto */
    --white: #ffffff;
    --gray: #9ca3af;
    --gray-dark: #6b7280;
    --gray-light: #d1d5db;
    
    /* Colores de Estado */
    --success: #10b981;
    --success-dark: #059669;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Bordes y Radios */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    
    /* Sombras */
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    
    /* Transiciones */
    --transition-fast: 0.2s;
    --transition: 0.3s;
    --transition-slow: 0.4s;
    
    /* Blur */
    --blur: 10px;
    --blur-md: 20px;
}

/* ============================================
   ESTILOS GLOBALES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 50%, var(--dark-blue) 100%);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================
   FONDO ANIMADO
   ============================================ */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-animated::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    animation: moveBackground 20s ease infinite;
}

@keyframes moveBackground {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, -50px); }
}

/* ============================================
   CONTENEDOR Y LAYOUT
   ============================================ */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ============================================
   HEADER
   ============================================ */
.header-bar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(var(--blur-md));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
    margin-bottom: 24px;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-small {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
}

.logo-small i {
    color: var(--primary);
    font-size: 24px;
}

/* ============================================
   BANNER DE VERIFICACIÓN
   ============================================ */
.verification-banner {
    background: linear-gradient(135deg, var(--success), var(--success-dark));
    padding: 20px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.banner-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.banner-content {
    flex: 1;
}

.banner-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.banner-text {
    font-size: 14px;
    opacity: 0.9;
}

/* ============================================
   CARDS
   ============================================ */
.content-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-2xl);
    padding: 32px;
    margin-bottom: 24px;
    transition: all var(--transition) ease;
}

.content-card:hover {
    border-color: rgba(102, 126, 234, 0.3);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: var(--primary);
}

/* ============================================
   INFO GRID
   ============================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-fast) ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.2);
}

.info-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.info-value {
    font-size: 16px;
    color: var(--white);
    font-weight: 500;
    word-break: break-word;
}

/* ============================================
   BLOCKCHAIN SECTION
   ============================================ */
.blockchain-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
}

.blockchain-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    transition: all var(--transition-fast) ease;
}

.blockchain-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.blockchain-item:last-child {
    margin-bottom: 0;
}

.blockchain-label {
    font-size: 14px;
    color: var(--gray-light);
    font-weight: 500;
}

.blockchain-value {
    font-size: 13px;
    color: var(--white);
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-wrap: anywhere;
    text-align: right;
}

.blockchain-value a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast) ease;
}

.blockchain-value a:hover {
    color: var(--accent);
}

/* ============================================
   BOTONES
   ============================================ */
.copy-btn {
    background: rgba(102, 126, 234, 0.2);
    border: none;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    color: var(--primary);
    cursor: pointer;
    font-size: 12px;
    transition: all var(--transition-fast) ease;
}

.copy-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn-action {
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition) ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-action:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-action.btn-primary-action {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
}

.btn-action.btn-primary-action:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* ============================================
   TABS
   ============================================ */
.tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #999;
    border-bottom: 3px solid transparent;
    transition: all var(--transition) ease;
    font-weight: 500;
}

.tab:hover {
    color: var(--primary);
}

.tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    padding: 2px 8px;
    font-size: 11px;
    vertical-align: middle;
    font-weight: 600;
}

/* ============================================
   ESTADOS VACÍOS
   ============================================ */
.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--gray);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 12px;
    }

    .content-card {
        padding: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .blockchain-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .blockchain-value {
        text-align: left;
        width: 100%;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-action {
        width: 100%;
        justify-content: center;
    }

    .header-content {
        flex-direction: column;
        gap: 12px;
    }

    .verification-banner {
        flex-direction: column;
        text-align: center;
    }

    .tab {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 18px;
    }

    .banner-title {
        font-size: 16px;
    }

    .banner-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* ============================================
   ACORDEONES
   ============================================ */
.accordion {
    margin-bottom: 15px;
}

.accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 0;
}

.accordion-button {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(var(--blur));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md) !important;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    padding: 18px 24px;
    transition: all var(--transition) ease;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.accordion-button:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.5);
    outline: none;
}

/* Ocultar la flecha por defecto de Bootstrap */
.accordion-button::after {
    display: none;
}

/* Crear nuestra propia flecha personalizada */
.accordion-button::before {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform var(--transition) ease;
    color: #9dabe9;
    font-size: 14px;
}

.accordion-button:not(.collapsed)::before {
    transform: translateY(-50%) rotate(-180deg);
    color: #9dabe9;
}

.accordion-button.collapsed::before {
    color: rgba(255, 255, 255, 0.6);
}

.accordion-body {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(var(--blur));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 24px;
    margin-top: -12px;
}

.accordion-button i {
    margin-right: 12px;
    color: #9dabe9;
    font-size: 18px;
}

/* Ajuste para acordeones colapsados */
.accordion-collapse:not(.show) {
    display: none;
}

.accordion-collapse.show {
    display: block;
}

/* Animación suave */
.accordion-collapse {
    transition: height 0.35s ease;
}

/* ============================================
   UTILIDADES
   ============================================ */
.mt-3 {
    margin-top: 15px !important;
}

.me-2 {
    margin-right: 12px !important;
}

/* Ocultar scrollbar pero mantener funcionalidad */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.footer {
            text-align: center;
            padding: 40px 20px;
            color: var(--gray);
            font-size: 14px;
        }

        .footer a {
            color: var(--primary);
            text-decoration: none;
        }

        .footer a:hover {
            text-decoration: underline;
        }


/*Inicial*/
        .container {
            position: relative;
            z-index: 1;
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .hero-section {
            text-align: center;
            padding: 80px 20px 60px;
        }

        .logo-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 30px;
        }

        .logo-container img {
            width: 180px;
            height: auto;
        }

        .hero-title {
            font-size: 42px;
            font-weight: 800;
            margin-bottom: 15px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: 18px;
            color: #d1d5db;
            max-width: 600px;
            margin: 0 auto 40px;
            line-height: 1.6;
        }

        .search-container {
            max-width: 700px;
            margin: 0 auto 50px;
        }

        .search-box {
            display: flex;
            gap: 12px;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(20px);
            border: 2px solid rgba(255, 255, 255, 0.15);
            border-radius: 30px;
            padding: 8px;
            transition: all 0.3s ease;
        }

        .search-box:focus-within {
            border-color: #667eea;
            box-shadow: 0 0 30px rgba(102, 126, 234, 0.4);
        }

        .search-input {
            flex: 1;
            background: transparent;
            border: none;
            outline: none;
            color: #ffffff;
            font-size: 16px;
            padding: 12px 20px;
            font-family: 'Poppins', sans-serif;
        }

        .search-input::placeholder {
            color: #9ca3af;
        }

        .search-btn {
            padding: 12px 32px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border: none;
            border-radius: 30px;
            color: #ffffff;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 16px;
        }

        .search-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
        }

        .search-example {
            text-align: center;
            margin-top: 12px;
            font-size: 14px;
            color: #9ca3af;
        }

        .search-example a {
            color: #667eea;
            text-decoration: none;
            cursor: pointer;
        }

        .search-example a:hover {
            text-decoration: underline;
        }

        .options-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
            margin-top: 60px;
        }

        .option-card {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 24px;
            padding: 32px;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .option-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .option-card:hover::before {
            opacity: 1;
        }

        .option-card:hover {
            transform: translateY(-8px);
            border-color: rgba(102, 126, 234, 0.3);
            box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
        }

        .option-icon {
            width: 70px;
            height: 70px;
            margin: 0 auto 20px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
            position: relative;
            z-index: 1;
            color: #ffffff;
        }

        .option-title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 10px;
            color: #ffffff;
            position: relative;
            z-index: 1;
        }

        .option-description {
            font-size: 14px;
            color: #d1d5db;
            line-height: 1.5;
            position: relative;
            z-index: 1;
        }

        .option-ai {
            display: inline-block;
            margin-top: 12px;
            padding: 4px 12px;
            background: rgba(102, 126, 234, 0.2);
            border-radius: 8px;
            font-size: 12px;
            color: #667eea;
            font-weight: 600;
            position: relative;
            z-index: 1;
        }

        .footer {
            text-align: center;
            padding: 40px 20px;
            color: #9ca3af;
            font-size: 14px;
        }

        .footer a {
            color: #667eea;
            text-decoration: none;
        }

        .footer a:hover {
            text-decoration: underline;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 32px;
            }

            .hero-subtitle {
                font-size: 16px;
            }

            .search-box {
                flex-direction: column;
            }

            .search-btn {
                width: 100%;
            }

            .options-grid {
                grid-template-columns: 1fr;
            }
        }