/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BNBFund Color Palette Variables */
:root {
    /* Primary Colors */
    --bnb-gold: #FFB84D;
    --bnb-gold-soft: #F5BF5D;
    --bnb-coral: #EB5F46;
    --bnb-purple: #51277B;
    --bnb-navy: #25244A;
    
    /* Gradient Combinations */
    --gradient-primary: linear-gradient(135deg, var(--bnb-gold) 0%, var(--bnb-gold-soft) 50%, var(--bnb-coral) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--bnb-purple) 0%, var(--bnb-navy) 100%);
    --gradient-tertiary: linear-gradient(135deg, var(--bnb-coral) 0%, var(--bnb-purple) 100%);
    
    /* Background Variants */
    --bg-primary: var(--bnb-navy);
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-accent: var(--bnb-gold-soft);
    
    /* Border Colors */
    --border-primary: rgba(255, 255, 255, 0.1);
    --border-secondary: rgba(255, 255, 255, 0.2);
    --border-accent: var(--bnb-coral);
    
    /* Shadow Colors */
    --shadow-primary: rgba(37, 36, 74, 0.3);
    --shadow-accent: rgba(235, 95, 70, 0.3);
    --shadow-gold: rgba(245, 191, 93, 0.3);

    /* CRÍTICO: Mantener variables específicas de INDEX para compatibilidad con JavaScript */
    --color-gold-index: #F5BF5D;
    --color-pink-index: #EB5FA6;
    --color-purple-index: #25244A;
    --color-dark-purple-index: #25244A;
}

html {
    font-size: 16px;
}

/* CRÍTICO: Mantener estilo de body para compatibilidad */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: #25244A; /* Específico para index */
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Header */
.header {
    padding: 1rem 0;
    background: var(--bnb-navy);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-primary);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-img {
    height: 2.5rem;
    width: auto;
    max-width: 100%;
    filter: brightness(1.2);
    object-fit: contain;
}

/* CRÍTICO: Mantener estilo del botón de conexión para JavaScript */
.connect-wallet-btn {
    background: var(--gradient-tertiary);
    border: 1px solid var(--border-accent);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px var(--shadow-accent);
}

.connect-wallet-btn:hover {
    background: var(--gradient-primary);
    border-color: var(--bnb-gold-soft);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-gold);
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 2.5rem;
}

.welcome-card {
    background: var(--gradient-primary);
    border-radius: 1.25rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1.25rem 2.5rem var(--shadow-gold);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    border: 1px solid var(--bnb-gold-soft);
}

.welcome-content {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 300px;
}

.welcome-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bnb-navy);
    text-shadow: 2px 2px 4px rgba(37, 36, 74, 0.3);
}

.welcome-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--bnb-navy);
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.welcome-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* CRÍTICO: Mantener estilos de botones para compatibilidad con JavaScript */
.btn {
    padding: 0.875rem 1.75rem;
    border-radius: 0.625rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    min-width: 140px;
    flex: 1;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--bnb-navy);
    color: var(--text-primary);
    box-shadow: 0 6px 12px var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--bnb-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--shadow-primary);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-gold-index);
    color: var(--bnb-navy);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--color-gold-index);
    z-index: -1;
    transition: width 0.3s ease;
}

.btn-secondary:hover:not(:disabled) {
    color: var(--color-dark-purple-index);
}

.btn-secondary:hover::before {
    width: 100%;
}

/* Coins Animation */
.welcome-coins {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    pointer-events: none;
    opacity: 0.8;
}

.coin {
    position: absolute;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.coin-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.coin-1 {
    width: 5.5rem;
    height: 5.5rem;
    top: 20%;
    right: 15%;
    animation: float 3s ease-in-out infinite;
}

.coin-2 {
    width: 4.25rem;
    height: 4.25rem;
    top: 60%;
    right: 25%;
    animation: float 3s ease-in-out infinite 0.5s;
}

.coin-3 {
    width: 6.75rem;
    height: 6.75rem;
    top: 40%;
    right: 5%;
    animation: float 3s ease-in-out infinite 1s;
}

.coin-4 {
    width: 3.5rem;
    height: 3.5rem;
    top: 10%;
    right: 35%;
    animation: float 3s ease-in-out infinite 1.5s;
}

.coin-5 {
    width: 5rem;
    height: 5rem;
    top: 70%;
    right: 10%;
    animation: float 3s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-1.25rem) rotate(180deg); }
}

/* Statistics Overview Section */
.stats-overview-section {
    margin-bottom: 2.5rem;
}

