* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #000;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header */
.header {
    background: linear-gradient(90deg, #ff0000, #ffff00, #00ff00);
    padding: 20px;
    text-align: center;
    border: 5px solid #000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

.header h1 {
    font-size: 3em;
    font-weight: bold;
    text-shadow: 3px 3px 0 #000, -3px -3px 0 #fff;
    animation: bounce 0.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.tagline {
    font-size: 1.2em;
    font-weight: bold;
    color: #000;
    text-shadow: 2px 2px 0 #fff;
}

.warning-banner {
    background: #ff0000;
    color: #fff;
    padding: 10px;
    margin-top: 10px;
    font-weight: bold;
    border: 3px dashed #000;
    animation: blink 0.5s infinite;
}

/* Navigation Bar */
.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #000;
    border-top: 3px solid #ffff00;
    border-bottom: 3px solid #ffff00;
}

.nav-link {
    background: linear-gradient(135deg, #ff0000, #ffff00);
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #000;
    border-radius: 5px;
    transition: all 0.3s;
    display: inline-block;
}

.nav-link:hover {
    background: linear-gradient(135deg, #ffff00, #ff0000);
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
}

.nav-link.active {
    background: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

/* Subscribe Banner */
.subscribe-banner {
    background: linear-gradient(90deg, #ff0000, #ffff00, #ff0000, #ffff00, #ff0000);
    background-size: 200% 100%;
    animation: subscribePulse 1s ease-in-out infinite;
    padding: 30px 20px;
    text-align: center;
    border: 8px solid #000;
    border-top: 8px solid #ffff00;
    border-bottom: 8px solid #ffff00;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.9), inset 0 0 20px rgba(255, 255, 0, 0.5);
}

.subscribe-text {
    font-size: 4.5em;
    font-weight: 900;
    color: #000;
    text-shadow: 
        4px 4px 0 #ffff00,
        8px 8px 0 #ff0000,
        12px 12px 0 #00ff00,
        -4px -4px 0 #00ffff;
    animation: subscribeBounce 0.4s ease-in-out infinite, subscribeRotate 3s linear infinite;
    letter-spacing: 3px;
    transform-origin: center;
    display: inline-block;
}

@keyframes subscribePulse {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

@keyframes subscribeBounce {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.1) translateY(-10px); }
}

@keyframes subscribeRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* Marquee */
.marquee {
    background: #000;
    color: #ffff00;
    padding: 10px;
    overflow: hidden;
    white-space: nowrap;
    font-weight: bold;
    font-size: 1.1em;
}

.marquee span {
    display: inline-block;
    animation: scroll 20s linear infinite;
}

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

/* Pop-ups */
.popup {
    position: fixed;
    background: #ffff00;
    border: 5px solid #ff0000;
    padding: 20px;
    border-radius: 10px;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    animation: popupAppear 0.3s ease-out;
}

@keyframes popupAppear {
    0% { transform: scale(0) rotate(-10deg); }
    100% { transform: scale(1) rotate(0); }
}

#popup1 {
    top: 50px;
    left: 50px;
    background: #ff6666;
    color: #000;
}

#popup2 {
    top: 150px;
    right: 50px;
    background: #66ff66;
    color: #000;
}

#popup3 {
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: #6666ff;
    color: #fff;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #000;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
}

.close-btn:hover {
    background: #ff0000;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

/* Sections */
.news-section,
.info-section,
.ads-section {
    background: #fff;
    border: 5px solid #000;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.3);
}

.news-section h2,
.info-section h2,
.ads-section h2 {
    color: #ff0000;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0 #ffff00;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.news-item {
    background: linear-gradient(135deg, #ffcccc, #ccffcc);
    border: 3px solid #000;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.news-item:hover {
    transform: scale(1.05) rotate(1deg);
}

.news-item h3 {
    color: #ff0000;
    margin-bottom: 10px;
}

.news-item p {
    font-size: 0.9em;
    color: #333;
}

/* Info Boxes */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-box {
    background: linear-gradient(135deg, #ffffcc, #ccffff);
    border: 4px solid #000;
    padding: 20px;
    border-radius: 10px;
}

.info-box h3 {
    color: #0000ff;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    padding: 8px;
    background: #fff;
    margin: 5px 0;
    border-left: 4px solid #ff0000;
    padding-left: 10px;
}

#weather,
#currency {
    background: #fff;
    padding: 15px;
    border: 2px solid #000;
    border-radius: 5px;
    font-weight: bold;
}

/* Ads Section */
.fake-ads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.ad {
    background: linear-gradient(45deg, #ff0000, #ffff00);
    border: 4px solid #000;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    animation: adPulse 1s infinite;
    border-radius: 5px;
}

@keyframes adPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.ad:hover {
    background: linear-gradient(45deg, #ffff00, #ff0000);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

/* Footer */
.footer {
    background: #000;
    color: #ffff00;
    text-align: center;
    padding: 20px;
    border-top: 5px solid #ff0000;
    margin-top: 30px;
}

.footer p {
    margin: 5px 0;
    font-weight: bold;
}

.blink {
    animation: blink 0.7s infinite;
}

/* Article Content */
.article-content {
    background: #fff;
    padding: 20px;
    border: 2px solid #000;
}

.article-content h3 {
    color: #ff0000;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.article-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.article-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.article-content li {
    margin: 8px 0;
    color: #333;
}

/* Hot Topics */
.hot-topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.topic-card {
    background: linear-gradient(135deg, #ffcccc, #ccffff);
    border: 3px solid #000;
    padding: 15px;
    border-radius: 5px;
}

.topic-card h4 {
    color: #0000ff;
    margin-bottom: 10px;
}

.topic-card p {
    font-size: 0.9em;
    margin-bottom: 10px;
}

.date {
    display: block;
    font-size: 0.8em;
    color: #666;
    font-weight: bold;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.stat-box {
    background: linear-gradient(135deg, #ffff99, #99ffff);
    border: 3px solid #000;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #ff0000;
}

.stat-label {
    font-size: 1em;
    color: #000;
    margin-top: 10px;
    font-weight: bold;
}

/* Chicken Types */
.chicken-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.type-card {
    background: linear-gradient(135deg, #ffccff, #ccffff);
    border: 3px solid #000;
    padding: 15px;
    border-radius: 5px;
}

.type-card h4 {
    color: #0000ff;
    margin-bottom: 10px;
}

.type-card p {
    font-size: 0.9em;
    color: #333;
}

/* Facts List */
.facts-list {
    background: #ffffcc;
    border: 2px solid #000;
    padding: 20px;
    border-radius: 5px;
    list-style: none;
}

.facts-list li {
    padding: 10px;
    margin: 5px 0;
    background: #fff;
    border-left: 4px solid #ff0000;
    padding-left: 15px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.gallery-item {
    background: linear-gradient(135deg, #ffcccc, #ffccff);
    border: 3px solid #000;
    padding: 30px;
    text-align: center;
    font-size: 3em;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-item:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Info Table */
.info-table {
    background: #fff;
    border: 2px solid #000;
    border-radius: 5px;
    overflow: hidden;
}

.info-row {
    display: flex;
    border-bottom: 2px solid #000;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    flex: 0 0 40%;
    background: #ffff99;
    padding: 15px;
    font-weight: bold;
    border-right: 2px solid #000;
}

.info-value {
    flex: 1;
    padding: 15px;
    background: #fff;
}

/* Cities Grid */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.city-card {
    background: linear-gradient(135deg, #ccffcc, #ccffff);
    border: 3px solid #000;
    padding: 15px;
    border-radius: 5px;
}

.city-card h4 {
    color: #0000ff;
    margin-bottom: 10px;
}

.city-card p {
    font-size: 0.9em;
    color: #333;
}

/* Attractions List */
.attractions-list {
    background: #ffffcc;
    border: 2px solid #000;
    padding: 20px;
    border-radius: 5px;
    list-style: none;
}

.attractions-list li {
    padding: 10px;
    margin: 5px 0;
    background: #fff;
    border-left: 4px solid #0000ff;
    padding-left: 15px;
}

/* Voivodeships Grid */
.voivodeships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.voivodeship {
    background: linear-gradient(135deg, #ff99cc, #99ccff);
    border: 2px solid #000;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.voivodeship:hover {
    transform: scale(1.05) rotate(-1deg);
}

/* Forum Categories */
.forum-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.category-card {
    background: linear-gradient(135deg, #ffcccc, #ccffcc);
    border: 3px solid #000;
    padding: 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.category-card:hover {
    transform: scale(1.05);
}

.category-card h3 {
    color: #ff0000;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 0.9em;
    color: #333;
    margin-bottom: 15px;
}

.category-stats {
    display: flex;
    gap: 15px;
    font-size: 0.85em;
    font-weight: bold;
    color: #666;
}

/* Threads List */
.threads-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.thread {
    background: linear-gradient(135deg, #ffffcc, #ccffff);
    border: 3px solid #000;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.thread:hover {
    transform: translateX(5px);
}

.thread-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.thread-header h4 {
    color: #0000ff;
    margin: 0;
}

.thread-author {
    font-size: 0.85em;
    color: #666;
    font-style: italic;
}

.thread-preview {
    color: #333;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.thread-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8em;
    color: #666;
    font-weight: bold;
}

/* Rules List */
.rules-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.rule {
    background: linear-gradient(135deg, #ffccff, #ccffff);
    border: 3px solid #000;
    padding: 15px;
    border-radius: 5px;
}

.rule h4 {
    color: #ff0000;
    margin-bottom: 10px;
}

.rule p {
    font-size: 0.9em;
    color: #333;
}

/* Contact Form */
.contact-form {
    background: #fff;
    border: 3px solid #000;
    padding: 20px;
    border-radius: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #000;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #000;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 1em;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: #ffff99;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.form-group label input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.submit-btn {
    background: linear-gradient(135deg, #ff0000, #ffff00);
    color: #000;
    border: 3px solid #000;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ffff00, #ff0000);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

/* Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.contact-info-card {
    background: linear-gradient(135deg, #ccffcc, #ccffff);
    border: 3px solid #000;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.contact-info-card h3 {
    color: #ff0000;
    margin-bottom: 10px;
}

.contact-info-card p {
    color: #000;
    font-weight: bold;
    margin: 5px 0;
}

/* Social Media */
.social-media {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.social-link {
    background: linear-gradient(135deg, #ffcccc, #ccffcc);
    border: 3px solid #000;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.social-link:hover {
    transform: scale(1.05);
}

.social-link h3 {
    color: #0000ff;
    margin-bottom: 10px;
}

.social-link p {
    color: #000;
    font-weight: bold;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: linear-gradient(135deg, #ffffcc, #ccffff);
    border: 3px solid #000;
    padding: 15px;
    border-radius: 5px;
}

.faq-item h4 {
    color: #ff0000;
    margin-bottom: 10px;
}

.faq-item p {
    color: #333;
    font-size: 0.95em;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }

    .popup {
        width: 90%;
        left: 5% !important;
        right: 5% !important;
        bottom: auto !important;
    }

    #popup1 { top: 20px; }
    #popup2 { top: 150px; }
    #popup3 { top: 280px; }

    .thread-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .thread-author {
        margin-top: 5px;
    }
}
