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

body {
    font-family: 'Arial', sans-serif;
    background-color: #fafafa;
    color: #0d1d33;
    line-height: 1.6;
}

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

/* Header */
.header {
    background-color: #fafafa;
    color: #0d1d33;
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo a {
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff284d, #ff284d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    color: white;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #ff284d;
    border-radius: 50%;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.whatsapp-icon {
    color: white;
    font-size: 18px;
    margin-left: 10px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #0d1d33;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff284d;
}


.auth-buttons {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-login {
    background-color: #0d1d33;
    color: #fafafa;
    border: 2px solid #0d1d33;
}

.btn-login:hover {
    background-color: #fafafa;
    color: #0d1d33;
    border-color: #0d1d33;
}

.btn-join {
    background: linear-gradient(135deg, #ff284d, #ff284d);
    color: white;
}

.btn-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 40, 77, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(13, 29, 51, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(13, 29, 51, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(13, 29, 51, 0.03) 0%, transparent 50%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

/* Hero con imagen de fondo */
.hero.has-background-image {
    background-image: var(--hero-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
}

/* Hero responsive - usar imagen móvil en pantallas pequeñas */
@media (max-width: 768px) {
    .hero.has-background-image {
        /* Si hay imagen móvil definida, usarla; si no, mantener la de desktop */
        background-image: var(--hero-bg-image-mobile, var(--hero-bg-image));
        min-height: 400px;
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #0d1d33;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.lottery-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.lottery-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.powerball {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

.megamillions {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e3a8a;
    position: relative;
}

.megamillions::before {
    content: '★';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: #1e3a8a;
}

.hero-subtitle {
    font-family: 'Brush Script MT', cursive;
    font-size: 2rem;
    color: #0d1d33;
    font-weight: normal;
}

/* Balloons */
.balloons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.balloon {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

.balloon-blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.balloon-white {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.balloon-left {
    width: 80px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.balloon-left-small {
    width: 50px;
    height: 60px;
    top: 35%;
    left: 5%;
    animation-delay: 2s;
}

.balloon-right {
    width: 80px;
    height: 100px;
    top: 15%;
    right: 10%;
    animation-delay: 1s;
}

.balloon-right-small {
    width: 50px;
    height: 60px;
    top: 30%;
    right: 5%;
    animation-delay: 3s;
}

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

/* Lottery Selection Section */
.lottery-selection {
    padding: 80px 0;
    background-color: #282c34;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: white;
}

.lottery-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.lottery-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(13, 29, 51, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #0d1d33;
}

.lottery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(13, 29, 51, 0.2);
    border-color: #0d1d33;
}

.card-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.card-logo.powerball {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

.card-logo.megamillions {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e3a8a;
}

.card-logo.florida {
    background: linear-gradient(135deg, #10b981, #fbbf24);
    color: white;
}

.card-logo.euromillones {
    background: linear-gradient(135deg, #3b82f6, #f8fafc);
    color: #1e3a8a;
}

.card-logo.primitiva {
    background: linear-gradient(135deg, #10b981, #dc2626, #fbbf24);
    color: white;
}

.card-logo.enalotto {
    background: linear-gradient(135deg, #10b981, #fbbf24, #dc2626);
    color: white;
}

.card-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #0d1d33;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-jackpot {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #0d1d33;
}

.card-price {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #6b7280;
}

.card-button {
    background-color: #dc2626;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.card-button:hover {
    background-color: #ef4444;
}

/* Ticket Purchase Section */
.ticket-purchase {
    padding: 120px 0 80px 0;
    background-color: #282c34;
    min-height: 100vh;
}

.purchase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.back-button {
    background-color: #444;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-button:hover {
    background-color: #555;
}

.purchase-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.lottery-info-card {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.info-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
}

.info-details h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.jackpot-info, .price-info {
    color: #cbd5e1;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.ticket-form {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ticket-form h3 {
    color: #1f2937;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.tickets-list {
    margin-bottom: 30px;
}

.ticket-item {
    background-color: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.ticket-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.ticket-header h4 {
    color: #1f2937;
    font-size: 1.3rem;
    margin: 0;
}

.ticket-controls {
    display: flex;
    gap: 10px;
}

.quick-pick-single-btn, .clear-single-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-pick-single-btn:hover {
    border-color: #10b981;
    background-color: #ecfdf5;
    color: #10b981;
}

.clear-single-btn:hover {
    border-color: #ef4444;
    background-color: #fef2f2;
    color: #ef4444;
}

.ticket-numbers {
    margin-bottom: 20px;
}

.number-section {
    margin-bottom: 20px;
}

.number-section h5 {
    color: #374151;
    margin-bottom: 10px;
    font-size: 1rem;
}

.ticket-selected {
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #e5e7eb;
}

.ticket-selected h5 {
    color: #1f2937;
    margin-bottom: 10px;
    font-size: 1rem;
}

.selected-display {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 30px;
    align-items: center;
}

.global-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
    padding: 20px;
    background-color: #f9fafb;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
}

.quick-pick-all-btn, .clear-all-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-pick-all-btn {
    background-color: #10b981;
    color: white;
}

.quick-pick-all-btn:hover {
    background-color: #059669;
}

.clear-all-btn {
    background-color: #ef4444;
    color: white;
}

.clear-all-btn:hover {
    background-color: #dc2626;
}

/* Shopping Cart Styles */
.shopping-cart {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid #e5e7eb;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.cart-header h3 {
    color: #1f2937;
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-count {
    background-color: #3b82f6;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.cart-items {
    min-height: 100px;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-cart p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #374151;
}

.empty-cart span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cart-item {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.item-lottery {
    font-weight: bold;
    color: #1f2937;
    font-size: 1.1rem;
}

.item-price {
    font-weight: bold;
    color: #059669;
    font-size: 1.1rem;
}

.remove-item-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background-color: #ef4444;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item-btn:hover {
    background-color: #dc2626;
    transform: scale(1.1);
}

.cart-item-numbers {
    margin-bottom: 10px;
}

.item-numbers, .item-powerball {
    margin-bottom: 8px;
    color: #374151;
}

.item-powerball {
    color: #dc2626;
    font-weight: bold;
}

.cart-item-time {
    color: #6b7280;
    font-size: 0.8rem;
}

.cart-summary {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
}

.summary-details {
    background-color: #f9fafb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.cart-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-clear-cart {
    background-color: #6b7280;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-clear-cart:hover {
    background-color: #4b5563;
}

.btn-checkout {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 150, 105, 0.4);
}

.cart-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #059669;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: bold;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.ticket-progress {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.progress-bar {
    width: 200px;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.ticket-navigation {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

.nav-btn {
    padding: 12px 24px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    background: white;
    color: #374151;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-btn:hover:not(:disabled) {
    border-color: #3b82f6;
    background-color: #eff6ff;
    color: #3b82f6;
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-btn:disabled:hover {
    border-color: #e5e7eb;
    background-color: white;
    color: #374151;
}

.number-selection {
    margin-bottom: 30px;
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.number-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    background: white;
    color: #374151;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-btn:hover {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

.number-btn.selected {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.powerball-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
}

.powerball-section h4 {
    color: #dc2626;
    font-weight: bold;
}

.powerball-btn {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

.powerball-btn:hover {
    background-color: #fecaca;
    border-color: #dc2626;
}

.powerball-btn.selected {
    background-color: #dc2626;
    color: white;
    border-color: #dc2626;
}

.main-numbers {
    margin-bottom: 10px;
}

.powerball-number {
    margin-top: 10px;
}

.selected-number.powerball-number {
    background-color: #dc2626;
    color: white;
}

.quick-pick-section {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.quick-pick-btn, .clear-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-pick-btn {
    background-color: #10b981;
    color: white;
}

.quick-pick-btn:hover {
    background-color: #059669;
}

.clear-btn {
    background-color: #ef4444;
    color: white;
}

.clear-btn:hover {
    background-color: #dc2626;
}

.selected-numbers {
    margin-bottom: 30px;
}

.selected-numbers h4 {
    color: #1f2937;
    margin-bottom: 15px;
}

.selected-numbers-display {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 40px;
    align-items: center;
}

.selected-number {
    background-color: #3b82f6;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
}

.no-numbers {
    color: #6b7280;
    font-style: italic;
}

.purchase-summary {
    background-color: #f9fafb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #374151;
}

.summary-row.total {
    font-weight: bold;
    font-size: 1.2rem;
    color: #1f2937;
    border-top: 2px solid #e5e7eb;
    padding-top: 10px;
    margin-top: 10px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    background: white;
    color: #374151;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    border-color: #3b82f6;
    background-color: #eff6ff;
    color: #3b82f6;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-btn:disabled:hover {
    border-color: #e5e7eb;
    background-color: white;
    color: #374151;
}

#ticket-quantity {
    font-weight: bold;
    font-size: 1.1rem;
    min-width: 30px;
    text-align: center;
}

.btn-purchase {
    background: linear-gradient(135deg, #ff284d, #ff284d);
    color: white;
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 40, 77, 0.4);
}

/* How to Play Section */
.how-to-play {
    padding: 80px 0;
    background-color: #282c34;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    position: relative;
}

.step-icon-blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.step-icon-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.step-icon-orange {
    background: linear-gradient(135deg, #ff284d, #ff284d);
}

.step-icon-pink {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.step-number {
    font-size: 20px;
    font-weight: bold;
}

.step-lines {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.step-lines::before,
.step-lines::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.step-lines::before {
    top: -8px;
}

.step-lines::after {
    top: 8px;
}

.step-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 15px;
}

.step-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #e9ecef;
    padding: 40px 0;
    border-top: 1px solid #dee2e6;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-copyright {
    color: #6b7280;
    font-size: 14px;
}

/* Logo Admin Button */
.logo-admin-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    background: rgba(255, 40, 77, 0.9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.logo:hover .logo-admin-btn {
    opacity: 1;
}

.logo-admin-btn:hover {
    background: #ff284d;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 40, 77, 0.4);
}
@media (max-width: 768px) {
    /* Header responsive mejorado */
    .header {
        padding: 10px 0;
    }
    
    .header-content {
        flex-wrap: nowrap !important;
        gap: 15px;
        position: relative;
    }
    
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        order: 2 !important;
        z-index: 10;
        display: flex;
        justify-content: center;
    }
    
    .logo a {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
        flex-shrink: 0;
    }
    
    .logo-text {
        font-size: 18px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .whatsapp-icon {
        font-size: 16px;
        margin-left: 8px;
        flex-shrink: 0;
    }
    
    /* Layout del header: botón izquierda, logo centro, botones derecha */
    .hamburger-menu {
        order: 1 !important;
        margin-right: auto;
    }
    
    .logo {
        order: 2 !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }
    
    .mobile-right-buttons {
        display: flex !important;
        flex-shrink: 0;
        gap: 8px;
        align-items: center;
        order: 3 !important;
        margin-left: auto;
    }
    
    .mobile-auth-icons {
        display: flex !important;
        flex-shrink: 0;
        gap: 8px;
    }
    
    .mobile-cart-icon {
        display: flex !important;
        flex-shrink: 0;
    }
    
    .mobile-icon-btn {
        color: #000000 !important;
    }
    
    .mobile-icon-btn:hover {
        color: white !important;
    }
    
    .hamburger-menu {
        display: flex !important;
        flex-shrink: 0;
        order: 1 !important;
    }
    
    .hamburger-line {
        background: #000000 !important;
    }
    
    .hamburger-menu:hover .hamburger-line {
        background: #ff284d !important;
    }
    
    .nav {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .lottery-logos {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .lottery-cards {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .purchase-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .purchase-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .back-button {
        width: 100%;
        justify-content: center;
    }
    
    .ticket-form {
        padding: 25px 20px;
    }
    
    .ticket-item {
        padding: 20px 15px;
    }
    
    .ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .ticket-controls {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .number-grid {
        grid-template-columns: repeat(8, 1fr);
        gap: 8px;
    }
    
    .number-btn {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }
    
    .global-controls {
        flex-direction: column;
    }
    
    .quick-pick-all-btn, .clear-all-btn {
        width: 100%;
        justify-content: center;
    }
    
    .purchase-summary {
        padding: 15px;
    }
    
    .summary-row {
        font-size: 0.95rem;
    }
    
    .lottery-info-card {
        padding: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header extra small */
    .header {
        padding: 12px 0;
    }
    
    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .whatsapp-icon {
        font-size: 14px;
    }
    
    .logo-admin-btn {
        display: none !important;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .lottery-logo {
        width: 100px;
        height: 100px;
        font-size: 12px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .ticket-purchase {
        padding: 100px 0 60px 0;
    }
    
    .purchase-header h2 {
        font-size: 1.5rem;
    }
    
    .lottery-info-card {
        padding: 20px;
    }
    
    .info-logo {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }
    
    .info-details h3 {
        font-size: 1.2rem;
    }
    
    .jackpot-info, .price-info {
        font-size: 0.95rem;
    }
    
    .ticket-form {
        padding: 20px 15px;
    }
    
    .ticket-form h3 {
        font-size: 1.2rem;
    }
    
    .ticket-item {
        padding: 15px 12px;
    }
    
    .ticket-header h4 {
        font-size: 1.1rem;
    }
    
    .number-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 6px;
    }
    
    .number-btn {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }
    
    .number-section h5 {
        font-size: 0.9rem;
    }
    
    .ticket-selected {
        padding: 12px;
    }
    
    .selected-display {
        gap: 6px;
    }
    
    .selected-number {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .purchase-summary {
        padding: 12px;
    }
    
    .summary-row {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }
    
    .summary-row.total {
        font-size: 1.1rem;
    }
    
    .quantity-btn {
        width: 35px;
        height: 35px;
    }
    
    #ticket-quantity {
        font-size: 1rem;
    }
    
    .btn-purchase {
        padding: 12px;
        font-size: 1rem;
    }
    
    .quick-pick-section {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-pick-option-btn {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .quick-pick-single-btn, .clear-single-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

/* Estilos para la página del carrito */
.cart-page {
    padding: 120px 0 2rem 0;
    min-height: calc(100vh - 200px);
}

.cart-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.cart-page-header .page-title {
    font-size: 2rem;
    color: #333;
    margin: 0;
}

.cart-page-header .page-title i {
    color: #ff284d;
    margin-right: 0.5rem;
}

.cart-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cart-count {
    background: #ff284d;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

.cart-total {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff284d;
}

.empty-cart-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.empty-cart-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.empty-cart-state h2 {
    color: #333;
    margin-bottom: 0.5rem;
}

.empty-cart-state p {
    color: #666;
    margin-bottom: 2rem;
}

.cart-items-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-bottom: 2rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #ff284d;
}

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

.item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-lottery {
    font-weight: bold;
    color: #333;
    font-size: 1.1rem;
}

.item-date {
    font-size: 0.9rem;
    color: #666;
}

.item-price {
    font-weight: bold;
    color: #ff284d;
    font-size: 1.2rem;
}

.remove-item-btn {
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.remove-item-btn:hover {
    background: #cc0000;
}

.cart-item-numbers {
    margin-bottom: 1rem;
}

.item-numbers, .item-powerball {
    margin-bottom: 0.5rem;
}

.item-numbers strong, .item-powerball strong {
    color: #333;
    margin-right: 0.5rem;
}

.numbers-display {
    color: #666;
}

.powerball-display {
    color: #ff284d;
    font-weight: bold;
}

.cart-item-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 5px;
}

.cart-summary {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.summary-header h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.3rem;
}

.summary-details {
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.summary-row.total {
    border-bottom: none;
    border-top: 2px solid #e0e0e0;
    padding-top: 1rem;
    margin-top: 1rem;
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: #5a6268;
}

.continue-shopping {
    text-align: center;
    margin-top: 2rem;
}

.btn-outline {
    background: transparent;
    color: #ff284d;
    border: 2px solid #ff284d;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #ff284d;
    color: white;
}

.cart-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive para carrito */
@media (max-width: 768px) {
    .cart-page-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cart-stats {
        justify-content: center;
    }
    
    .cart-items-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cart-summary {
        position: static;
    }
    
    .cart-item-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .cart-actions {
        flex-direction: row;
    }
    
/* Estilos mejorados para autenticación - Mayor especificidad */
body .auth-section {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%) !important;
    position: relative;
    overflow: hidden;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 40, 77, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

body .auth-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

body .auth-header h1 {
    color: #1e3a8a !important;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.auth-header h1 i {
    color: #ff284d;
    margin-right: 0.75rem;
    font-size: 2.2rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.auth-header p {
    color: #64748b;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.auth-form {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: #1e3a8a;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    color: #1e3a8a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff284d;
    background: white;
    box-shadow: 
        0 0 0 3px rgba(255, 40, 77, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.form-group input.readonly {
    background-color: #f8fafc;
    color: #64748b;
    cursor: not-allowed;
    border-color: #cbd5e1;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 1rem;
    color: #1e3a8a;
    font-weight: 500;
    line-height: 1.5;
    gap: 0.75rem;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #ff284d;
    cursor: pointer;
}

.checkmark {
    margin-right: 0.5rem;
}

.btn-full {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body .btn-primary {
    background: linear-gradient(135deg, #ff284d, #ff284d) !important;
    color: white !important;
    box-shadow: 
        0 8px 20px rgba(255, 40, 77, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff284d, #ff284d);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 30px rgba(255, 40, 77, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
    box-shadow: 
        0 8px 20px rgba(100, 116, 139, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #475569, #64748b);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 30px rgba(100, 116, 139, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #e2e8f0;
    margin-top: 1.5rem;
}

.auth-footer p {
    margin: 0.75rem 0;
    color: #64748b;
    font-weight: 500;
}

.link {
    color: #ff284d;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.link:hover {
    color: #ff284d;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff284d, #ff284d);
    transition: width 0.3s ease;
}

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

.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid;
}

.alert-error {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: #dc2626;
    border-color: #fecaca;
}

.alert-success {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #16a34a;
    border-color: #bbf7d0;
}

.alert i {
    font-size: 1.25rem;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.1));
}

.demo-info {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.demo-info h3 {
    color: #1e3a8a;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.demo-info h3 i {
    color: #ff284d;
    margin-right: 0.5rem;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.1));
}

.demo-info p {
    margin: 0.5rem 0;
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

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

.auth-container {
    animation: fadeInUp 0.6s ease-out;
}

.form-group {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

/* Efectos de partículas flotantes */
.auth-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 40, 77, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(59, 130, 246, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 40, 77, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

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

/* Efectos adicionales para formularios */
.form-group {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.form-group:hover {
    transform: translateY(-2px);
}

/* Efectos de validación visual */
.form-group input:valid:not(:placeholder-shown) {
    border-color: #10b981;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310b981' d='m2.3 6.73.94-.94 1.89-1.89.94-.94-.94-.94L3.24.94l-.94-.94-.94.94L.94 2.3l-.94.94.94.94 1.89 1.89z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23ef4444' d='m2.3 6.73.94-.94 1.89-1.89.94-.94-.94-.94L3.24.94l-.94-.94-.94.94L.94 2.3l-.94.94.94.94 1.89 1.89z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

/* Efectos de carga para botones */
.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Efectos de partículas adicionales */
.auth-section::before {
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Mejoras para el contenedor de autenticación */
.auth-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff284d, #3b82f6, #10b981, #ff284d);
    border-radius: 22px;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Efectos de hover para enlaces */
.link {
    position: relative;
    overflow: hidden;
}

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

.link:hover::before {
    left: 100%;
}

/* Mejoras para checkboxes */
.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked {
    background: #ff284d;
    border-color: #ff284d;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.checkbox-label input[type="checkbox"]:hover {
    border-color: #ff284d;
    box-shadow: 0 0 0 3px rgba(255, 40, 77, 0.1);
}

/* Estilos para perfil de usuario */
.profile-section {
    padding: 120px 0 2rem 0;
    min-height: calc(100vh - 200px);
    background-color: #282c34;
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-header h1 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.profile-header h1 i {
    color: #ff284d;
    margin-right: 0.5rem;
}

.profile-header p {
    color: #cbd5e1;
    font-size: 1.2rem;
}

.profile-content {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.profile-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #ff284d, #ff284d);
    color: white;
    padding: 1.5rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.card-header h3 i {
    margin-right: 0.5rem;
}

.card-content {
    padding: 2rem;
}

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

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.info-item label {
    font-weight: 500;
    color: #333;
}

.status {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
}

.status-active {
    color: #28a745;
}

.status-pending {
    color: #ffc107;
}

.status-inactive {
    color: #dc3545;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info span {
    color: #333;
    font-weight: 500;
}

.btn-logout {
    background: #dc3545;
    color: white;
    border: 2px solid #dc3545;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: #fafafa;
    color: #dc3545;
    border-color: #dc3545;
}

.btn-profile {
    background: #0d1d33;
    color: #fafafa;
    border: 2px solid #0d1d33;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-profile:hover {
    background: #fafafa;
    color: #0d1d33;
    border-color: #0d1d33;
}

/* Responsive para autenticación y perfil */
@media (max-width: 768px) {
    .auth-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .profile-content {
        margin: 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .user-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
/* Estilos adicionales para botones de autenticación */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-login {
    background: rgba(255, 255, 255, 0.9);
    color: #1e3a8a;
    border: 2px solid rgba(30, 58, 138, 0.2);
    backdrop-filter: blur(10px);
}

.btn-login:hover {
    background: white;
    color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
    border-color: #1e3a8a;
}

.btn-join {
    background: linear-gradient(135deg, #ff284d, #ff284d);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 40, 77, 0.3);
}

.btn-join:hover {
    background: linear-gradient(135deg, #ff284d, #ff284d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 40, 77, 0.4);
}

.btn-join.active {
    background: linear-gradient(135deg, #ff284d, #ff284d);
    box-shadow: 0 6px 20px rgba(255, 40, 77, 0.4);
}

.btn-profile {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-profile:hover {
    background: linear-gradient(135deg, #059669, #10b981);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-logout {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-logout:hover {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

/* Efectos de hover mejorados para formularios */
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos para el botón de cuenta de prueba */
.btn-secondary {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.3);
    margin-top: 1rem;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #475569, #64748b);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.4);
}

/* Mejoras para el responsive de autenticación */
@media (max-width: 768px) {
    .auth-container {
        margin: 1rem;
        padding: 2rem;
        border-radius: 15px;
    }
    
    .auth-header h1 {
        font-size: 2rem;
    }
    
    .auth-header h1 i {
        font-size: 1.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .btn-full {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .demo-info {
        padding: 1rem;
    }
    
    .demo-info h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .auth-container {
        margin: 0.5rem;
        padding: 1.5rem;
    }
    
    .auth-header h1 {
        font-size: 1.75rem;
    }
    
    .auth-header p {
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .btn-full {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
}
