body {
    font-family: 'Dancing Script', cursive;
    margin: 0;
    padding: 0;
    background-color: #380036;
    color: #fff;
    overflow-x: hidden;
}

.container {
    width: 85%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.logo {
    width: 200px;
    margin-bottom: 15px;
    animation: fadeIn 2s ease-in-out;
}

header {
    background: linear-gradient(135deg, #ff1493, #ff00ff);
    padding: 80px 0;
    text-align: center;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

header h1 {
    font-size: 4.5em;
    margin: 0;
    font-weight: 900;
    color: #fff;
    text-shadow: 0px 5px 15px rgba(255, 100, 200, 0.8);
}

header p {
    font-size: 1.8em;
    margin-top: 10px;
    color: #ffb3d9;
    font-weight: 300;
    text-shadow: 0px 3px 5px rgba(255, 150, 180, 0.5);
}

.cta-button {
    padding: 15px 40px;
    font-size: 1.2em;
    background-color: #ff69b4;
    border: 2px solid #c13584;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    background-color: #ff4281;
    transform: scale(1.1);
    box-shadow: 0px 4px 15px rgba(255, 105, 180, 0.6);
}

#gallery {
    padding: 50px 0;
    background-color: #33002b;
    border-top: 3px solid #ff6f9f;
    border-bottom: 3px solid #ff6f9f;
    position: relative;
}

.gallery-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.center {
    width: 50%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.8);
    border: 3px solid #ff6f9f;
}

.blurred {
    width: 15%;
    height: auto;
    filter: blur(5px);
    opacity: 0.6;
    transform: scale(0.85);
    border: 2px solid #c13584;
    border-radius: 10px;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ff6f9f;
    font-size: 2.5em;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
}

#prevBtn {
    left: 5%;
}

#nextBtn {
    right: 5%;
}

.nav-button:hover {
    transform: scale(1.3);
    color: #ff4281;
}

#story {
    padding: 50px 0;
    background: linear-gradient(180deg, #ff1493, #ff00ff);
    color: #ffd4e5;
}

#story h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffdde2;
}

#story p {
    font-size: 1.4em;
    line-height: 1.8;
}

#features {
    padding: 50px 0;
    background-color: #2b002f;
    color: #ffb6c1;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    background-color: #3c0045;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #ff6f9f;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    font-size: 1.2em;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 25px rgba(255, 105, 180, 0.6);
}

#snowCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    opacity: 0.25;
}

footer p {
    margin: 0;
    text-align: center;
}

#controls {
    background-color: #290024;
    padding: 50px 0;
    color: #ffb3d9;
    text-align: center;
}

#controls h2 {
    font-size: 2.2em;
    color: #ff6f9f;
    margin-bottom: 20px;
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px;
    max-width: 1100px;
    margin: 0 auto;
}

.control-item {
    background-color: #3b003c;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.control-item:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 20px rgba(255, 105, 180, 0.8);
}

.control-item img {
    width: 40px;
    height: 40px;
    margin: 5px;
}

.control-item p {
    color: #ffebf4;
    font-size: 1em;
    margin-top: 10px;
}

@media screen and (max-width: 768px) {
    .controls-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .control-item img {
        width: 30px;
        height: 30px;
    }
}

#downloadModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 1.5em;
    padding: 40px;
    text-align: center;
    z-index: 20;
}

#downloadModal p {
    margin: 20px;
}

#downloadModal button {
    padding: 15px 40px;
    font-size: 1.5em;
    background-color: #ff69b4;
    border: 2px solid #c13584;
    color: white;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

#downloadModal button:hover {
    background-color: #ff4281;
    transform: scale(1.1);
    box-shadow: 0px 4px 15px rgba(255, 105, 180, 0.6);
}
