/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Nueva paleta de colores verde difuminado con blanco, negro y gris */
    --primary-color: #10b981; /* Verde esmeralda principal */
    --primary-dark: #059669; /* Verde más oscuro */
    --primary-light: #34d399; /* Verde claro */
    --secondary-color: #ffffff; /* Blanco puro */
    --accent-green: #6ee7b7; /* Verde agua claro */
    --accent-mint: #a7f3d0; /* Verde menta */
    --text-dark: #1f2937; /* Negro suave */
    --text-medium: #374151; /* Gris oscuro */
    --text-light: #6b7280; /* Gris medio */
    --gray-light: #f9fafb; /* Gris muy claro */
    --gray-medium: #e5e7eb; /* Gris claro */
    --gray-dark: #6b7280; /* Gris medio */
    --success-color: #10b981; /* Verde éxito */
    --warning-color: #f59e0b; /* Mantener dorado para alertas */
    --danger-color: #ef4444; /* Mantener rojo para errores */
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #34d399 100%); /* Gradiente verde */
    --gradient-light: linear-gradient(135deg, #a7f3d0 0%, #ffffff 100%); /* Gradiente verde claro a blanco */
    --gradient-success: linear-gradient(135deg, #10b981 0%, #6ee7b7 100%); /* Gradiente verde éxito */
    --border-radius: 16px;
    --shadow: 0 4px 6px rgba(16, 185, 129, 0.07); /* Sombra con tinte verde */
    --shadow-lg: 0 20px 25px rgba(16, 185, 129, 0.1); /* Sombra grande verde */
    --shadow-xl: 0 25px 50px rgba(16, 185, 129, 0.15); /* Sombra extra grande verde */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--secondary-color);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.8rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.admin-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 50%, #10b981 100%);
    color: var(--text-dark);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.star-icon {
    display: inline-block;
    animation: pulse 2s infinite;
    color: var(--warning-color);
}

/* Animaciones de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Aplicar animaciones a elementos */
.hero-title {
    animation: fadeInUp 0.8s ease-out;
}

.hero-description {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.prize-card {
    animation: scaleIn 0.8s ease-out 0.6s both;
}

.floating-number:nth-child(1) {
    animation: float 3s ease-in-out infinite, fadeInRight 0.8s ease-out 0.8s both;
}

.floating-number:nth-child(2) {
    animation: float 3s ease-in-out infinite 0.5s, fadeInLeft 0.8s ease-out 1s both;
}

.floating-number:nth-child(3) {
    animation: float 3s ease-in-out infinite 1s, fadeInRight 0.8s ease-out 1.2s both;
}

.floating-number:nth-child(4) {
    animation: float 3s ease-in-out infinite 1.5s, fadeInLeft 0.8s ease-out 1.4s both;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-medium);
}

.highlight {
    color: var(--primary-dark);
    font-weight: 600;
}

.cta-text {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
    border: 1px solid #000000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: #000000;
    border: 1px solid #000000;
    position: relative;
}

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

.btn-secondary:hover {
    color: #000000;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: rgba(0, 0, 0, 0.05);
}

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

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prize-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    text-align: center;
    position: relative;
    z-index: 2;
    border: 1px solid #000000;
}



.prize-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.prize-header i {
    font-size: 1.8rem;
}

.prize-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #f59e0b;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-text-stroke: 0.5px #000000;
}

.prize-date {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
}

.floating-numbers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-number {
    position: absolute;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.1rem;
    animation: float 3s ease-in-out infinite;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-number:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-number:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 0.5s;
}

.floating-number:nth-child(3) {
    bottom: 30%;
    left: 5%;
    animation-delay: 1s;
}

