/* CSS Değişkenleri */
:root {
    --primary-gradient: linear-gradient(135deg, #ffc107 0%, #ffc107 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --error-gradient: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    --gold-gradient: linear-gradient(135deg, #ffca00cf 0%, #ffc107 100%);
    --silver-gradient: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    --bronze-gradient: linear-gradient(135deg, #cd7f32 0%, #d4a574 100%);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.2);
    --border-radius-small: 8px;
    --border-radius-medium: 12px;
    --border-radius-large: 20px;
    --border-radius-xl: 30px;
    --transition-fast: all .3s ease;
    --transition-medium: all .5s ease;
    --transition-slow: all 0.7s ease;
}

/* Bildirim Sistemi */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.notification {
    background: white;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    transform: translateX(100%);
    opacity: 0;
    transition: var(--transition-medium);
    border-left: 4px solid;
    position: relative;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(100%);
    opacity: 0;
}

.notification-success { border-left-color: #10b981; }
.notification-error { border-left-color: #ef4444; }
.notification-warning { border-left-color: #f59e0b; }
.notification-info { border-left-color: #3b82f6; }

.notification-content {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 12px;
}

.notification-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-success .notification-icon { color: #10b981; }
.notification-error .notification-icon { color: #ef4444; }
.notification-warning .notification-icon { color: #f59e0b; }
.notification-info .notification-icon { color: #3b82f6; }

.notification-message {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.notification-close:hover {
    color: #6b7280;
    background: #f3f4f6;
}

.notification-progress {
    height: 3px;
    background: #f3f4f6;
    position: relative;
    overflow: hidden;
}

.notification-progress .progress-bar {
    height: 100%;
    background: currentColor;
    width: 100%;
    animation: notificationProgress 5s linear forwards;
}

.notification-success .progress-bar { background: #10b981; }
.notification-error .progress-bar { background: #ef4444; }
.notification-warning .progress-bar { background: #f59e0b; }
.notification-info .progress-bar { background: #3b82f6; }

@keyframes notificationProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Modern Hero Banner */
.modern-hero-banner {
    position: relative;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-xl);
    margin-bottom: 40px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.modern-hero-banner.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 100px 100px, 80px 80px, 60px 60px;
    animation: particlesFloat 20s infinite linear;
}

@keyframes particlesFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ffc107 0%, #64748b 60%, #1e1e32 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px;
    max-width: 1000px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 10px;
    font-weight: 400;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-stats-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.hero-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-large);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 180px;
    transition: var(--transition-medium);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-card.highlight {
    background: linear-gradient(135deg, #ffca0080 0%, #ffc107b3 100%);
    color: #ffffff;
    border-color: rgba(255, 215, 0, 0.3);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    /* padding: 5px; */
}

.stat-card.highlight .stat-icon {
    background: rgba(0, 0, 0, 0.1);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: white;
}

.stat-label {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 500;
    color: #ffffffcc;
}

.countdown-section {
    text-align: center;
}

.countdown-label {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
    font-weight: 500;
}

.countdown-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-large);
    padding: 20px 30px;
    font-family: 'Geologica', sans-serif;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.countdown-number {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    min-width: 50px;
    text-align: center;
}

.countdown-text {
    font-size: 11px;
    opacity: 0.8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-size: 24px;
    font-weight: 700;
    opacity: 0.7;
}

.countdown-expired {
    font-size: 20px;
    font-weight: 600;
    color: #ff6b6b;
    text-align: center;
    padding: 20px;
}

/* Modern Form Styles */
.ticket-request-modern,
.user-tickets-modern,
.winning-tickets-modern,
.rules-modern {
    margin-bottom: 40px;
}

.section-header-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: space-between;
}

.section-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-light);
}

.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: #1e1e32;
}

.section-title p {
    font-size: 14px;
    color: #6b7280;
    margin: 5px 0 0 0;
}

.see-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-fast);
}

.see-all-btn:hover {
    color: #4f46e5;
    transform: translateX(3px);
}

.modern-alert {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
}

.modern-alert.alert-warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.modern-alert .alert-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.modern-alert .alert-icon {
    width: 40px;
    height: 40px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 18px;
    flex-shrink: 0;
}

.alert-title {
    font-weight: 600;
    color: #92400e;
    margin-bottom: 5px;
}

.alert-message {
    color: #a16207;
    font-size: 14px;
}

.alert-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(245, 158, 11, 0.2);
}

.alert-progress .progress-bar {
    height: 100%;
    background: #f59e0b;
    width: 100%;
    animation: alertProgress 3s ease-out infinite;
}

@keyframes alertProgress {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.modern-form-container {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-medium);
    border: 1px solid #e5e7eb;
}

.form-group-modern {
    margin-bottom: 25px;
}

.form-label-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    font-size: 16px;
}

.input-container-modern {
    position: relative;
    display: flex;
    align-items: center;
}

.input-modern {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius-medium);
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition-fast);
    background: white;
}

.input-modern:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-container-modern.has-value .input-modern {
    border-color: #10b981;
}

.input-currency {
    position: absolute;
    right: 15px;
    font-weight: 700;
    color: #6b7280;
    font-size: 16px;
}

.form-hint {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #6b7280;
}

.hint-min {
    color: #ef4444;
}

.hint-max {
    color: #10b981;
}

.calculation-display {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--border-radius-large);
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

.calc-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.calc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.calc-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-value {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    font-family: 'Courier New', monospace;
}

.calc-divider {
    width: 1px;
    height: 40px;
    background: #cbd5e1;
}

.btn-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius-medium);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    overflow: hidden;
    min-width: 160px;
}

.btn-primary-modern {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-primary-modern:active {
    transform: translateY(0);
}

.btn-modern.loading {
    pointer-events: none;
}

.btn-modern.loading .btn-text {
    opacity: 0;
}

.btn-modern.loading .btn-icon {
    opacity: 0;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: var(--transition-fast);
}

.btn-modern.loading .btn-loader {
    opacity: 1;
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modern Ticket Cards */
.tickets-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.ticket-card-modern {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 25px;
    box-shadow: var(--shadow-light);
    border: 2px solid #f1f5f9;
    position: relative;
    transition: var(--transition-medium);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.ticket-card-modern.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.ticket-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: #e2e8f0;
}

.ticket-card-modern.winning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fbbf24;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.winning-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.winning-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, #ffd700 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, #ffed4e 1px, transparent 1px);
    background-size: 30px 30px, 20px 20px;
    animation: particlesFloat 3s infinite ease-in-out;
}

.winning-crown {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
    box-shadow: var(--shadow-light);
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.ticket-number {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ticket-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.number-display {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    font-family: 'Courier New', monospace;
}

.winning-badge {
    background: var(--gold-gradient);
    color: #333;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prize-section {
    background: rgba(251, 191, 36, 0.1);
    border-radius: var(--border-radius-medium);
    padding: 15px;
    text-align: center;
    margin-bottom: 15px;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.prize-amount {
    font-size: 22px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 5px;
}

.prize-type {
    font-size: 12px;
    color: #a16207;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.ticket-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.ticket-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
}

/* Modern Winners Section */
.winners-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.winner-card-modern {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 25px;
    box-shadow: var(--shadow-light);
    border: 2px solid #f1f5f9;
    position: relative;
    transition: var(--transition-medium);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.winner-card-modern.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.winner-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.winner-card-modern.rank-1 {
    border-color: #fbbf24;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.winner-card-modern.rank-2 {
    border-color: #9ca3af;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.winner-card-modern.rank-3 {
    border-color: #d97706;
    background: linear-gradient(135deg, #fef7ed 0%, #ffffff 100%);
}

.winner-rank {
    z-index: 1;
    position: absolute;
    top: 10px;
    left: 25px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: white;
    box-shadow: var(--shadow-medium);
}

.winner-card-modern.rank-1 .winner-rank {
    background: var(--gold-gradient);
}

.winner-card-modern.rank-2 .winner-rank {
    background: var(--silver-gradient);
}

.winner-card-modern.rank-3 .winner-rank {
    background: var(--bronze-gradient);
}

.winner-card-modern:not(.rank-1):not(.rank-2):not(.rank-3) .winner-rank {
    background: var(--primary-gradient);
}

.rank-medal {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fbbf24;
}

.winner-info {
    margin: 25px 0 20px 0;
    text-align: center;
}

.ticket-number-winner {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    font-family: 'Courier New', monospace;
    margin-bottom: 10px;
}

.winner-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.prize-info-winner {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--border-radius-medium);
    border: 1px solid #e2e8f0;
}

.prize-amount-winner {
    font-size: 24px;
    font-weight: 700;
    color: #059669;
    margin-bottom: 5px;
}

.prize-type-winner {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.winner-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: var(--transition-medium);
    border-radius: var(--border-radius-xl);
}

.winner-card-modern:hover .winner-glow {
    opacity: 1;
}

.winner-glow.rank-1 {
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.4);
    /* z-index: 1; */
}

.winner-glow.rank-2 {
    box-shadow: 0 0 30px rgba(156, 163, 175, 0.4);
}

.winner-glow.rank-3 {
    box-shadow: 0 0 30px rgba(217, 119, 6, 0.4);
}

/* No Winners State */
.no-winners-modern {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--border-radius-xl);
    border: 2px dashed #cbd5e1;
}

.no-winners-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #64748b;
}

.no-winners-modern h3 {
    font-size: 20px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 10px;
}

.no-winners-modern p {
    color: #64748b;
    font-size: 14px;
}

/* Rules Section */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.rule-card {
    background: white;
    border-radius: var(--border-radius-large);
    padding: 25px;
    box-shadow: var(--shadow-light);
    border: 1px solid #f1f5f9;
    transition: var(--transition-medium);
    opacity: 0;
    transform: translateY(20px);
}

.rule-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: #e2e8f0;
}

.rule-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-light);
}

