@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&family=Ubuntu:wght@400;500;700&display=swap');

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

body {
    margin: 0;
    background: #8270f7;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0,0,0,.03) 2px,
            rgba(0,0,0,.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0,0,0,.03) 2px,
            rgba(0,0,0,.03) 4px
        );
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(0,0,0,0.1) 100%);
}

.title {
    font-family: 'Ubuntu', sans-serif;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.title h1 {
    color: #21165b;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.3);
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.gif {
    position: absolute;
    margin: 20rem 27.5rem 0 0;
    z-index: 20;
    width: 80px;
    height: 80px;
    /* border-radius: 8px; */
    overflow: hidden;
    /* border: 2px solid #0f380f;
    box-shadow: 
        0 0 0 1px #306230,
        0 4px 12px rgba(0, 0, 0, 0.3);
    background: #c8dfa0; */
}

.gif img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.credits {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    font-family: 'Ubuntu', sans-serif;
}

.credits-title {
    font-size: 14px;
    font-weight: 700;
    color: #170f3e;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.credits-subtitle {
    font-size: 11px;
    font-weight: 500;
    color: #170f3e;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
}

.credits-subtitle a {
    color: #0f380f;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.credits-subtitle a:hover {
    color: #000;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

main {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

canvas {
    border-radius: 8px;
    display: block;
    border: 8px solid #1a1045;
    box-shadow: 
        0 0 0 4px #383062,
        0 20px 40px rgba(0, 0, 0, 0.6);
}

#defaultCanvas0 {
    background: linear-gradient(135deg, #e1eeb0 0%, #c8dfa0 100%);
}