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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

header {
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: bounce 2s infinite;
}

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

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

nav {
    background: rgba(52, 73, 94, 0.95);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    display: inline-block;
    transition: all 0.3s;
    border-radius: 20px;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

main {
    position: relative;
    z-index: 1;
}

.section {
    background: rgba(255, 255, 255, 0.95);
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-align: center;
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.5rem;
}

.welcome-image {
    text-align: center;
    margin: 2rem 0;
}

.cockroach-emoji {
    font-size: 8rem;
    animation: wiggle 3s infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.welcome-quote {
    font-style: italic;
    font-size: 1.3rem;
    color: #555;
    margin-top: 1rem;
}

.jokes-grid, .facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.joke-card, .fact-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.joke-card:hover, .fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.joke-card h3, .fact-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.joke-card p {
    color: #34495e;
    line-height: 1.8;
}

.fact-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.fact-card p {
    color: #34495e;
    text-align: center;
}

.story-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.story {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.story h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.story p {
    margin-bottom: 1rem;
    color: #34495e;
    line-height: 1.8;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.meme-box {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.meme-box:hover {
    transform: scale(1.05);
}

.meme-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.meme-text {
    font-weight: bold;
    color: #2c3e50;
    line-height: 1.4;
}

.quote-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

blockquote {
    text-align: center;
    font-size: 1.5rem;
    font-style: italic;
    padding: 2rem;
}

blockquote footer {
    margin-top: 1rem;
    font-size: 1rem;
    opacity: 0.8;
}

footer {
    background: rgba(44, 62, 80, 0.95);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

footer p {
    margin: 0.5rem 0;
}

.disclaimer {
    font-size: 0.9rem;
    opacity: 0.7;
    font-style: italic;
}

.cockroach-runner {
    position: fixed;
    font-size: 2rem;
    z-index: 9999;
    pointer-events: none;
    display: none;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    nav a {
        padding: 0.5rem 1rem;
        margin: 0.25rem;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 1rem;
    }
    
    .jokes-grid, .facts-grid, .gallery {
        grid-template-columns: 1fr;
    }
    
    .cockroach-emoji {
        font-size: 5rem;
    }
}