.stats-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* CRÍTICO: Mantener clases .stat-card para JavaScript */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--bnb-coral);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--shadow-accent);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stat-title {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.3;
}

.stat-header i {
    font-size: 1.2rem;
    color: var(--bnb-gold-soft);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-header i {
    color: var(--bnb-coral);
    opacity: 1;
    transform: scale(1.1);
}

.stat-content {
    text-align: center;
}

.stat-number {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--bnb-gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px var(--shadow-gold);
    line-height: 1.1;
}

.stat-label {
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: var(--bnb-gold-soft);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Account Preview */
.account-preview {
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 0 2px 4px var(--shadow-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: var(--bnb-coral);
    font-weight: 600;
    text-shadow: 0 1px 2px var(--shadow-accent);
}

.preview-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.input-section {
    flex: 1;
    max-width: 400px;
    min-width: 280px;
}

.input-group {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    flex-wrap: wrap;
}

/* CRÍTICO: Mantener ID userInput para JavaScript */
.preview-input {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 0.5rem;
    padding: 0.875rem 1.125rem;
    color: var(--text-primary);
    font-size: 1rem;
    flex: 1;
    min-width: 180px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.preview-input:focus {
    outline: none;
    border-color: var(--bnb-coral);
    box-shadow: 0 0 0 3px rgba(235, 95, 70, 0.2);
}

.preview-input::placeholder {
    color: var(--text-muted);
}

.btn-preview {
    background: var(--gradient-tertiary);
    color: var(--text-primary);
    min-width: 100px;
    box-shadow: 0 4px 12px var(--shadow-accent);
}

.btn-preview:hover {
    background: var(--gradient-primary);
    box-shadow: 0 6px 16px var(--shadow-gold);
}

.demo-section {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
    margin-top: 0;
}

.btn-demo {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-secondary);
    min-width: 120px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px var(--shadow-primary);
    padding: 0.875rem 1.75rem;
}

.btn-demo:hover {
    background: var(--bg-card-hover);
    border-color: var(--bnb-gold-soft);
    color: var(--bnb-gold-soft);
}

/* Botones de ejemplo - CRÍTICO: Mantener para JavaScript */
.example-btn {
    background: rgba(245, 191, 93, 0.1);
    border: 1px solid rgba(245, 191, 93, 0.3);
    color: var(--color-gold-index);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

.example-btn:hover {
    background: rgba(245, 191, 93, 0.2);
    border-color: var(--color-gold-index);
    transform: translateY(-1px);
}

/* Activity Section */
.activity-section {
    margin-bottom: 2.5rem;
}

.activity-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

/* CRÍTICO: Mantener clases .activity-card para JavaScript */
.activity-card, .stats-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px var(--shadow-primary);
    transition: all 0.3s ease;
}

.activity-card:hover, .stats-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--bnb-coral);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--shadow-accent);
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.activity-title {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 0 1px 2px var(--shadow-primary);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    flex-wrap: wrap;
    border: 1px solid transparent;
}

.activity-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--bnb-coral);
    transform: translateX(4px);
}

.activity-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    color: var(--text-muted);
    flex-shrink: 0;
    border: 1px solid var(--border-primary);
}

.activity-icon.earned {
    background: var(--gradient-primary);
    color: var(--bnb-navy);
    border-color: var(--bnb-gold-soft);
    box-shadow: 0 2px 8px var(--shadow-gold);
}

.activity-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 150px;
}

.activity-type {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.activity-id {
    color: var(--bnb-coral);
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px var(--shadow-accent);
}

.activity-earning {
    color: var(--bnb-gold-soft);
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px var(--shadow-gold);
}

.activity-time {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    flex-shrink: 0;
}
/* Stats Card */
.stats-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 400px;
    height: auto;
    overflow: hidden;
    justify-content: center;
}

.stats-section {
    position: relative;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    flex: 1;
}

.stats-section:hover {
    border-color: var(--bnb-gold-soft);
    background: var(--bg-card-hover);
}

.stats-title {
    color: var(--text-primary);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-weight: 600;
    text-align: center;
    justify-content: center;
}

/* Information Links */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-height: 350px;
    overflow-y: auto;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 0.75rem;
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    position: relative;
}

.info-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 0 0.5rem 0.5rem 0;
}

.info-item:hover {
    border-color: var(--bnb-coral);
    background: var(--bg-card-hover);
    transform: translateX(4px);
    box-shadow: 0 4px 12px var(--shadow-accent);
}

.info-label {
    font-weight: 600;
    color: var(--bnb-gold-soft);
    font-size: 0.9rem;
    text-shadow: 0 1px 2px var(--shadow-gold);
    margin-bottom: 0.25rem;
}

