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

:root {
    /* Colores basados en el logo NorviSkeit */
    --primary: #FF4444;           /* Rojo de los vehículos */
    --primary-dark: #CC3333;      /* Rojo más oscuro */
    --primary-light: #FF6666;     /* Rojo más claro */
    --secondary: #2DBABA;         /* Azul turquesa del texto */
    --secondary-dark: #228B8B;    /* Turquesa oscuro */
    --secondary-light: #4DCCCC;   /* Turquesa claro */
    --accent: #FFD700;            /* Amarillo dorado */
    --accent-dark: #E6C200;       /* Amarillo más oscuro */
    --accent-light: #FFEB3B;      /* Amarillo más claro */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark: #1A1A1A;
    --black: #000000;
    
    /* Colores adicionales */
    --danger: #DC3545;
    --warning: #FF8C00;
    --success: #28A745;
    --gray: #6C757D;
    
    /* Sombras y efectos */
    --shadow: 0 4px 12px rgba(255, 68, 68, 0.15);
    --shadow-lg: 0 8px 24px rgba(255, 68, 68, 0.2);
    --shadow-glow: 0 0 20px rgba(45, 186, 186, 0.3);
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 50%, var(--accent-dark) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

/* Patrón de fondo animado */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(45, 186, 186, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 68, 68, 0.1) 0%, transparent 50%);
    background-size: 400px 400px;
    animation: backgroundMove 20s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(1deg); }
    66% { transform: translate(-20px, 20px) rotate(-1deg); }
}

h1, h2, h3, h4, h5, h6 {
    /*font-family: 'Playfair Display', serif;*/
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

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

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #efeade 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--secondary);
}

.header-top {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 8px 0;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

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

@keyframes headerShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

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

.header-info span {
    margin: 0 15px;
    font-weight: 500;
}

.header-info i {
    margin-right: 8px;
    color: var(--accent);
    animation: iconPulse 2s ease-in-out infinite;
}

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

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

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

.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-link:hover .logo-img {
    animation: logoSpin 0.6s ease-in-out;
}

@keyframes logoSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.1); }
    100% { transform: rotate(0deg) scale(1); }
}

/* Logo Styles con efecto de brillo */
.logo-container {
    width: 160px;
    height: 110px;
    flex-shrink: 0;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    /*background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(45, 186, 186, 0.1));*/
}

.logo-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: logoShine 4s ease-in-out infinite;
}

@keyframes logoShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.logo-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    /*filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));*/
}

.logo-text {
    flex: 1;
    min-width: 0;
    position: relative;
}

.logo-text h1 {
    font-size: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    line-height: 1.2;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(45, 186, 186, 0.3)); }
    50% { filter: drop-shadow(0 0 15px rgba(255, 68, 68, 0.4)); }
}

.logo-text p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
    font-style: italic;
    line-height: 1.2;
}

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

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 10px 0;
    font-size: 16px;
}

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

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.main-nav a:hover::before {
    width: 100%;
}

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

.btn-login, .btn-cart, .btn-check-tickets {
    padding: 12px 20px;
    border: none;
    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: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow);
}

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

.btn-cart {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    position: relative;
}

.btn-cart:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.btn-check-tickets {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--dark);
    border: 2px solid var(--dark);
    font-weight: 700;
}

.btn-check-tickets:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    border-color: var(--secondary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-glow);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    animation: cartBounce 2s ease-in-out infinite;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
}

.mobile-nav.show {
    right: 0;
}

.mobile-nav-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 20px;
    color: var(--primary);
}

.mobile-nav ul {
    list-style: none;
    margin-bottom: auto;
}