.floating-number:nth-child(4) {
    bottom: 10%;
    right: 15%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { 
        box-shadow: var(--shadow-lg), 0 0 20px rgba(99, 102, 241, 0.3);
    }
    50% { 
        box-shadow: var(--shadow-xl), 0 0 30px rgba(99, 102, 241, 0.5);
    }
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Cronograma */
.cronograma {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.cronograma-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cronograma-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.cronograma-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: width 0.5s ease;
}

.cronograma-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.cronograma-card:hover::before {
    width: 100%;
}

.cronograma-card.highlight {
    border-left-color: var(--warning-color);
    background: linear-gradient(135deg, #fef3c7 0%, white 100%);
}

.cronograma-card.highlight:hover {
    animation: glow 2s ease-in-out infinite;
}

.cronograma-card.special {
    border-left-color: var(--success-color);
    background: linear-gradient(135deg, #d1fae5 0%, white 100%);
}

.cronograma-card.grand-prize {
    border-left-color: var(--danger-color);
    background: linear-gradient(135deg, #fee2e2 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.cronograma-card.grand-prize::after {
    content: '🎯';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.cronograma-date {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cronograma-prize {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cronograma-lottery {
    color: var(--text-light);
    font-size: 0.9rem;
}

.premios-totales {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.premios-totales h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.premios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.premio-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.premio-item:hover {
    background: var(--primary-light);
    color: white;
}

.premio-item.grand {
    background: var(--primary-color);
    color: white;
}

.premio-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.premio-item.grand i,
.premio-item:hover i {
    color: white;
}

/* Comprar Número */
.comprar-numero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fffe 0%, #f0fdfa 100%);
}

.comprar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.numero-input-section {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--accent-mint);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-medium);
}

.input-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--accent-mint);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
    background: white;
    color: var(--text-dark);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    transform: scale(1.02);
}

.btn-verificar {
    width: 100%;
    margin-top: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-verificar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-verificar:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-verificar:hover::before {
    left: 100%;
}

.estado-numero {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
}

.estado-numero.disponible {
    background: var(--success-color);
    color: white;
}

.estado-numero.no-disponible {
    background: var(--danger-color);
    color: white;
}

.estado-numero.reservado {
    background: var(--warning-color);
    color: var(--text-dark);
}

.boton-compra {
    margin-top: 1rem;
}

.info-compra {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-medium);
}

.info-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.info-item i {
    color: var(--primary-color);
    width: 20px;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin: 0.5rem 0;
    transition: var(--transition);
}

.support-link:hover {
    color: var(--primary-dark);
}

.warning {
    font-size: 0.9rem;
    color: var(--danger-color);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Participantes */
.participantes {
    padding: 80px 0;
    background: var(--gray-light);
}

.participantes-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

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

.participantes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.participante-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.5s ease-out;
}

.participante-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: width 0.4s ease;
}

.participante-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.participante-card:hover::before {
    width: 100%;
}

.participante-card.pendiente {
    border-left-color: var(--warning-color);
}

.participante-card.pendiente:hover {
    box-shadow: var(--shadow-xl), 0 0 20px rgba(245, 158, 11, 0.2);
}

.participante-card.confirmado {
    border-left-color: var(--success-color);
}

.participante-card.confirmado:hover {
    box-shadow: var(--shadow-xl), 0 0 20px rgba(16, 185, 129, 0.2);
}

.participante-numero {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.participante-card:hover .participante-numero {
    transform: scale(1.1);
}

.participante-alias {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.participante-estado {
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.participante-estado.confirmado {
    background: var(--success-color);
    color: white;
}

.participante-estado.pendiente {
    background: var(--warning-color);
    color: var(--text-dark);
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.loading i {
    margin-right: 0.5rem;
}

/* Comunidad */
.comunidad {
    padding: 80px 0;
    background: white;
}

.comunidad-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.comunidad-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-light);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.comunidad-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.comunidad-link.telegram:hover {
    background: #0088cc;
    color: white;
}

.comunidad-link.whatsapp:hover {
    background: #25d366;
    color: white;
}

.link-icon {
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.comunidad-link.telegram .link-icon {
    color: #0088cc;
}

.comunidad-link.whatsapp .link-icon {
    color: #25d366;
}

.comunidad-link:hover .link-icon {
    color: white;
}

.link-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.link-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.link-url {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.comunidad-link:hover .link-content h3,
.comunidad-link:hover .link-content p,
.comunidad-link:hover .link-url {
    color: white;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--gray-dark);
    padding-top: 1rem;
    text-align: center;
    color: var(--gray-medium);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.modal-content.success {
    text-align: center;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-medium);
}

.modal-header h3 {
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 1.5rem;
}

.paso-pago,
.paso-confirmacion {
    margin-bottom: 2rem;
}

.paso-pago h4,
.paso-confirmacion h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.wallet-info {
    margin-bottom: 1rem;
}

.wallet-info label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.wallet-address {
    display: flex;
    gap: 0.5rem;
}

.wallet-address input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--gray-medium);
    border-radius: var(--border-radius);
    background: var(--gray-light);
    color: var(--text-dark);
    font-family: monospace;
    font-size: 0.9rem;
}

.btn-copy {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.btn-copy:hover {
    background: var(--primary-dark);
}

.amount-info {
    background: var(--primary-light);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-medium);
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: white;
    color: var(--text-dark);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.1);
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.success-icon i {
    animation: checkmark 0.6s ease-in-out;
}

@keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Validation Status Styles */
.validation-status {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
    font-weight: 500;
}

.validation-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.validation-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.validation-status.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    display: block;
}

/* Form Help Styles */
.form-help {
    margin-top: 12px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 6px;
    font-size: 13px;
    border-left: 4px solid #6366f1;
}

.form-help p {
    margin: 0 0 8px 0;
}

.form-help ul {
    margin: 8px 0;
    padding-left: 20px;
}

.form-help li {
    margin-bottom: 4px;
}

.form-help a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.form-help a:hover {
    text-decoration: underline;
}

/* Hash Input Specific Styles */
#hashTransaccion {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    letter-spacing: 0.5px;
}

#hashTransaccion:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

#hashTransaccion.valid {
    border-color: #10b981;
    background-color: #f0fdf4;
}

#hashTransaccion.invalid {
    border-color: #ef4444;
    background-color: #fef2f2;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-main-title {
        font-size: 3.5rem;
    }
    
    .hero-main-title .star-icon {
        font-size: 4rem;
    }
    
    .hero-main-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-content {
        gap: 40px;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .prize-amount {
        font-size: 2.5rem;
    }
    
    .cronograma-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-header-full {
        padding: 40px 0;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-main-title .star-icon {
        font-size: 3rem;
        margin-right: 10px;
    }
    
    .hero-main-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0.75rem 0;
    }

    .nav {
        gap: 1.5rem;
        order: 2;
    }
    
    .admin-btn {
        order: 1;
        align-self: flex-end;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: 80vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        flex: 1;
        min-width: 200px;
        justify-content: center;
    }

    .prize-card {
        padding: 2rem;
        margin: 0 auto;
        max-width: 300px;
    }
    
    .prize-amount {
        font-size: 2.2rem;
    }

    .comprar-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .numero-input-section {
        padding: 1.5rem;
    }

    .cronograma-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cronograma-card {
        padding: 1.25rem;
    }

    .participantes-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 0.75rem;
    }
    
    .participante-card {
        padding: 1.25rem;
    }

    .comunidad-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .modal-content {
        width: 95%;
        margin: 1rem;
        max-height: 85vh;
    }

    .wallet-address {
        flex-direction: column;
        gap: 0.75rem;
    }

    .participantes-filters {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .filter-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        min-width: auto;
        flex: none;
        width: 100%;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .prize-card {
        padding: 1.5rem;
        max-width: 280px;
    }
    
    .prize-amount {
        font-size: 2rem;
    }
    
    .prize-header {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .cronograma-card {
        padding: 1rem;
    }
    
    .cronograma-date {
        font-size: 1rem;
    }
    
    .cronograma-prize {
        font-size: 1rem;
    }

    .participante-numero {
        font-size: 1.5rem;
    }
    
    .participante-card {
        padding: 1rem;
    }

    .participantes-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .input-group input {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .btn-verificar {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .comunidad-link {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .link-icon {
        font-size: 2.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

