/*
###############################################
# Unique Styles for magyar-horcebet.com
###############################################
*/

/* Header Styles */
.main-header {
    position: relative;
    z-index: 1000;
}

.header-stripe {
    background: linear-gradient(135deg, #fd3bfd 0%, #0066cc 100%);
    height: 3px;
    opacity: 0.8;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    flex-wrap: wrap;
}

.logo-section {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-section a {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    line-height: 1;
}

.logo-link {
    color: #fd3bfd;
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    line-height: 1;
}

.logo-text {
    text-indent: 0;
    height: auto;
    display: inline-block;
}

.logo-section a:hover {
    transform: scale(1.05);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 0;
}

.header-top {
    margin-bottom: 10px;
}

.header-bottom {
    width: 100%;
}

.main-navigation {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

.main-navigation a:hover {
    background-color: rgba(253, 59, 253, 0.1);
    color: #fd3bfd;
}

/* Main Content Styles */
.main-content-section {
    background: #f8f9fa;
    min-height: 60vh;
}

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

.main-wrapper {
    display: flex;
    gap: 20px;
}

.content-right {
    flex: 1;
}

/* Slider Styles */
.main-slider {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.main-slider .swiper-container {
    border-radius: 8px;
}

.main-slider .swiper-slide {
    transition: transform 0.3s ease;
}

.main-slider .swiper-slide:hover {
    transform: scale(1.02);
}

/* Jackpot Section Styles */
.jackpot-section {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
}

.jackpot-section h2 {
    color: #fd3bfd;
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jackpot-section .raceList li {
    transition: all 0.3s ease;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.jackpot-section .raceList li:hover {
    background-color: rgba(253, 59, 253, 0.03);
    transform: translateX(2px);
}

/* Footer Styles */
.main-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-legal li {
    transition: transform 0.3s ease;
}

.footer-legal li:hover {
    transform: scale(1.1);
}

.footer-legal img {
    max-height: 40px;
    transition: filter 0.3s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.age-icon {
    max-width: 50px;
}

.footer-legal a:hover img {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(280deg);
}

/* Site Overlay */
.site-overlay {
    background: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
        padding: 8px 0;
    }
    
    .header-right {
        align-items: center;
        width: 100%;
    }
    
    .main-navigation {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .main-navigation a {
        padding: 6px 10px;
        font-size: 0.85rem;
        min-height: 32px;
    }
    
    .user .toggle,
    .user .link {
        padding: 6px 12px;
        min-height: 32px;
        font-size: 0.85rem;
    }
    
    .main-wrapper {
        flex-direction: column;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-section a {
        font-size: 2rem !important;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content-section {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #fd3bfd, #0066cc);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e02de0, #0052a3);
}