.mobile-nav li {
    margin-bottom: 20px;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.mobile-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.mobile-social a {
    color: var(--secondary);
    font-size: 20px;
    transition: var(--transition);
}

.mobile-social a:hover {
    color: var(--primary);
    transform: scale(1.2);
}

/* Hashtag Bar */
.hashtag-bar {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    padding: 12px 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

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

@keyframes hashtagShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.hashtag-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.hashtag-content span {
    font-weight: 700;
    color: white;
    font-size: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: hashtagFloat 3s ease-in-out infinite;
}

.hashtag-content span:nth-child(odd) {
    animation-delay: 0.5s;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent-dark) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '🏍️';
    position: absolute;
    top: 20%;
    right: -5%;
    font-size: 150px;
    opacity: 0.1;
    animation: vehicleMove 10s ease-in-out infinite;
}

.hero-section::after {
    content: '🚗';
    position: absolute;
    bottom: 20%;
    left: -5%;
    font-size: 120px;
    opacity: 0.1;
    animation: vehicleMove 12s ease-in-out infinite reverse;
}

@keyframes vehicleMove {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(20px) rotate(2deg); }
    50% { transform: translateX(0) rotate(0deg); }
    75% { transform: translateX(-20px) rotate(-2deg); }
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 25px;
    animation: heroTextIn 1s ease;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 22px;
    opacity: 0.95;
    animation: heroTextIn 1s ease 0.3s;
    animation-fill-mode: both;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

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

/* Raffles Section */
.raffles-main {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: relative;
}

.raffles-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.raffles-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

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

.raffle-card-main {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.raffle-card-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    border-radius: var(--radius);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.raffle-card-main:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

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

.raffle-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--dark);
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    z-index: 10;
    animation: badgePulse 2s infinite;
    border: 2px solid var(--dark);
    text-shadow: none;
}

.raffle-badge.new {
    background: var(--primary);
    color: white;
    border-color: white;
}

.raffle-badge.active {
    background: var(--success);
    color: white;
    border-color: white;
}

.raffle-badge.cancelled {
    background: var(--danger);
    color: white;
    border-color: white;
}

.raffle-badge.paused {
    background: var(--warning);
    color: var(--dark);
}

.raffle-badge.completed {
    background: var(--gray);
    color: white;
    border-color: white;
}

.raffle-badge.sold-out {
    background: var(--dark);
    color: white;
    border-color: white;
}

.raffle-badge.last-tickets {
    background: #ff5722;
    color: white;
    border-color: white;
    animation: urgentPulse 1.5s infinite;
}

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

@keyframes urgentPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 87, 34, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 87, 34, 0); }
}

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

.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: #fe4444;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

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

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

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

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

.progress-fill-main {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    height: 100%;
    transition: width 0.6s ease;
    position: relative;
}

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

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

.raffle-price {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 18px;
}

.raffle-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    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: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

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

.raffle-button:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Detail View Styles */
.detail-view {
    display: none;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.detail-view.show {
    display: block;
}

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

.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

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

.back-button:hover, .share-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.header-title {
    font-size: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.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: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: all 0.3s;
    cursor: pointer;
}

.indicator.active {
    background: var(--accent);
    width: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px var(--accent);
}

/* Detail Container */
.detail-container {
    padding: 25px;
}

.prize-section {
    margin-bottom: 30px;
}

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

.prize-title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
    margin-bottom: 20px;
}

.prize-price {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.raffle-description {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(45, 186, 186, 0.1), rgba(255, 215, 0, 0.1));
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    border: 2px solid rgba(45, 186, 186, 0.2);
}

/* Progress Section */
.progress-section {
    background: linear-gradient(135deg, var(--light-gray), rgba(255, 255, 255, 0.9));
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 2px solid rgba(45, 186, 186, 0.1);
}

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

.progress-title {
    font-weight: 700;
    color: var(--dark);
    font-size: 16px;
}

.progress-percentage {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.progress-bar {
    background: #e0e0e0;
    height: 14px;
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

.progress-fill {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    height: 100%;
    transition: width 0.6s ease;
    position: relative;
}

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

.progress-fill.complete {
    background: var(--success);
}

.progress-fill.cancelled {
    background: var(--danger);
}

.progress-fill.paused {
    background: var(--warning);
}

.progress-text {
    font-size: 14px;
    color: var(--gray);
    text-align: center;
    font-weight: 500;
}

/* Quick Buy Section */
.quick-buy-section {
    background: white;
    padding: 30px 0;
    border-top: 3px solid var(--secondary);
    margin-top: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.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(--secondary);
    padding: 20px;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.quick-buy-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--secondary) 0%, var(--secondary-dark) 100%);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.quick-buy-btn:hover::before {
    width: 300px;
    height: 300px;
}

.quick-buy-btn:hover {
    color: white;
    transform: translateY(-3px) scale(1.05);
    border-color: var(--secondary-dark);
}

.quick-buy-btn.popular {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--primary);
    animation: popularPulse 2s ease-in-out infinite;
}

