/*
========================================
PESO Biñan - Pre-Registration Section Styles
Author: PESO Biñan
Version: 1.0
========================================
*/

.prereg-section {
    padding: var(--section-padding) 0;
    background: var(--gradient-purple);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.prereg-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

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

/* Badge */
.prereg-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Title */
.prereg-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.prereg-title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.prereg-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Features List */
.qr-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 1rem;
}

.feature-item i {
    color: #4ade80;
    font-size: 1.2rem;
}

/* CTA Buttons */
.prereg-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-register {
    background: var(--gradient-gold);
    color: #333;
    padding: 14px 35px;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: #333;
}

.btn-learn {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 14px 35px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-learn:hover {
    background: rgba(255,255,255,0.3);
    color: white;
    transform: translateY(-3px);
}

/* Stats */
.prereg-stats {
    display: flex;
    gap: 30px;
}

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

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    line-height: 1.2;
    min-width: 80px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-number:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
    background: linear-gradient(135deg, #F7931E 0%, #FF6B35 100%);
}
.stat-label {
    font-size: 0.85rem;
    color: #ff7300;
}


/* Pre-reg Card */
.prereg-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: var(--shadow-xl);
    position: relative;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.card-header h4 {
    margin-bottom: 0;
    font-weight: 700;
}

/* Event List */
.event-list {
    margin-bottom: 20px;
}

.event-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition-fast);
}

.event-item:hover {
    transform: translateX(5px);
}

.event-date {
    text-align: center;
    min-width: 60px;
}

.event-date .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffd700;
    text-transform: uppercase;
}

.event-date .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.event-details {
    flex: 1;
}

.event-details h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.event-details p {
    font-size: 0.85rem;
    margin-bottom: 5px;
    opacity: 0.8;
}

.event-details p i {
    width: 16px;
    color: #ffd700;
}

.event-register-link {
    color: #ffd700;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-fast);
}

.event-register-link:hover {
    color: white;
    gap: 8px;
}

/* Card Footer */
.card-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.view-all-events {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.view-all-events:hover {
    color: #ffd700;
}

/* QR Sample */
.qr-sample {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    color: #333;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    animation: bounce 2s infinite;
}

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

.qr-sample i {
    font-size: 1.5rem;
    color: #667eea;
}

.qr-sample span {
    font-weight: 600;
}

/* Update event-date styles para sa year */
.event-date .year {
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}

/* No events message */
.no-events-message {
    color: rgba(255,255,255,0.7);
}

.no-events-message i {
    color: var(--primary-color);
}

.no-events-message p {
    margin-bottom: 5px;
}

.no-events-message .small {
    font-size: 0.8rem;
    opacity: 0.6;
}