body {
    background-color: #1a472a;
    background-image:
        linear-gradient(rgba(26, 71, 42, 0.97), rgba(26, 71, 42, 0.97)),
        url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2334744e' fill-opacity='0.4'%3E%3Cpath d='M10 0l10 10-10 10L0 10z'/%3E%3C/g%3E%3C/svg%3E");
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px 40px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.input-section {
    margin: 30px 0;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

input {
    padding: 12px 20px;
    font-size: 16px;
    border: 2px solid #c4a747;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    min-width: 200px;
}

input:focus {
    outline: none;
    border-color: #e4c767;
    box-shadow: 0 0 0 2px rgba(228, 199, 103, 0.2);
}

button {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #ab2222;
    color: white;
    border: 2px solid #8b1c1c;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

button:hover {
    background-color: #c52727;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

button:active {
    transform: translateY(0);
}

canvas {
    border-radius: 16px;
    margin-top: 30px;
    width: 100%;
    height: auto;
    max-width: 1200px; /* Or your image's actual width */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 3px solid #c4a747;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.logo-container {
    margin-bottom: 30px;
}

.logo {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

h1 {
    font-family: 'Mountains of Christmas', cursive;
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 20px;
    margin-top: 0px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
    font-size: 24px;
    font-family: 'Mountains of Christmas', cursive;
    color: #ffeb96;
    text-shadow: 2px 2px 3px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
    background: linear-gradient(180deg, #ffeb96, #e4c767);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 3s ease-in-out infinite;
}


p a {
    color: #ffeb96;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    background: linear-gradient(180deg, #ffeb96, #e4c767);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}
.intro-text.s {
    font-size: 16px;
}
.intro-text + p a:hover {
    filter: brightness(120%);
    text-shadow: 0 0 8px rgba(255, 235, 150, 0.4);
}

.intro-text + p a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, transparent, #ffeb96, transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.intro-text + p a:hover::after {
    transform: scaleX(1);
}

.intro-text.bottom {
    margin-bottom: -10px;
    font-size:24px;
}
@keyframes textShine {
    0%, 100% {
        filter: brightness(100%);
    }
    50% {
        filter: brightness(120%);
    }
}

/* Add sparkle to elements */
button, input, canvas {
    position: relative;
    overflow: hidden;
}

button::after, input::after, canvas::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255,255,255,0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: sparkle 3s infinite;
}

@keyframes sparkle {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.snowflake,.snowflake .inner{animation-iteration-count:infinite;animation-play-state:running}@keyframes snowflakes-fall{0%{transform:translateY(0)}100%{transform:translateY(110vh)}}@keyframes snowflakes-shake{0%,100%{transform:translateX(0)}50%{transform:translateX(80px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;user-select:none;cursor:default;animation-name:snowflakes-shake;animation-duration:3s;animation-timing-function:ease-in-out}.snowflake .inner{animation-duration:10s;animation-name:snowflakes-fall;animation-timing-function:linear}.snowflake:nth-of-type(0){left:1%;animation-delay:0s}.snowflake:nth-of-type(0) .inner{animation-delay:0s}.snowflake:first-of-type{left:10%;animation-delay:1s}.snowflake:first-of-type .inner,.snowflake:nth-of-type(8) .inner{animation-delay:1s}.snowflake:nth-of-type(2){left:20%;animation-delay:.5s}.snowflake:nth-of-type(2) .inner,.snowflake:nth-of-type(6) .inner{animation-delay:6s}.snowflake:nth-of-type(3){left:30%;animation-delay:2s}.snowflake:nth-of-type(11) .inner,.snowflake:nth-of-type(3) .inner{animation-delay:4s}.snowflake:nth-of-type(4){left:40%;animation-delay:2s}.snowflake:nth-of-type(10) .inner,.snowflake:nth-of-type(4) .inner{animation-delay:2s}.snowflake:nth-of-type(5){left:50%;animation-delay:3s}.snowflake:nth-of-type(5) .inner{animation-delay:8s}.snowflake:nth-of-type(6){left:60%;animation-delay:2s}.snowflake:nth-of-type(7){left:70%;animation-delay:1s}.snowflake:nth-of-type(7) .inner{animation-delay:2.5s}.snowflake:nth-of-type(8){left:80%;animation-delay:0s}.snowflake:nth-of-type(9){left:90%;animation-delay:1.5s}.snowflake:nth-of-type(9) .inner{animation-delay:3s}.snowflake:nth-of-type(10){left:25%;animation-delay:0s}.snowflake:nth-of-type(11){left:65%;animation-delay:2.5s}