@keyframes popularPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 68, 68, 0);
    }
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    border: 2px solid var(--dark);
}

/* Custom Amount */
.custom-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

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

.amount-control:hover {
    background: var(--secondary);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.amount-display {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 70px;
    text-align: center;
}

/* Buy Button */
.buy-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buy-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: left 0.5s;
}

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

.buy-button:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

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

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

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

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

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

.pagoapago-button:hover {
    background: linear-gradient(135deg, #5A09CC 0%, #8F30D4 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(111, 11, 255, 0.4);
}

.pagoapago-logo {
    height: 36px;
    width: auto;
    filter: brightness(1.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: 2px;
}

.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(--gray), transparent);
}

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

/* Cash Payment Option */
.cash-payment-option {
    margin-top: 20px;
}

.cash-button {
    background: linear-gradient(135deg, var(--success) 0%, #1e7e34 100%);
    color: white;
    border: none;
    margin-bottom: 15px;
}

.cash-button:hover {
    background: linear-gradient(135deg, #1e7e34 0%, var(--success) 100%);
    transform: translateY(-3px);
}

.cash-button i {
    margin-right: 10px;
    font-size: 20px;
}

.cash-payment-info {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    border: 2px solid rgba(40, 167, 69, 0.2);
    border-radius: 12px;
    padding: 15px;
    font-size: 14px;
    color: var(--gray);
    text-align: center;
    margin: 0;
}

.cash-payment-info i {
    color: var(--success);
    margin-right: 10px;
}

.location-link {
    display: inline-block;
    color: var(--success);
    text-decoration: none;
    font-weight: 700;
    margin-top: 10px;
    padding: 8px 16px;
    border: 2px solid var(--success);
    border-radius: 25px;
    transition: var(--transition);
    font-size: 14px;
}

.location-link:hover {
    background: var(--success);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Payment Methods */
.payment-methods {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #eee;
}

.payment-methods p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.payment-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* Details Section */
.details-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 3px solid var(--secondary);
}

.details-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.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, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.9));
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: 3px 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(45, 186, 186, 0.1), transparent);
    transition: left 0.5s;
}

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

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

.prize-icon {
    font-size: 36px;
    margin-right: 20px;
}

.prize-position {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 20px;
    min-width: 40px;
}

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

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

.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), rgba(255, 215, 0, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    color: var(--dark);
}

.info-icon {
    font-size: 28px;
    color: var(--accent-dark);
}

.info-text {
    font-size: 14px;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--black) 100%);
    color: white;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 68, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 186, 186, 0.1) 0%, transparent 50%);
    animation: footerGlow 10s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

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

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

.footer-column h3 {
    margin-bottom: 25px;
    color: white;
    font-size: 20px;
}

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

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo-container {
    max-width: 180px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0);
    border-radius: 12px;
    padding: 10px;
}

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

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

.social-links a {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 20px;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--dark);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.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(--accent);
    padding-left: 10px;
}

.hashtag-list p {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 600;
}

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

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

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

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.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;
}

.footer-signature {
    color: var(--accent);
    font-style: italic;
    font-weight: 600;
}

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

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

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(45, 186, 186, 0.2);
}

#checkTicketsModal .modal-content {
    max-height: 80vh;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 2px solid rgba(45, 186, 186, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(45, 186, 186, 0.05), rgba(255, 215, 0, 0.05));
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--gray);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--light-gray);
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 20px 25px;
}

.modal-footer {
    padding: 15px 25px 25px;
    border-top: 2px solid rgba(45, 186, 186, 0.1);
}

/* Order Summary */
.order-summary {
    margin: 0;
    padding: 0;
}

.modal-body .summary-item,
.order-summary .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    line-height: 1.3;
    min-height: 28px;
    height: auto;
    text-align: left;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    flex-direction: row;
    border-left: none;
    border-right: none;
    border-top: none;
}

.modal-body .summary-item span,
.order-summary .summary-item span {
    line-height: 1.3;
    padding: 0;
    margin: 0;
    display: inline-block;
    font-weight: 500;
}

.modal-body .summary-item:hover,
.order-summary .summary-item:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.modal-body .summary-item.total,
.order-summary .summary-item.total {
    border-bottom: none;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.1), rgba(45, 186, 186, 0.1));
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 5px;
    line-height: 1.3;
    border: 2px solid rgba(45, 186, 186, 0.2);
}

