body {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    overflow-x: auto;
}

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

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border: 3px solid #ff6b6b;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    margin-top: 20px;
    margin-bottom: 20px;
}

.header {
    background: linear-gradient(to right, #ff6b6b, #4ecdc4);
    padding: 20px;
    text-align: center;
    border-radius: 12px 12px 0 0;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: "🌤️";
    position: absolute;
    font-size: 30px;
    animation: twinkle 2s infinite;
    left: 20px;
    top: 20px;
}

.header::after {
    content: "🎙️";
    position: absolute;
    font-size: 25px;
    animation: twinkle 3s infinite;
    right: 30px;
    top: 30px;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.5); }
}

h1 {
    color: white;
    text-shadow: 3px 3px 0px #333;
    font-size: 2.5em;
    margin: 0;
    animation: bounce 3s infinite;
}

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

.subtitle {
    color: #ffeb3b;
    font-size: 1.2em;
    margin-top: 10px;
    text-shadow: 2px 2px 0px #333;
}

.nav {
    background: #333;
    padding: 0;
    text-align: center;
    border-bottom: 3px solid #ff6b6b;
}

.nav button {
    background: linear-gradient(to bottom, #ff6b6b, #e55555);
    border: none;
    color: white;
    padding: 15px 20px;
    font-family: 'Comic Sans MS', cursive;
    font-size: 16px;
    cursor: pointer;
    margin: 5px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.3s;
    text-transform: uppercase;
    font-weight: bold;
}

.nav button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
    background: linear-gradient(to bottom, #e55555, #ff6b6b);
}

.nav button.active {
    background: linear-gradient(to bottom, #4ecdc4, #3bb5b0);
    transform: translateY(2px);
}

.content {
    padding: 30px;
    min-height: 500px;
    position: relative;
}

.page {
    display: none;
    animation: fadeIn 0.5s;
}

.page.active {
    display: block;
}

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

.blink {
    animation: blink 1s infinite;
}

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

.marquee {
    background: #ffeb3b;
    padding: 10px;
    margin: 20px 0;
    border: 2px dashed #ff6b6b;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-text {
    display: inline-block;
    animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translate(100%, 0); }
    100% { transform: translate(-100%, 0); }
}

.visitor-counter {
    background: #333;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    padding: 10px;
    margin: 20px 0;
    border: 2px solid #00ff00;
    text-align: center;
    border-radius: 5px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.gallery-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gallery-item img {
    max-width: 100%;
    max-height: 120px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.news-item {
    background: #f0f8ff;
    border-left: 5px solid #4ecdc4;
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-date {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
}

.guestbook {
    background: #fff9c4;
    border: 3px double #ff6b6b;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
}

.guestbook-entry {
    background: white;
    border: 1px solid #ddd;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border-left: 4px solid #4ecdc4;
}

.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 0 0 12px 12px;
}

.webring {
    background: #ffe4e1;
    border: 2px solid #ff69b4;
    padding: 15px;
    margin: 20px 0;
    border-radius: 10px;
    text-align: center;
}

.webring a {
    color: #ff1493;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
}

.webring a:hover {
    text-decoration: underline;
}

.construction {
    background: #ffff00;
    border: 3px solid #ff0000;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
    animation: construction-blink 1s infinite;
}

@keyframes construction-blink {
    0%, 50% { background: #ffff00; }
    51%, 100% { background: #ff0000; color: white; }
}

.hit-counter {
    background: #000;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    padding: 5px 10px;
    border: 1px solid #00ff00;
    display: inline-block;
    margin: 10px;
}