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

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Great Vibes', cursive;
    background-color: #000;
}

.bg-layer {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    opacity: 0;
    transition: opacity 3s ease-in-out;
    z-index: 0;
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

.bg-layer.active {
    opacity: 1;
}

/* Sabah Vakti */
#bg-morning {
    background: linear-gradient(45deg, #a1c4fd, #c2e9fb, #ff9a9e, #fecfef);
}

/* Öğlen Vakti */
#bg-afternoon {
    background: linear-gradient(45deg, #4facfe, #00f2fe, #43e97b, #38f9d7);
}

/* Akşam Vakti */
#bg-evening {
    background: linear-gradient(45deg, #fa709a, #fee140, #ff0844, #ffb199);
}

/* Gece Vakti */
#bg-night {
    background: linear-gradient(45deg, #0f2027, #203a43, #2c5364, #6a11cb);
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.name {
    font-size: 12vw;
    color: #fff;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.6),
        0 0 80px rgba(255, 105, 180, 0.6);
    animation: pulse 3s infinite alternate;
    letter-spacing: 5px;
    cursor: default;
    user-select: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 40px rgba(255, 255, 255, 0.6),
            0 0 80px rgba(255, 105, 180, 0.6);
    }
    100% {
        transform: scale(1.05);
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 1),
            0 0 40px rgba(255, 255, 255, 0.9),
            0 0 60px rgba(255, 255, 255, 0.7),
            0 0 100px rgba(255, 20, 147, 0.8);
    }
}

.sparkles-container {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8), 0 0 20px 5px rgba(255, 255, 255, 0.5);
    opacity: 0;
    animation: twinkle linear infinite;
}

@keyframes twinkle {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(0.5); }
}

@media (max-width: 768px) {
    .name {
        font-size: 22vw;
    }
}