.rule-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.rule-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

/* Login Required Section */
.login-required-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    margin: 40px 0;
}

.login-card-modern {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-heavy);
    text-align: center;
    max-width: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.login-animation {
    position: relative;
    margin-bottom: 30px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: var(--shadow-medium);
    z-index: 2;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.login-circles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    animation: ripple 3s infinite;
}

.circle-1 {
    width: 100px;
    height: 100px;
    border-color: rgba(102, 126, 234, 0.3);
    animation-delay: 0s;
}

.circle-2 {
    width: 140px;
    height: 140px;
    border-color: rgba(102, 126, 234, 0.2);
    animation-delay: 1s;
}

.circle-3 {
    width: 180px;
    height: 180px;
    border-color: rgba(102, 126, 234, 0.1);
    animation-delay: 2s;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.login-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.login-content p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* No Event Section */
.no-event-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 400px;
    margin: 40px 0;
    padding: 40px;
}

.no-event-animation {
    position: relative;
    margin-bottom: 30px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-event-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 40px;
    box-shadow: var(--shadow-light);
    z-index: 2;
    position: relative;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.float-element {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    border-radius: 50%;
    animation: float 4s infinite ease-in-out;
}

.float-element:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.float-element:nth-child(2) {
    top: 30%;
    right: 25%;
    animation-delay: 1.5s;
}

.float-element:nth-child(3) {
    bottom: 25%;
    left: 30%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px);
        opacity: 1;
    }
}

