.konkursy-page {
    min-height: 100vh;
    padding: 120px 2rem 4rem;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

.contest-hero {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease-out;
}

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

.contest-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4a8a4d, #5cb85f);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(74, 138, 77, 0.3);
}

.contest-badge i {
    font-size: 1.1rem;
}

.contest-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.contest-image-container {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.contest-hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

.contest-details {
    margin-top: 2rem;
}

.contest-excerpt {
    margin-bottom: 2rem;
}

.contest-excerpt p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.contest-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.contest-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 1rem;
}

.contest-date i {
    color: #4a8a4d;
}

.contest-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #4a8a4d, #5cb85f);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(74, 138, 77, 0.3);
}

.contest-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 138, 77, 0.4);
    background: linear-gradient(135deg, #3d7a40, #4a9d4d);
}

.contest-cta-button i:first-child {
    font-size: 1.2rem;
}

.contest-cta-button i:last-child {
    font-size: 0.9rem;
}

.articles-carousel {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.carousel-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
}

.carousel-controls {
    display: flex;
    gap: 1rem;
}

.carousel-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #4a8a4d;
    background: white;
    color: #4a8a4d;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: #4a8a4d;
    color: white;
    transform: scale(1.1);
}

.articles-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.slider-article {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: #4a8a4d;
}

.slider-article.active {
    border-color: #4a8a4d;
    background: linear-gradient(135deg, rgba(74, 138, 77, 0.05), rgba(92, 184, 95, 0.05));
}

.slider-progress-bar {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.slider-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a8a4d, #5cb85f);
    transition: width 0.05s linear;
}

.slider-content {
    padding: 0.5rem 0;
}

.slider-category {
    display: inline-block;
    background: rgba(74, 138, 77, 0.1);
    color: #4a8a4d;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.slider-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.slider-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .konkursy-page {
        padding: 100px 1rem 2rem;
    }

    .contest-hero {
        padding: 2rem 1.5rem;
    }

    .contest-title {
        font-size: 1.8rem;
    }

    .contest-excerpt p {
        font-size: 1rem;
    }

    .contest-cta-button {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .articles-slider {
        grid-template-columns: 1fr;
    }

    .carousel-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}
