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

:root {
    /* Colores inspirados en el logo */
    --primary: #FFD700;
    --primary-dark: #B8860B;
    --primary-light: #FFFF99;
    --secondary: #1E1E1E;
    --secondary-light: #2D2D2D;
    --accent: #FF6B35;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark: #121212;
    
    /* Colores adicionales */
    --danger: #DC3545;
    --warning: #FFC107;
    --success: #28A745;
    --info: #17A2B8;
    --gray: #6C757D;
    
    /* Efectos y sombras */
    --shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
    --shadow-lg: 0 8px 30px rgba(255, 215, 0, 0.3);
    --shadow-dark: 0 4px 15px rgba(0, 0, 0, 0.3);
    --radius: 15px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Gradientes */
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    --gradient-dark: linear-gradient(135deg, #1E1E1E 0%, #2D2D2D 100%);
    --gradient-luxury: linear-gradient(45deg, #FFD700, #FFFF99, #FFD700, #FFA500);
}

/* Animaciones base */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes goldPulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5),
                    0 0 40px rgba(255, 215, 0, 0.3),
                    0 0 60px rgba(255, 215, 0, 0.1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8),
                    0 0 60px rgba(255, 215, 0, 0.5),
                    0 0 90px rgba(255, 215, 0, 0.3);
    }
}

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

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
    40%, 43% { transform: translate3d(0, -15px, 0); }
    70% { transform: translate3d(0, -7px, 0); }
    90% { transform: translate3d(0, -2px, 0); }
}

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

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

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

@keyframes rollIn {
    from {
        opacity: 0;
        transform: translateX(-100%) rotate(-120deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

/* Estilos globales */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    /* font-family: 'Playfair Display', serif; */
    font-weight: 700;
}

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

/* Header Styles */
.site-header {
    background: var(--secondary);
    box-shadow: var(--shadow-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--primary);
}

.header-main {
    padding: 15px 0;
    position: relative;
    overflow: hidden;
}

.header-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 60px;
    position: relative;
    z-index: 1;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-container {
    width: 160px;
    height: 110px;
    flex-shrink: 0;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary), transparent);
    animation: spin 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-link:hover .logo-container::before {
    opacity: 0.3;
}

.logo-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.logo-link:hover .logo-img {
    animation: bounce 1s ease;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 10px 15px;
    border-radius: 25px;
}

.main-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-gold);
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
    z-index: -1;
}

.main-nav a:hover {
    color: var(--secondary);
    transform: translateY(-3px);
}

.main-nav a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login, .btn-cart, .btn-check-tickets {
    padding: 12px 20px;
    border: 2px solid var(--primary);
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-login {
    background: var(--gradient-gold);
    color: var(--secondary);
    border-color: var(--primary);
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.btn-login:hover::before {
    width: 200px;
    height: 200px;
}

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

.btn-check-tickets {
    background: transparent;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.btn-check-tickets::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    transition: var(--transition);
    z-index: -1;
}

.btn-check-tickets:hover {
    color: var(--secondary);
    transform: translateY(-3px);
}

.btn-check-tickets:hover::before {
    left: 0;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-dark);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23FFD700" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

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

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.hero-content p {
    font-size: 22px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
    font-weight: 300;
    margin-bottom: 30px;
}

/* Raffles Section */
.raffles-main {
    padding: 100px 0;
    position: relative;
}

.raffles-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease;
    position: relative;
}

.raffles-title::after {
    content: '🎲🎰🏆';
    position: absolute;
    top: -20px;
    right: -80px;
    font-size: 24px;
    animation: bounce 2s infinite;
}

.raffles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 5px;
    perspective: 1000px;
}

.raffle-card-main {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    animation: slideInLeft 0.8s ease;
}

.raffle-card-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--radius);
    z-index: -1;
}

.raffle-card-main:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-lg), 0 20px 40px rgba(0, 0, 0, 0.2);
}

.raffle-card-main:hover::before {
    opacity: 0.1;
}

