/* VK Ledňáčci Mrazkov - Custom Styles */

/* ===== CSS Variables ===== */
:root {
    --color-ice: #B4D6E4;
    --color-ice-light: #E8F4F8;
    --color-ice-dark: #6BA3BE;
    --color-frost: #4A8299;
    --color-lavender: #C5B3D4;
    --color-lavender-light: #EDE6F2;
    --color-coral: #E07A5F;
    --color-coral-hover: #C96A52;
    --color-snow: #F8FAFC;
    --color-text: #1E293B;
    --color-text-muted: #64748B;
}

/* ===== Base ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
}

/* ===== Navigation ===== */
.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-ice-dark);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===== Hero ===== */
.hero-section {
    background: linear-gradient(135deg, #E8F4F8 0%, #C5B3D4 50%, #B4D6E4 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.3) 0%, transparent 60%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 3%); }
}

/* ===== Countdown ===== */
.countdown-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(181, 214, 228, 0.5);
}

.countdown-number {
    font-variant-numeric: tabular-nums;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-frost);
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

/* ===== Cards ===== */
.match-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.player-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.player-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* ===== Buttons ===== */
.btn-primary {
    background: var(--color-coral);
    color: white;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--color-coral-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(224, 122, 95, 0.4);
}

.btn-secondary {
    background: var(--color-ice-dark);
    color: white;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--color-frost);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 163, 190, 0.4);
}

/* ===== Table ===== */
.results-table th {
    background: var(--color-ice-light);
    color: var(--color-frost);
}

.results-table tr:hover {
    background: var(--color-ice-light);
}

.results-table .highlight-row {
    background: rgba(181, 214, 228, 0.15);
    font-weight: 600;
}

/* ===== Score Badge ===== */
.score-win {
    color: #059669;
    font-weight: 700;
}

.score-loss {
    color: #DC2626;
    font-weight: 700;
}

/* ===== Gallery ===== */
.gallery-item {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img,
.gallery-placeholder {
    transition: transform 0.3s ease;
}

.gallery-item:hover img,
.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
}

/* ===== Image Placeholders ===== */
.img-placeholder {
    background: linear-gradient(135deg, var(--color-ice-light) 0%, var(--color-lavender-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-ice-dark);
}

/* ===== Footer ===== */
.footer-main {
    background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
}

/* ===== Section Divider ===== */
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-ice-dark), var(--color-lavender));
    border-radius: 2px;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }

/* ===== Mobile Menu ===== */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.open {
    max-height: 400px;
}

/* ===== Ticker ===== */
.news-ticker {
    animation: ticker 20s linear infinite;
}

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

/* ===== Ice Pattern Background ===== */
.ice-pattern {
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(180, 214, 228, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(197, 179, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(180, 214, 228, 0.1) 0%, transparent 50%);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .countdown-number {
        font-size: 1.75rem;
    }

    .hero-section {
        min-height: 60vh;
    }
}