.modal-body .summary-item.total span:last-child,
.order-summary .summary-item.total span:last-child {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

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

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

.terms-text a:hover {
    color: var(--primary);
}

/* Lottery Modal */
.lottery-modal {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent-dark) 100%);
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.lottery-modal .modal-header {
    border-bottom: none;
    background: transparent;
}

.lottery-modal .modal-title {
    color: white;
    text-align: center;
    width: 100%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: none;
    -webkit-text-fill-color: white;
}

.lottery-container {
    padding: 50px 25px;
    text-align: center;
}

.lottery-machine {
    background: rgba(255,255,255,0.15);
    border-radius: 25px;
    padding: 50px;
    margin-bottom: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

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

.slot {
    width: 70px;
    height: 90px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.slot-number {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes slotSpin {
    0% { transform: translateY(-900px); }
    100% { transform: translateY(0); }
}

.lottery-text {
    font-size: 20px;
    opacity: 0.95;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Success Modal */
.success-message {
    text-align: center;
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 30px;
    font-weight: 500;
}

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

/* Toast */
.toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    padding: 20px 30px;
    background: var(--dark);
    color: white;
    border-radius: 12px;
    transform: translateY(100px);
    transition: var(--transition);
    z-index: 10000;
    max-width: 380px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
}

.toast.show {
    transform: translateY(0);
}

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

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

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

.toast.info {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: var(--transition);
    z-index: 1000;
    animation: whatsappPulse 3s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

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

/* Loading */
.loading {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: loadingSpin 1s ease-in-out infinite;
}

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

/* Auth Forms */
.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(45, 186, 186, 0.1);
}

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

.auth-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.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: 6px;
}

.form-group input, .form-group select {
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    transition: var(--transition);
    font-weight: 500;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(45, 186, 186, 0.1);
}

/* 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: 12px;
    font-size: 16px;
    background: white;
    transition: var(--transition);
    font-weight: 600;
}

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

.id-type-select:focus,
.id-number-input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(45, 186, 186, 0.1);
}

/* Buyer Info Section */
.buyer-info-section {
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.divider {
    margin: 8px 0;
    border: none;
    border-top: 2px solid rgba(45, 186, 186, 0.1);
    height: 0;
}

/* Payment Timer */
.payment-timer {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.3);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 25px;
    color: var(--dark);
    font-weight: 600;
}

.payment-details {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 2px solid rgba(45, 186, 186, 0.1);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 500;
}

.payment-loading {
    text-align: center;
    margin-top: 40px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--secondary);
    border-radius: 50%;
    animation: loadingSpin 1s linear infinite;
    margin: 0 auto 25px;
}

/* Tickets Grid */
.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.ticket-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.9));
    border: 3px dashed var(--secondary);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.ticket-item::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
    border-radius: 12px;
}

.ticket-item:hover::before {
    opacity: 1;
}

.ticket-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: transparent;
}

.ticket-number {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Courier New', monospace;
    position: relative;
    z-index: 1;
    text-shadow: none;
    animation: ticketFloat 4s ease-in-out infinite;
}

@keyframes ticketFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.05);
    }
}

.ticket-info {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    font-weight: 500;
}

/* Confetti */
.confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}

.confetti-piece {
    position: absolute;
    width: 12px;
    height: 12px;
    animation: confettiDance 4s linear;
}