.raffle-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-gold);
    color: var(--secondary);
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    z-index: 10;
    animation: goldPulse 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.raffle-badge.new {
    background: var(--gradient-gold);
    animation: bounce 1s infinite;
}

.raffle-badge.active {
    background: linear-gradient(135deg, var(--success) 0%, #20C997 100%);
    color: white;
}

.raffle-badge.last-tickets {
    background: linear-gradient(135deg, var(--danger) 0%, #FF6B6B 100%);
    color: white;
    animation: goldPulse 1s infinite;
}

.raffle-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
    position: relative;
}

.raffle-card-main:hover .raffle-card-image {
    transform: scale(1.05);
}

.raffle-card-content {
    padding: 30px;
    position: relative;
}

.raffle-date {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.raffle-date i {
    color: var(--primary);
    animation: bounce 2s infinite;
}

.raffle-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    color: var(--secondary);
}

.raffle-progress {
    margin-bottom: 25px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

.progress-bar-main {
    background: #E9ECEF;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.progress-bar-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.progress-fill-main {
    background: var(--gradient-gold);
    height: 100%;
    transition: width 1s ease;
    position: relative;
    border-radius: 5px;
}

.progress-fill-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.raffle-price {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.raffle-button {
    width: 100%;
    padding: 15px;
    background: var(--gradient-gold);
    color: var(--secondary);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.raffle-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.raffle-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.raffle-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Detail View */
.detail-view {
    display: none;
    min-height: 100vh;
    background: var(--light-gray);
}

.detail-view.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.detail-view-wrapper {
    max-width: 768px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: var(--shadow-lg);
}

.header {
    background: var(--gradient-dark);
    color: white;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-dark);
    border-bottom: 3px solid var(--primary);
}

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

.back-button, .share-button {
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 24px;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-button:hover, .share-button:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: scale(1.1) rotate(15deg);
}

.header-title {
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Gallery */
.gallery {
    position: relative;
    overflow: hidden;
    background: var(--secondary);
}

.gallery-scroll {
    display: flex;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-image {
    min-width: 100%;
    height: 400px;
    object-fit: cover;
    scroll-snap-align: center;
    transition: var(--transition);
}

.gallery-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.5);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.indicator.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
    animation: goldPulse 1s infinite;
}

/* Prize Section */
.prize-section {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.prize-date {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.prize-title {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.prize-price {
    font-size: 36px;
    font-weight: 900;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.raffle-description {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    position: relative;
}

.raffle-description::before {
    content: '💰';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    animation: bounce 2s infinite;
}

/* Progress Section */
.progress-section {
    background: var(--gradient-dark);
    color: white;
    padding: 25px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.progress-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23FFD700" opacity="0.2"/></svg>');
    animation: float 4s ease-in-out infinite;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.progress-title {
    font-weight: 700;
    color: white;
    font-size: 18px;
}

.progress-percentage {
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.2);
    height: 15px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.progress-fill {
    background: var(--gradient-gold);
    height: 100%;
    transition: width 1.5s ease;
    position: relative;
    border-radius: 8px;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.progress-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Quick Buy Section */
.quick-buy-section {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.quick-buy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.quick-buy-btn {
    background: white;
    border: 3px solid var(--primary);
    padding: 20px;
    border-radius: 15px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.quick-buy-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    transition: var(--transition);
    z-index: -1;
}

.quick-buy-btn:hover {
    color: var(--secondary);
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow);
}

.quick-buy-btn:hover::before {
    left: 0;
}

.quick-buy-btn.popular {
    background: var(--gradient-gold);
    color: var(--secondary);
    animation: goldPulse 2s infinite;
}

.popular-tag {
    position: absolute;
    top: 0px;
    left: 25%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    animation: bounce 1s infinite;
}

/* Custom Amount */
.custom-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    border-radius: 15px;
}

.amount-control {
    width: 60px;
    height: 60px;
    border: 3px solid var(--primary);
    background: white;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary);
    font-weight: 900;
}

.amount-control:hover {
    background: var(--gradient-gold);
    color: var(--secondary);
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow);
}

.amount-display {
    font-size: 42px;
    font-weight: 900;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 80px;
    text-align: center;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Buy Button */
.buy-button {
    width: 100%;
    padding: 20px;
    background: var(--gradient-gold);
    color: var(--secondary);
    border: none;
    border-radius: 15px;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buy-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.buy-button:hover:not(:disabled) {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.buy-button:hover::before {
    width: 400px;
    height: 400px;
}

.buy-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.buy-button.secondary {
    background: transparent;
    color: var(--primary);
    border: 3px solid var(--primary);
}

.buy-button.secondary:hover {
    background: var(--gradient-gold);
    color: var(--secondary);
}

/* Details Section */
.details-section {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
}

.details-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    position: relative;
}

.details-title::after {
    content: '🏆💎🎁';
    position: absolute;
    top: -10px;
    right: 0px;
    font-size: 20px;
    animation: bounce 2s infinite;
}

.prize-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.prize-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.prize-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: var(--transition);
}

.prize-item:hover {
    border-color: var(--primary);
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

.prize-item:hover::before {
    left: 100%;
}

.prize-icon {
    font-size: 36px;
    margin-right: 20px;
    color: var(--primary);
    animation: float 3s ease-in-out infinite;
}

.prize-position {
    font-size: 28px;
    font-weight: 900;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 20px;
    min-width: 40px;
    text-align: center;
}

.prize-item-info {
    flex: 1;
}

.prize-item-title {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 1.3;
}

.prize-item-time {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

.info-notice {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid var(--primary);
    border-radius: 15px;
    color: var(--primary);
    position: relative;
    overflow: hidden;
}

.info-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.info-icon {
    font-size: 28px;
    color: var(--primary);
    animation: bounce 2s infinite;
    flex-shrink: 0;
}

.info-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Footer */
.site-footer {
    background: var(--gradient-dark);
    color: white;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1" fill="%23FFD700" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    animation: float 8s ease-in-out infinite;
}

.footer-top {
    padding: 80px 0 50px;
    position: relative;
    z-index: 1;
}

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

.footer-column h3 {
    margin-bottom: 25px;
    color: var(--primary);
    font-size: 20px;
}

.footer-column p {
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 25px;
}

.footer-logo-container {
    max-width: 180px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.footer-logo-img {
    display: block;
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* filter: brightness(0) invert(1); */
    transition: var(--transition);
}

.footer-logo:hover .footer-logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 0 20px var(--primary));
    animation: bounce 1s ease;
}

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

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    border: 2px solid var(--primary);
    font-size: 20px;
}

.social-links a:hover {
    background: var(--gradient-gold);
    color: var(--secondary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow);
}

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

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-column ul a:hover {
    color: var(--primary);
    transform: translateX(10px);
    display: inline-block;
}

.hashtag-list p {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
}

.hashtag-list p:hover {
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    cursor: pointer;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: center;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    color: var(--primary);
    width: 25px;
    font-size: 18px;
}

.footer-bottom {
    background: var(--secondary);
    padding: 25px 0;
    text-align: center;
    border-top: 3px solid var(--primary);
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 500;
}

.footer-signature {
    color: var(--primary);
    font-style: italic;
    font-weight: 600;
    font-size: 16px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    padding: 0px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.4s ease;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: rollIn 0.6s ease;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary);
}

.modal-header {
    padding: 20px 25px;
    background: var(--gradient-gold);
    color: var(--secondary);
    border-radius: 17px 17px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

.modal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary);
    margin: 0;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    font-weight: 900;
}

.modal-close:hover {
    background: white;
    color: var(--secondary);
    transform: scale(1.1) rotate(90deg);
}

.modal-body {
    padding: 12px;
    position: relative;
}

.modal-footer {
    padding: 20px 12px;
    border-top: 2px solid var(--primary);
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    border-radius: 0 0 17px 17px;
}

/* Auth Forms */
.auth-tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 2px solid #eee;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.auth-tab {
    flex: 1;
    padding: 15px;
    background: #f8f9fa;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.auth-tab.active {
    background: var(--gradient-gold);
    color: var(--secondary);
    border-bottom-color: var(--primary);
}

.auth-tab:hover:not(.active) {
    background: #e9ecef;
    color: var(--primary);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.form-group label {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
    margin-bottom: 5px;
}

.form-group input, 
.form-group select {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition);
    background: white;
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

/* ID Input Group */
.id-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.id-type-select {
    width: 80px;
    flex-shrink: 0;
    padding: 12px 10px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    background: white;
    transition: var(--transition);
    font-weight: 600;
}

.id-number-input {
    flex: 1;
    min-width: 0;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
}

.id-type-select:focus,
.id-number-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

/* Buyer Info Section */
.buyer-info-section {
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 5px solid var(--primary);
}

.section-subtitle {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
    text-align: center;
}

.divider {
    margin: 20px 0;
    border: none;
    border-top: 2px solid var(--primary);
    height: 0;
    opacity: 0.3;
}

/* Order Summary */
.order-summary {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    line-height: 1.4;
    min-height: 30px;
}

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

.summary-item.total {
    border-top: 2px solid var(--primary);
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    padding: 12px 15px;
    border-radius: 10px;
    margin-top: 10px;
}

/* PagoAPago Button */
.pagoapago-button {
    background: linear-gradient(135deg, #6F0BFF 0%, #AC3BF7 100%);
    position: relative;
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 6px 20px rgba(111, 11, 255, 0.3);
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    overflow: hidden;
    transition: var(--transition);
}

.pagoapago-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
}

.pagoapago-button:hover::before {
    left: 100%;
}

.pagoapago-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(111, 11, 255, 0.4);
}

.pagoapago-logo {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

.pagoapago-content {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.pagoapago-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.pagoapago-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    display: block;
}

.pagoapago-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    display: block;
}

/* Payment Separator */
.payment-separator {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.payment-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.payment-separator span {
    background: white;
    padding: 0 20px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Terms Text */
.terms-text {
    text-align: center;
    font-size: 13px;
    color: var(--gray);
    margin-top: 20px;
    line-height: 1.5;
}

.terms-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* Search Section - Modal de tickets */
.search-section {
    margin-bottom: 30px;
}

.search-description {
    text-align: center;
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

.search-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid var(--primary);
}

.search-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.search-tab {
    flex: 1;
    padding: 15px;
    background: white;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-bottom: 3px solid transparent;
}

.search-tab.active {
    background: var(--gradient-gold);
    color: var(--secondary);
    border-bottom-color: var(--primary);
}

.search-tab:hover:not(.active) {
    background: #f8f9fa;
    color: var(--primary);
}

.search-inputs {
    margin-bottom: 20px;
}

.search-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.search-input-group.hidden {
    display: none;
}

.search-input-group label {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.search-input-group input {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
    background: white;
}

.search-input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.search-button {
    width: 100%;
    padding: 15px;
    background: var(--gradient-gold);
    color: var(--secondary);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.search-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.search-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.search-button-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.search-loading.hidden {
    display: none;
}

/* Search Results */
.search-results {
    animation: fadeInUp 0.6s ease;
}

.search-results.hidden {
    display: none;
}

.search-summary {
    background: linear-gradient(135deg, var(--light-gray) 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow);
}

.search-summary h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.summary-item {
    text-align: center;
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.summary-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.summary-icon {
    font-size: 30px;
    margin-bottom: 10px;
    display: block;
    color: var(--primary);
}

.summary-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.summary-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    display: block;
}

.raffle-group {
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(25, 160, 208, 0.1);
}

.raffle-group expanded {
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    border: 1px solid rgba(25, 160, 208, 0.1);
}

.raffle-group-header {
    background: var(--gradient-gold);
    color: white;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
    min-height: auto;
}

.raffle-image {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.raffle-info {
    flex: 1;
}

.raffle-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
    color: var(--secondary);
}

.raffle-meta {
    opacity: 0.9;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
}

.raffle-status {
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.active {
    background: rgb(35 203 98);
    color: white;
    box-shadow: 0 2px 8px rgba(117, 117, 117, 0.3);
}

.completed {
    background: rgba(117, 117, 117, 0.9);
    color: white;
    box-shadow: 0 2px 8px rgba(117, 117, 117, 0.3);
}

.cancelled {
    background: rgba(244, 67, 54, 0.9);
    color: white;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
}

.raffle-stats {
    text-align: right;
}

.ticket-count {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.ticket-count-label {
    font-size: 11px;
    opacity: 0.8;
    line-height: 1;
    font-weight: 500;
}

.expand-icon {
    font-size: 22px;
    transition: var(--transition);
}

.raffle-group.expanded .expand-icon {
    transform: rotate(180deg);
}

.raffle-tickets {
    padding: 20px;
    background: var(--light-gray);
    display: none;
}

.raffle-group.expanded .raffle-tickets {
    display: block;
    animation: fadeInUp 0.4s 
ease;
}

/* Detail ticket */

.ticket-detail-content {
    padding: 25px 0;
}

.ticket-detail-header {
    text-align: center;
    margin-bottom: 35px;
    padding: 25px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.ticket-detail-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Courier New', monospace;
    margin-bottom: 15px;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ticket-detail-raffle {
    font-size: 20px;
    color: #404040;
    margin-bottom: 8px;
    font-weight: 600;
}

.ticket-detail-date {
    color: #6b7280;
    font-size: 15px;
    font-weight: 500;
}

.ticket-detail-info {
    display: grid
;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}




/* No Results */
.no-results {
    text-align: center;
    padding: 50px 20px;
    color: var(--gray);
}

.no-results.hidden {
    display: none;
}

.no-results-icon {
    font-size: 60px;
    margin-bottom: 25px;
    opacity: 0.5;
    color: var(--primary);
}

.no-results h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 24px;
}

.no-results p {
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 16px;
}

/* Tickets Display */
.tickets-display {
    margin-bottom: 25px;
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.ticket-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.ticket-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow);
}

.ticket-item {
    background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
    border: 2px dashed var(--primary);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.ticket-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
    border-style: solid;
}

.ticket-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Courier New', monospace;
    margin-bottom: 5px;
}

.ticket-info {
    font-size: 11px;
    color: var(--gray);
    font-weight: 500;
}

/* Success Modal */
.success-message {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Lottery Modal Specific */
.lottery-modal {
    background: var(--gradient-dark);
    color: white;
}

.lottery-modal .modal-header {
    background: var(--gradient-dark);
    border-bottom: 2px solid var(--primary);
}

.lottery-modal .modal-title {
    color: var(--primary);
    text-align: center;
    width: 100%;
}

.lottery-container {
    padding: 40px 20px;
    text-align: center;
}

.lottery-machine {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    border: 2px solid var(--primary);
}

.slot-machine {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
}

.slot {
    width: 60px;
    height: 80px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--primary);
}

.slot-numbers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    animation: spin 1s ease-in-out;
}

.slot-number {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.lottery-text {
    font-size: 18px;
    opacity: 0.9;
    color: var(--primary);
    font-weight: 600;
}

/* Payment iframe modal */
.payment-iframe-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.payment-iframe-overlay.show {
    display: flex;
    animation: fadeInUp 0.4s ease;
    align-items: center;
}

.payment-iframe-container {
    background: white;
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    height: 700px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary);
    overflow: hidden;
}

.payment-iframe-header {
    padding: 20px 25px;
    background: var(--gradient-gold);
    color: var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.payment-iframe-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

.payment-iframe-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}

.payment-iframe-close {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 24px;
    color: var(--secondary);
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    font-weight: 900;
}

.payment-iframe-close:hover {
    background: white;
    color: var(--secondary);
    transform: scale(1.1) rotate(90deg);
}

.payment-iframe-info {
    padding: 15px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #ddd;
    position: relative;
    z-index: 10;
}

.payment-info-wrapper {
    width: 100%;
}

.payment-info-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: nowrap;
    min-height: 40px;
}

.info-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    white-space: nowrap;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 12px;
}

/* .info-item span {
    color: var(--gray);
    font-size: 13px;
    font-weight: 500;
} */

.info-label {
    color: var(--gray);
    font-size: 13px;
    font-weight: 500;
}

.info-value {
    color: var(--gray);
    font-size: 13px;
    font-weight: 800;
}

.info-item strong {
    color: var(--dark);
    font-weight: 700;
    font-size: 15px;
}

.info-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.action-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 14px;
}

.action-btn:hover {
    background: var(--gradient-gold);
    border-color: var(--primary);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.payment-iframe-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.payment-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: white;
}

.payment-iframe-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--primary);
}

.payment-iframe-loading .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 215, 0, 0.3);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.payment-iframe-loading p {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

/* Copy buttons */
.copy-button {
    background: var(--gradient-gold);
    color: var(--primary-light);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: 33%;
    justify-content: center;
}

.copy-button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.copy-button:active {
    transform: scale(0.95);
}

.copy-all-button {
    background: linear-gradient(135deg, var(--success) 0%, #20C997 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
}

.copy-all-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Responsive para payment iframe */
@media (max-width: 768px) {
    .payment-iframe-container {
        max-height: 95vh;
        height: auto;
        max-width: 100%;
        border-radius: 15px;
        margin: 10px;
    }
    
    .payment-iframe-overlay {
        padding: 0px;
        align-items: flex-start;
        overflow-y: auto;
    }
    
    .payment-iframe-header {
        padding: 15px 20px;
        position: sticky;
        top: 0;
        background: var(--gradient-gold);
        z-index: 20;
        box-shadow: var(--shadow);
    }
    
    .payment-iframe-title {
        font-size: 16px;
    }
    
    .payment-iframe-info {
        padding: 12px 20px;
        position: sticky;
        top: 70px;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        z-index: 15;
        box-shadow: var(--shadow);
    }
    
    .payment-info-compact {
        gap: 10px;
        flex-wrap: wrap;
        min-height: auto;
    }
    
    .info-group {
        gap: 10px;
        flex: 1 1 100%;
        justify-content: space-between;
        margin-bottom: 10px;
    }
    
    .info-item {
        font-size: 12px;
        gap: 4px;
        flex: 0 0 auto;
    }
    
    .info-item span {
        font-size: 11px;
    }
    
    .info-item strong {
        font-size: 13px;
    }
    
    .info-actions {
        flex: 0 0 auto;
        margin-left: 0;
        gap: 8px;
    }
    
    .action-btn {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }
    
    .payment-iframe-wrapper {
        min-height: 500px;
    }
    
    .payment-iframe {
        min-height: 500px;
    }
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 20px 30px;
    background: var(--gradient-dark);
    color: white;
    border-radius: 15px;
    transform: translateY(100px);
    transition: var(--transition);
    z-index: 10000;
    max-width: 400px;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

.toast.show {
    transform: translateY(0);
    animation: bounce 0.6s ease;
}

.toast.success {
    background: linear-gradient(135deg, var(--success) 0%, #20C997 100%);
}

.toast.error {
    background: linear-gradient(135deg, var(--danger) 0%, #FF6B6B 100%);
}

.toast.warning {
    background: linear-gradient(135deg, var(--warning) 0%, #FFB02E 100%);
    color: var(--secondary);
}

.toast.info {
    background: var(--gradient-gold);
    color: var(--secondary);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: goldPulse 3s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

/* Loading */
.loading {
    display: inline-block;
    width: 25px;
    height: 25px;
    border: 4px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .raffles-title {
        font-size: 32px;
    }
    
    .raffles-title::after {
        display: none;
    }
    
    .main-nav {
        display: none;
    }
    
    .header-actions span {
        display: none;
    }

        .header-actions p {
        display: contents;
    }
    
    .raffles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quick-buy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .raffles-title {
        font-size: 26px;
    }
    
    .prize-title {
        font-size: 24px;
    }
    
    .prize-price {
        font-size: 28px;
    }
    
    .modal-content {
        margin: 10px;
        border-radius: 15px;
    }
    
    .quick-buy-grid {
        grid-template-columns: 1fr;
    }
}