/*
###############################################
# Custom Overrides for magyar-horcebet.com
###############################################
*/

/* Body enhancements */
body {
    font-family: 'Open Sans', 'PT Serif', Arial, sans-serif;
    line-height: 1.6;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Header enhancements */
#Header {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Logo enhancements */
#Logo a {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    letter-spacing: -0.5px;
}

/* Navigation enhancements */
#mainNav a {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 36px;
}

/* Contact info styling */
#contact {
    background: rgba(253, 59, 253, 0.03);
    padding: 6px 12px;
    border-radius: 15px;
    border: 1px solid rgba(253, 59, 253, 0.08);
}

#contact li {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    gap: 8px;
}

#contact a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

#contact a:hover {
    color: #fd3bfd;
}

/* User menu button styling */
.user .toggle,
.user .link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-height: 36px;
    line-height: 1.2;
}

.user .toggle:hover,
.user .link:hover {
    background-color: rgba(253, 59, 253, 0.1);
    color: #fd3bfd;
}

/* Contact icons styling */
#contact .fa-phone,
#contact .fa-envelope {
    color: #fd3bfd;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

/* Ticker enhancements */
#ticker {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border-radius: 20px;
    padding: 6px 15px;
    margin-bottom: 8px;
    box-shadow: 0 1px 4px rgba(238, 90, 36, 0.2);
}

#ticker .fa-exclamation-triangle {
    margin-right: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Box enhancements */
.box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid rgba(253, 59, 253, 0.05);
    transition: all 0.3s ease;
}

.box:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

/* Swiper enhancements */
.swiper-container {
    border-radius: 12px;
    overflow: hidden;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(253, 59, 253, 0.1), rgba(0, 102, 204, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-slide:hover::before {
    opacity: 1;
}

/* Pagination styling */
.pagination {
    bottom: 20px !important;
}

.pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.pagination .swiper-pagination-bullet-active {
    background: #fd3bfd;
    transform: scale(1.2);
}

/* Race list enhancements */
.raceList li {
    background: rgba(255, 255, 255, 0.8);
    border-left: 4px solid #fd3bfd;
    transition: all 0.3s ease;
}

.raceList li:hover {
    background: rgba(253, 59, 253, 0.05);
    border-left-color: #0066cc;
    padding-left: 20px;
}

.jackpot-size {
    color: #0066cc;
    font-weight: 600;
}

.jackpot-time {
    color: #fd3bfd;
    font-weight: 500;
}

/* Promo box enhancements */
.promo-box {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.promo-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(253, 59, 253, 0.1), rgba(0, 102, 204, 0.1));
    z-index: 1;
}

.promo-box__content {
    position: relative;
    z-index: 2;
}

/* Footer enhancements */
.main-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fd3bfd, #0066cc, #fd3bfd);
}

.alert18 {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #fd3bfd;
    margin-bottom: 15px;
}

/* Cookie bar enhancements */
#cookiebar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
}

#cookiebar a {
    color: #ffd700;
    text-decoration: underline;
    font-weight: 600;
}

#cookiebar a:hover {
    color: #fff;
}

/* Age modal enhancements */
#age-modal .modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#age-modal button {
    background: linear-gradient(135deg, #fd3bfd, #0066cc);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
}

#age-modal button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive enhancements */
@media (max-width: 768px) {
    .box {
        margin-bottom: 15px;
    }
    
    #Header {
        padding: 10px 0;
    }
    
    .main-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
    }
}

/* Loading animations */
@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.main-header {
    animation: slideInFromTop 0.8s ease-out;
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #fd3bfd;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .main-header,
    .main-footer,
    #cookiebar,
    #age-modal {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
    
    .box {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}