@keyframes confettiDance {
    to {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Raffle Card States */
.raffle-card-main.sold-out {
    opacity: 0.7;
    cursor: not-allowed;
    filter: grayscale(50%);
}

.raffle-card-main.sold-out:hover {
    transform: none;
    box-shadow: var(--shadow);
}

.raffle-card-image.grayscale {
    filter: grayscale(100%);
    opacity: 0.8;
}

.sold-out-badge {
    background: var(--danger) !important;
    color: white !important;
    animation: none !important;
}

.warning-badge {
    background: var(--warning) !important;
    color: white !important;
}

.progress-fill-main.complete {
    background: var(--danger);
}

.tickets-remaining {
    text-align: center;
    color: var(--warning);
    font-size: 12px;
    font-weight: 700;
    margin-top: 8px;
}

.raffle-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none !important;
}

.raffle-button:disabled:hover {
    background: #ccc;
    transform: none;
}

/* Payment Info Overlay */
.payment-info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.payment-info-overlay.show {
    opacity: 1;
}

.payment-info-card {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(45, 186, 186, 0.2);
}

.payment-info-header {
    padding: 25px;
    border-bottom: 2px solid rgba(45, 186, 186, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(45, 186, 186, 0.05), rgba(255, 215, 0, 0.05));
}

.payment-info-header h3 {
    margin: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray);
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.close-btn:hover {
    background: var(--light-gray);
    color: var(--primary);
    transform: rotate(90deg);
}

.payment-info-body {
    padding: 35px;
}

.payment-info-icon {
    text-align: center;
    margin-bottom: 25px;
}

.payment-info-icon i {
    font-size: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-info-details {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border: 2px solid rgba(45, 186, 186, 0.1);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 500;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.payment-info-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 25px 0;
}

.spinner-small {
    width: 24px;
    height: 24px;
    border: 3px solid var(--light-gray);
    border-top: 3px solid var(--secondary);
    border-radius: 50%;
    animation: loadingSpin 1s linear infinite;
}

.payment-info-help {
    text-align: center;
    padding-top: 25px;
    border-top: 2px solid rgba(45, 186, 186, 0.1);
}

.retry-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    margin-top: 15px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.retry-btn:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: translateY(-2px);
}

/* Blocked Popup Modal */
.blocked-popup-info {
    text-align: center;
    padding: 25px;
}

.blocked-popup-info ol {
    text-align: left;
    max-width: 400px;
    margin: 25px auto;
    line-height: 1.6;
}

.payment-url-info {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
    border: 2px solid rgba(45, 186, 186, 0.1);
}

.url-copy-container {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.url-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.copy-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.copy-btn:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: translateY(-2px);
}

/* Copy buttons */
.copy-button {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 35% !important;
}

.copy-button:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: scale(1.05);
}

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

.copy-all-button {
    background: linear-gradient(135deg, var(--success) 0%, #1e7e34 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    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 {
    background: linear-gradient(135deg, #1e7e34 0%, var(--success) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Search Section */
.search-section {
    margin-bottom: 35px;
}

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

.search-tabs {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(45, 186, 186, 0.1);
}

.search-tab {
    flex: 1;
    padding: 18px;
    background: none;
    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;
}

.search-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

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

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

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

.search-input-group input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(45, 186, 186, 0.1);
}

.search-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.search-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: left 0.5s;
}

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

.search-button:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: translateY(-3px);
}

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

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

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

.search-button-text i {
    flex-shrink: 0;
}

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

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

.search-summary {
    background: linear-gradient(135deg, rgba(45, 186, 186, 0.1), rgba(255, 215, 0, 0.1));
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    border-left: 6px solid var(--secondary);
    border: 3px solid rgba(45, 186, 186, 0.2);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.search-summary::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -6px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--secondary), var(--primary), var(--accent));
    border-radius: 16px;
    opacity: 0.1;
    z-index: -1;
}

.search-summary h3 {
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

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

.summary-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 25px 15px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 3px solid transparent;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.summary-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 16px;
    z-index: -1;
}

.summary-item:hover::before {
    opacity: 0.1;
}

.summary-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary);
}

.summary-item.highlight-winner {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    border-color: var(--success);
}

.summary-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
    line-height: 1;
}

.summary-number {
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
    line-height: 1.2;
}

.summary-item.highlight-winner .summary-number {
    background: linear-gradient(135deg, var(--success) 0%, #1e7e34 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.summary-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    display: block;
    line-height: 1.3;
    word-wrap: break-word;
    max-width: 100%;
    padding: 0 8px;
}

/* Raffle Groups */
.raffle-group {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 2px solid rgba(45, 186, 186, 0.1);
}

.raffle-group-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
    min-height: auto;
}

.raffle-group-header:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

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

.raffle-info {
    flex: 1;
}

.raffle-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.2;
}

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

.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;
}

.raffle-status {
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
}

.raffle-status.active {
    background: var(--success);
    color: white;
}

.raffle-status.completed {
    background: var(--gray);
    color: white;
}

.raffle-status.cancelled {
    background: var(--danger);
    color: white;
}

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

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