.no-event-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 15px;
}

.no-event-content p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-stats {
        gap: 15px;
    }
    
    .stat-card {
        min-width: 160px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .countdown-display {
        padding: 15px 20px;
        gap: 8px;
    }
    
    .countdown-number {
        font-size: 24px;
        min-width: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .stat-card {
        min-width: auto;
        width: 100%;
        /* max-width: 300px; */
    }
    
    .countdown-display {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .countdown-unit {
        flex-direction: row;
        gap: 10px;
    }
    
    .countdown-separator {
        display: none;
    }
    
    .section-header-modern {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }
    
    .calc-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .calc-divider {
        width: 40px;
        height: 1px;
        transform: rotate(90deg);
    }
    
    .tickets-grid-modern {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .winners-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero-content {
        padding: 30px 20px;
    }
    
    .modern-form-container {
        padding: 20px;
    }
    
    .login-card-modern {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .notification-container {
        left: 10px;
        right: 10px;
        top: 10px;
        max-width: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 18px;
        /* color: white; */
    }
    
    .countdown-number {
        font-size: 20px;
        min-width: 35px;
    }
    
    .ticket-card-modern,
    .winner-card-modern,
    .rule-card {
        padding: 20px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .btn-modern {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .input-modern {
        padding: 12px 40px 12px 12px;
        font-size: 14px;
    }
}

/* Additional Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animations */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-scale {
    animation: fadeInScale 0.6s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    transition: var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Focus Styles for Accessibility */
.btn-modern:focus,
.input-modern:focus,
.notification-close:focus {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .modern-hero-banner {
        background: #000;
        color: #fff;
    }
    
    .stat-card,
    .ticket-card-modern,
    .winner-card-modern,
    .rule-card {
        border: 2px solid #000;
    }
    
    .btn-primary-modern {
        background: #000;
        color: #fff;
        border: 2px solid #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-particles,
    .winning-particles,
    .login-circles,
    .floating-elements {
        display: none;
    }
}

/* Print Styles */
@media print {
    .notification-container,
    .hero-particles,
    .winning-overlay,
    .login-animation,
    .no-event-animation {
        display: none !important;
    }
    
    .modern-hero-banner,
    .ticket-card-modern,
    .winner-card-modern,
    .rule-card {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
    
    .hero-title,
    .section-title h2 {
        color: #000 !important;
    }
}

.rank-number {
    font-size: 1.5em;
    font-weight: bold;
    color: black;
    margin-right: 10px;
}
