body {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
}
h1 {
    text-align: center;
    font-size: 2.2em;
    margin-top: 0;
    margin-bottom: 4px;
    background: linear-gradient(90deg, #39FF14, #ffe600, #00fff7, #a084e8, #39FF14 80%);
    background-size: 300% 300%;
    color: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px #39FF14) drop-shadow(0 0 8px #ffe600);
    animation: gradientMove 3.5s linear infinite, fadeInHeader 1.2s cubic-bezier(.42,0,.58,1);
    letter-spacing: 1.5px;
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
@keyframes fadeInHeader {
    from { opacity: 0; transform: translateY(-30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
#shoutbox {
    max-width: 600px;
    margin: 0 auto;
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    border: none;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: visible;
    z-index: 1;
}
#shoutbox h2 {
    text-align: center;
    color: #a084e8;
    margin-top: 0;
    margin-bottom: 2px;
    letter-spacing: 1px;
}
#messages {
    min-height: 350px;
    width: 100%;
    margin-bottom: 14px;
    overflow-y: auto;
    background: linear-gradient(90deg, #232526 0%, #393e46 100%);
    border-radius: 18px;
    border: 2.5px solid #39FF14;
    box-shadow: 0 0 16px 2px #39FF14, 0 8px 32px 0 rgba(0,0,0,0.45);
    padding: 10px 8px;
    font-size: 1.04em;
    transition: background 0.3s;
    color: #f3f0ff;
}
/* Żółty pasek przewijania tylko dla #messages */
#messages::-webkit-scrollbar {
    width: 12px;
}
#messages::-webkit-scrollbar-thumb {
    background: #ffe600;
    border-radius: 8px;
    box-shadow: 0 0 8px 2px #ffe600;
}
#messages::-webkit-scrollbar-track {
    background: #232526;
    border-radius: 8px;
}
/* Firefox */
#messages {
    scrollbar-color: #ffe600 #232526;
    scrollbar-width: thin;
}
.shout-msg {
    margin-bottom: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(40,42,54,0.92);
    color: #f3f0ff;
    border: 1.5px solid #39FF14;
    box-shadow: 0 0 6px 1px #39FF14, 0 1px 4px rgba(0,0,0,0.13);
}
.shout-msg:last-child {
    margin-bottom: 0;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
#shout-form {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 0;
}
#shout-form input {
    flex: 1;
    padding: 9px 12px;
    border: 1.5px solid #39FF14;
    border-radius: 7px;
    background: #232526;
    color: #f3f0ff;
    font-size: 1em;
    outline: none;
    transition: box-shadow 0.2s, background 0.2s;
    box-shadow: 0 0 6px 1px #39FF14, 0 1px 3px rgba(0,0,0,0.13);
}
#shout-form input:focus {
    box-shadow: 0 0 0 2px #39FF14, 0 0 8px 2px #39FF14;
    background: #393e46;
}
#shout-form button {
    background: linear-gradient(90deg, #5f72bd 0%, #9a5be4 100%);
    color: #fff;
    border: 1.5px solid #39FF14;
    border-radius: 7px;
    padding: 9px 18px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 8px 2px #39FF14, 0 2px 8px rgba(0,0,0,0.18);
    transition: background 0.2s, transform 0.1s;
}
#shout-form button:hover {
    background: linear-gradient(90deg, #764ba2 0%, #232526 100%);
    transform: translateY(-2px) scale(1.04);
}
@media (max-width: 700px) {
    #shoutbox {
        max-width: 100vw;
        min-width: 0;
        margin: 0;
        border-radius: 0;
        padding: 0;
    }
    #messages {
        min-height: 40vh;
        max-height: 60vh;
        width: 94vw;
        margin: 0 auto 10px auto;
        border-radius: 10px;
        font-size: 1.1em;
        padding: 2vw 2vw;
    }
    #shout-form {
        flex-direction: column;
        gap: 10px;
        padding: 0 2vw 2vw 2vw;
    }
    #shout-form input, #shout-form button {
        font-size: 1.15em;
        padding: 14px 12px;
    }
} 