html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,0.2) 0%, transparent 33%),
        radial-gradient(circle at 25% 78%, rgba(255,255,255,0.15) 0%, transparent 38%),
        radial-gradient(circle at 82% 30%, rgba(255,0,0,0.1) 0%, transparent 43%),
        radial-gradient(circle at 70% 85%, rgba(255,255,255,0.2) 0%, transparent 48%),
        #1e53b6;
    animation: ocean-drift 120s linear infinite;
    flex-direction: column;
    overflow: hidden;
    gap: 16px;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: inherit;
    background-color: transparent;
    opacity: 0.5;
    animation: ocean-drift 120s linear infinite;
    pointer-events: none;
    z-index: -1;
}

body::after {
    opacity: 0.3;
    animation-duration: 120s;
}

h1, h2, h3 {
    text-align: center;
    font-family: 'luckyguy', cursive;
}

.h1-style-button {
    font-family: 'luckyguy', cursive;
    font-size: 2em;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: 3px solid #333;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    text-decoration: none;
    margin: 0.67em 0;
    font-weight: bold;
    padding: 8px 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.h1-style-button:hover {
    background: linear-gradient(135deg, #45a049, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.h1-style-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

@font-face {
    font-family: 'luckyguy';
    src: url('/static/fonts/luckiestguy-regular.woff2') format('woff2'),
         url('/static/fonts/luckiestguy-regular.woff') format('woff'),
         url('/static/fonts/luckiestguy-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@keyframes ocean-drift {
    0%   { background-position: 0% 0%;    background-size: 200% 200%; }
    15%  { background-position: 25% 30%;  background-size: 190% 205%; }
    30%  { background-position: 50% 60%;  background-size: 180% 210%; }
    45%  { background-position: 75% 85%;  background-size: 170% 205%; }
    60%  { background-position: 100% 70%; background-size: 180% 200%; }
    75%  { background-position: 50% 55%;  background-size: 190% 198%; }
    90%  { background-position: 25% 25%;  background-size: 195% 192%; }
    100% { background-position: 0% 0%;    background-size: 200% 200%; }
}