/* Tickets Grid in Search Results */
.raffle-tickets {
    padding: 15px;
    background: rgba(248, 249, 250, 0.8);
    display: none;
}

.raffle-group.expanded .raffle-tickets {
    display: block;
}

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

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

.ticket-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 186, 186, 0.15), transparent);
    transition: left 0.6s;
}

.ticket-card:hover::before {
    left: 100%;
}

.ticket-card:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.ticket-card.winner {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    animation: winnerShine 3s ease-in-out infinite;
}

@keyframes winnerShine {
    0%, 100% {
        box-shadow: 0 0 8px rgba(40, 167, 69, 0.3),
                    0 0 15px rgba(40, 167, 69, 0.2),
                    0 0 20px rgba(40, 167, 69, 0.1);
    }
    50% {
        box-shadow: 0 0 15px rgba(40, 167, 69, 0.5),
                    0 0 25px rgba(40, 167, 69, 0.3),
                    0 0 35px rgba(40, 167, 69, 0.2);
    }
}

.ticket-number {
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Courier New', monospace;
    text-align: center;
    margin-bottom: 6px;
    line-height: 1;
}

.ticket-info {
    font-size: 11px;
    color: var(--gray);
    text-align: center;
    line-height: 1.2;
    font-weight: 500;
}

.winner-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    animation: badgePulse 2s infinite;
}

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

.no-results-icon {
    font-size: 60px;
    margin-bottom: 25px;
    opacity: 0.5;
}

.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;
}

/* Ticket Detail Modal */
.ticket-detail-content {
    padding: 25px 0;
}

.ticket-detail-header {
    text-align: center;
    margin-bottom: 35px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(45, 186, 186, 0.1), rgba(255, 215, 0, 0.1));
    border-radius: 16px;
    border: 2px solid rgba(45, 186, 186, 0.2);
}

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

.ticket-detail-raffle {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.ticket-detail-date {
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
}

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

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.info-value {
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
}

.winner-announcement {
    background: linear-gradient(135deg, var(--success) 0%, #1e7e34 100%);
    color: white;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.winner-announcement h3 {
    margin-bottom: 12px;
    font-size: 22px;
}

.winner-announcement p {
    opacity: 0.95;
    font-size: 16px;
}

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

.payment-iframe-container {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    height: 600px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(45, 186, 186, 0.2);
}

.payment-iframe-header {
    padding: 25px;
    border-bottom: 2px solid rgba(45, 186, 186, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(45, 186, 186, 0.05), rgba(255, 215, 0, 0.05));
}

.payment-iframe-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payment-iframe-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray);
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
    border-radius: 50%;
}

.payment-iframe-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
    background: var(--light-gray);
}

.payment-iframe-info {
    padding: 18px;
    background: linear-gradient(135deg, rgba(45, 186, 186, 0.05), rgba(255, 215, 0, 0.05));
    border-bottom: 2px solid rgba(45, 186, 186, 0.1);
    position: relative;
    z-index: 10;
    margin-top: 5px;
}

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

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

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

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    white-space: nowrap;
}

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

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

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

.action-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 2px solid rgba(45, 186, 186, 0.3);
    background: white;
    color: var(--secondary);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.action-btn i {
    font-size: 16px;
}

.payment-iframe-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    padding-top: 12px;
}

.payment-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    border-radius: 0 0 16px 16px;
}

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