.info-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-family: monospace;
    word-break: break-all;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.info-link:hover {
    color: var(--bnb-coral);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.info-link i {
    color: var(--text-muted);
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-left: auto;
    transition: all 0.3s ease;
}

.info-link:hover i {
    color: var(--bnb-coral);
    transform: scale(1.1);
}

/* Technology Section */
.technology-section {
    margin-bottom: 3rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(37, 36, 74, 0.3) 0%, rgba(81, 39, 123, 0.2) 100%);
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-primary);
}

.technology-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.technology-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px var(--shadow-primary);
}

.technology-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.tech-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--bnb-coral);
    transform: translateY(-8px);
    box-shadow: 0 16px 40px var(--shadow-accent);
}

.tech-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-secondary);
    border-radius: 50%;
    padding: 1rem;
    box-shadow: 0 8px 20px var(--shadow-primary);
    transition: all 0.3s ease;
}

.tech-card:hover .tech-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px var(--shadow-gold);
}

.tech-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.tech-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--bnb-gold-soft);
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px var(--shadow-gold);
}

.tech-description {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Partners Section */
.partners-section {
    margin-bottom: 3rem;
    padding: 3rem 0;
    text-align: center;
}

.partners-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.partners-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px var(--shadow-primary);
}

.partners-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    align-items: center;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
}

.partner-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
}

.partner-item:hover .partner-logo {
    transform: scale(1.1);
    filter: brightness(1.3) contrast(1.2);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(255, 184, 77, 0.3);
}

.partner-name {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    color: var(--bnb-gold-soft);
    margin: 0;
    text-shadow: 0 1px 2px var(--shadow-gold);
    transition: all 0.3s ease;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 3rem;
    padding: 3rem 0;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px var(--shadow-primary);
}

.faq-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-primary);
    transition: all 0.3s ease;
}

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--bnb-gold-soft);
}

.faq-question span {
    flex: 1;
    margin-right: 1rem;
}

.faq-icon {
    font-size: 1rem;
    color: var(--bnb-gold-soft);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-question {
    color: var(--bnb-gold-soft);
}

.faq-item.active .faq-answer {
    background: rgba(255, 184, 77, 0.05);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(37, 36, 74, 0.95) 0%, rgba(81, 39, 123, 0.9) 100%);
    border-top: 1px solid var(--border-primary);
    backdrop-filter: blur(10px);
    margin-top: 4rem;
    padding: 2.5rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex !important;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    overflow-x: auto;
    padding: 0 0.5rem;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    box-sizing: border-box;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 184, 77, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

.footer-link:hover {
    color: var(--bnb-gold-soft);
    background: rgba(255, 184, 77, 0.1);
    border-color: var(--bnb-gold-soft);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 184, 77, 0.2);
}

.footer-link i {
    font-size: 1.1rem;
    color: var(--bnb-coral);
}

.footer-copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-copyright p {
    color: var(--text-secondary);
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
    margin: 0;
    opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   🏗️ ESTILOS ESPECÍFICOS DE NAVBAR INDEX
   ═══════════════════════════════════════════════════════════════════════════════ */

.navbar-logo {
    height: 64px;
    width: 64px;
}

.navbar-glass {
    background: transparent !important;
    border-color: transparent !important;
    
}

.navbar-glass.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    border-color: rgba(245, 191, 93, 0.2) !important;
}

/* Partners Section */
.partners-section {
    margin-bottom: 3rem;
    padding: 3rem 0;
    text-align: center;
}

.partners-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.partners-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px var(--shadow-primary);
}

.partners-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    align-items: center;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
}

.partner-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
}

.partner-item:hover .partner-logo {
    transform: scale(1.1);
    filter: brightness(1.3) contrast(1.2);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(255, 184, 77, 0.3);
}

.partner-name {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    color: var(--bnb-gold-soft);
    margin: 0;
    text-shadow: 0 1px 2px var(--shadow-gold);
    transition: all 0.3s ease;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 3rem;
    padding: 3rem 0;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px var(--shadow-primary);
}

.faq-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    border-color: rgba(245, 191, 93, 0.1);
}

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

.faq-item:hover {
    background: rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--bnb-gold-soft);
}

.faq-question span {
    flex: 1;
    margin-right: 1rem;
}

.faq-icon {
    font-size: 1rem;
    color: var(--bnb-gold-soft);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-question {
    color: var(--bnb-gold-soft);
}

.faq-item.active .faq-answer {
    background: rgba(255, 184, 77, 0.05);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(37, 36, 74, 0.95) 0%, rgba(81, 39, 123, 0.9) 100%);
    border-top: 1px solid var(--border-primary);
    backdrop-filter: blur(10px);
    margin-top: 4rem;
    padding: 2.5rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex !important;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    overflow-x: auto;
    padding: 0 0.5rem;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    box-sizing: border-box;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 184, 77, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

.footer-link:hover {
    color: var(--bnb-gold-soft);
    background: rgba(255, 184, 77, 0.1);
    border-color: var(--bnb-gold-soft);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 184, 77, 0.2);
}

.footer-link i {
    font-size: 1.1rem;
    color: var(--bnb-coral);
}

.footer-copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-copyright p {
    color: var(--text-secondary);
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
    margin: 0;
    opacity: 0.8;
}

/* Language Selector */
.language-selector {
    position: fixed;
    bottom: 5rem;
    right: 1.875rem;
    z-index: 1000;
}

.language-btn {
    background: var(--gradient-tertiary);
    color: var(--text-primary);
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 1.5625rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 0.75rem var(--shadow-accent);
    font-size: 0.875rem;
    border: 1px solid var(--bnb-coral);
}

.language-btn:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem var(--shadow-gold);
}

/* Help Button */
.help-button {
    position: fixed;
    bottom: 1.25rem;
    right: 1.875rem;
    z-index: 1000;
}

.help-btn {
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 50%;
    background: var(--gradient-secondary);
    color: var(--text-primary);
    border: 2px solid var(--bnb-purple);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.25rem 0.75rem var(--shadow-primary);
}

.help-btn:hover {
    background: var(--gradient-tertiary);
    border-color: var(--bnb-coral);
    transform: scale(1.1);
    box-shadow: 0 0.5rem 1rem var(--shadow-accent);
}

/* CRÍTICO: Mantener utilidades específicas para JavaScript */
.text-accent {
    color: var(--color-gold-index);
}

.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
    will-change: transform;
}

/* CRÍTICO: Mantener estilos para IDs específicos utilizados por JavaScript */
#userInput, 
#previewButton, 
#checkDemoButton {
    pointer-events: auto !important;
    z-index: 10;
    position: relative;
}

#mainActionButton {
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Estilos para la imagen del hero dinámico */
.hero-main-image {
    max-width: 200px;
    width: auto;
    height: auto;
    margin: 0 auto;
    display: block;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.hero-main-image.hero-register {
    max-width: 250px;
    filter: brightness(1.1);
}

/* Estados dinámicos para hero elements */
#heroTitle {
    transition: all 0.3s ease;
}

#heroSubtitle {
    transition: all 0.3s ease;
}

/* CRÍTICO: Mantener estilos de validación y mensajes para compatibilidad */
.validation-message {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid;
    animation: slideInFromTop 0.3s ease-out;
}

.validation-message.text-red-400 {
    border-left-color: #f87171;
    color: #f87171;
}

.validation-message.text-yellow-400 {
    border-left-color: #facc15;
    color: #facc15;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estados de botones durante carga */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

button .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold-index);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-pink-index);
}