.payment-iframe-loading .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--secondary);
    border-radius: 50%;
    animation: loadingSpin 1s linear infinite;
    margin: 0 auto 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-info {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-logo-container {
        max-width: 160px;
        height: 55px;
    }
    
    .logo-container {
        width: 140px;
        height: 50px;
    }
    
    .logo-img {
        max-width: 140px;
        max-height: 110px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .logo-text p {
        font-size: 12px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-actions span {
        display: none;
    }

    .btn-check-tickets {
        font-size: 12px;
        padding: 8px 14px;
    }
    
    .btn-check-tickets i {
        font-size: 14px;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 20px;
    }

    .raffles-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .quick-buy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-image {
        height: 320px;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    .hashtag-content {
        font-size: 13px;
    }
    
    .search-button {
        font-size: 14px;
        padding: 15px 20px;
    }
    
    .search-button-text {
        display: flex !important;
        align-items: center;
        gap: 8px;
        font-size: 14px;
    }
    
    .search-tabs {
        flex-direction: column;
    }
    
    .search-tab {
        border-bottom: 1px solid #eee;
    }
    
    .search-tab.active::after {
        display: none;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .summary-item {
        padding: 20px;
        min-height: auto;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 15px;
    }
    
    .summary-icon {
        font-size: 32px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .summary-number {
        font-size: 28px;
        margin-bottom: 0;
        margin-right: 10px;
    }
    
    .summary-label {
        font-size: 14px;
        text-align: left;
        padding: 0;
    }
    
    .raffle-group-header {
        flex-direction: row;
        text-align: left;
        gap: 10px;
        padding: 12px 15px;
    }
    
    .raffle-image {
        width: 40px;
        height: 40px;
    }
    
    .raffle-title {
        font-size: 14px;
    }
    
    .raffle-meta {
        font-size: 11px;
    }
    
    .ticket-count {
        font-size: 18px;
    }
    
    .raffle-stats {
        text-align: right;
    }
    
    .tickets-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 8px;
    }
    
    .ticket-card {
        padding: 8px;
    }
    
    .ticket-number {
        font-size: 16px;
    }
    
    .ticket-info {
        font-size: 10px;
    }
    
    .ticket-detail-info {
        grid-template-columns: 1fr;
    }
    
    .payment-iframe-container {
        max-height: 90vh;
        height: auto;
        max-width: 100%;
        border-radius: 0;
        margin: 25px 0;
    }
    
    .payment-iframe-overlay {
        padding: 0;
        align-items: flex-start;
        overflow-y: auto;
    }
    
    .payment-iframe-header {
        padding: 18px;
        position: sticky;
        top: 0;
        background: white;
        z-index: 20;
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    }
    
    .payment-iframe-title {
        font-size: 18px;
    }
    
    .payment-iframe-info {
        padding: 15px 18px;
        margin-top: 0;
        position: sticky;
        top: 70px;
        background: linear-gradient(135deg, rgba(45, 186, 186, 0.05), rgba(255, 215, 0, 0.05));
        z-index: 15;
        box-shadow: 0 3px 6px rgba(0,0,0,0.05);
    }
    
    .payment-info-compact {
        gap: 12px;
        flex-wrap: wrap;
        padding: 8px 0;
    }
    
    .info-group {
        gap: 12px;
        flex: 1 1 100%;
        justify-content: space-between;
        margin-bottom: 10px;
    }
    
    .info-item {
        font-size: 13px;
        gap: 5px;
        flex: 0 0 auto;
    }
    
    .info-actions {
        flex: 0 0 auto;
        margin-left: 0;
    }
    
    .info-item span {
        font-size: 12px;
    }
    
    .info-item strong {
        font-size: 14px;
    }
    
    .info-item:first-child {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }
    
    .info-item:first-child strong {
        font-size: 12px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        display: block;
    }
    
    .info-actions {
        gap: 8px;
        flex: 0 0 auto;
    }
    
    .action-btn {
        width: 36px;
        height: 36px;
        touch-action: manipulation;
    }
    
    .action-btn i {
        font-size: 14px;
    }
    
    .payment-iframe-wrapper {
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-section {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-logo-container {
        max-width: 140px;
        height: 50px;
    }
    
    .logo-container {
        width: 120px;
        height: 50px;
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .logo-img {
        max-width: 120px;
        max-height: 110px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .raffles-title {
        font-size: 32px;
    }

    .prize-title {
        font-size: 26px;
    }

    .prize-price {
        font-size: 28px;
    }
    
    .raffle-description {
        font-size: 15px;
        padding: 15px;
        margin-bottom: 20px;
    }

    .modal-content {
        margin: 15px;
    }
    
    .id-input-group {
        gap: 8px;
    }
    
    .id-type-select {
        width: 70px;
        padding: 12px 8px;
        font-size: 15px;
    }
    
    .id-number-input {
        padding: 12px 12px;
        font-size: 15px;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .search-summary {
        padding: 25px 20px;
    }
    
    .search-summary h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .summary-item {
        padding: 18px;
        gap: 12px;
    }
    
    .summary-icon {
        font-size: 28px;
    }
    
    .summary-number {
        font-size: 24px;
    }
    
    .summary-label {
        font-size: 13px;
    }
    
    .tickets-grid {
        grid-template-columns: 1fr;
    }
}