/* CRÍTICO: Utilidades específicas preservadas */
.invisible-scroll {
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.invisible-scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.increment-indicator {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #10b981;
    margin-top: 0.5rem;
}

.activity-card {
    height: 400px;
    display: flex;
    flex-direction: column;
}

.activity-content {
    flex: 1;
    overflow: hidden;
}

/* CRÍTICO: Footer override específico para index */
footer.glass-effect,
footer.glass-effect:hover,
footer.glass-effect:focus,
footer.glass-effect:active {
    background: rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(245, 191, 93, 0.2) !important;
}

footer a {
    color: #9ca3af !important;
}

footer a:hover {
    color: #9ca3af !important;
}

footer a::after {
    display: none;
}

/* Media Queries Responsive */

/* Mobile Large (481px - 767px) */
@media screen and (max-width: 767px) {
    html {
        font-size: 14px;
    }
    
    .header {
        padding: 0.75rem 0;
    }
    
    .header .container {
        gap: 0.5rem;
    }
    
    .logo-img {
        height: 2rem;
        max-width: 150px;
    }
    
    .connect-wallet-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .main-content {
        padding: 1.5rem 0;
    }
    
    .welcome-card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .welcome-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
        min-width: auto;
    }
    
    .stats-overview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .activity-card, .stats-card {
        padding: 1.25rem;
    }
    
    .preview-controls {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    
    .input-section {
        width: 100%;
        max-width: 100%;
    }
    
    .input-group {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .demo-section {
        justify-content: center;
        width: 100%;
    }
    
    .preview-input {
        min-width: auto;
        width: 100%;
    }
    
    .btn-preview, .btn-demo {
        width: 100%;
    }
    
    .technology-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .tech-card {
        padding: 1.25rem;
    }
    
    .tech-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .partner-logo {
        width: 90px;
        height: 90px;
    }
    
    .language-selector, .help-button {
        right: 1rem;
    }
    
    .language-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .help-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .language-selector {
        bottom: 4rem;
    }
    
    .welcome-coins {
        display: none;
    }
    
    .footer-links {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.8rem;
        justify-content: flex-start;
        align-items: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 0.5rem;
        scroll-behavior: smooth;
    }

    .footer-link {
        padding: 0.75rem 1rem;
        font-size: clamp(0.8rem, 1.8vw, 0.9rem);
        width: auto;
        flex-shrink: 0;
        justify-content: center;
        white-space: nowrap;
    }
}

/* Mobile Medium (376px - 480px) */
@media screen and (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .logo-img {
        height: 1.8rem;
        max-width: 120px;
    }
    
    .stats-overview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .activity-list {
        gap: 0.75rem;
        max-height: 250px;
    }
    
    .activity-item {
        padding: 0.375rem;
    }
    
    .stats-card {
        padding: 1.25rem;
    }
    
    .info-list {
        gap: 0.8rem;
        max-height: 200px;
    }
    
    .info-item {
        padding: 0.7rem;
    }
    
    .info-label {
        font-size: 0.75rem;
    }
    
    .info-link {
        font-size: 0.7rem;
        padding: 0.35rem;
        line-height: 1.2;
    }
    
    .info-link i {
        font-size: 0.65rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .partner-logo {
        width: 80px;
        height: 80px;
    }
    
    .footer-links {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.4rem;
        justify-content: flex-start;
        align-items: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 0.5rem;
        scroll-behavior: smooth;
    }

    .footer-link {
        padding: 0.5rem 0.7rem;
        font-size: 0.75rem;
        width: auto;
        min-width: auto;
        flex-shrink: 0;
        justify-content: center;
        white-space: nowrap;
        display: flex;
        align-items: center;
    }
}

/* Mobile Small (320px - 375px) */
@media screen and (max-width: 375px) {
    html {
        font-size: 12px;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .logo-img {
        height: 1.5rem;
        max-width: 100px;
    }
    
    .welcome-card, .stat-card, .activity-card, .stats-card {
        padding: 1rem;
    }
    
    .info-list {
        gap: 0.6rem;
        max-height: 160px;
    }
    
    .info-item {
        padding: 0.5rem;
    }
    
    .info-label {
        font-size: 0.65rem;
        margin-bottom: 0.25rem;
    }
    
    .info-link {
        font-size: 0.6rem;
        padding: 0.25rem;
        line-height: 1.1;
    }
    
    .info-link i {
        font-size: 0.55rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .partner-logo {
        width: 70px;
        height: 70px;
    }
    
    .language-selector, .help-button {
        right: 0.75rem;
    }
    
    .language-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.7rem;
    }
    
    .help-btn {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.9rem;
    }
    
    .footer-links {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.3rem;
        justify-content: flex-start;
        align-items: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 0.25rem;
        scroll-behavior: smooth;
    }

    .footer-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
        width: auto;
        min-width: auto;
        flex-shrink: 0;
        justify-content: center;
        white-space: nowrap;
        display: flex;
        align-items: center;
    }
    
    .footer-link i {
        font-size: 0.9rem;
    }
}

/* Tablet (768px - 1023px) */
@media screen and (max-width: 1023px) {
    .stats-overview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .activity-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-card {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .technology-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .tech-card {
        padding: 1.5rem;
    }
    
    .tech-icon {
        width: 70px;
        height: 70px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .partner-logo {
        width: 90px;
        height: 90px;
    }
}

/* Large Desktop (1200px+) */
@media screen and (min-width: 1200px) {
    .activity-grid {
        grid-template-columns: 1.6fr 1fr;
        gap: 2rem;
    }
    
    .stats-card {
        min-height: 400px;
    }
    
    .stats-overview-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.8rem;
    }
    
    .technology-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.2rem;
    }
}

/* Ultra Wide Screens (1400px+) */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .welcome-card {
        padding: 3rem;
    }
    
    .stats-card {
        min-height: 450px;
        padding: 2.5rem;
    }
    
    .technology-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .tech-card {
        padding: 2.5rem;
    }
    
    .tech-icon {
        width: 90px;
        height: 90px;
    }
}