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

body {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive, sans-serif;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #ffc0e0 0%, #ffb3d9 25%, #ffa6d5 50%, #ff99d1 75%, #ff8ccc 100%);
    position: relative;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">🎀</text></svg>'), auto;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 192, 224, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 140, 204, 0.15) 0%, transparent 50%);
    pointer-events: none;
    animation: backgroundPulse 10s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}
/* Copyright Section */
.copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 0;
    text-align: center;
    z-index: 100;
    border-top: 3px solid #ffb3d9;
    box-shadow: 0 -5px 20px rgba(255, 105, 180, 0.1);
    backdrop-filter: blur(5px);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.copyright p {
    color: #ff1493;
    font-size: 0.9em;
    margin: 5px 0;
    line-height: 1.4;
}

.copyright p:first-child {
    font-weight: bold;
    font-size: 1em;
}

/* Karşılama Modal */
.welcome-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 105, 180, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.5s ease-out;
}

.welcome-modal.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    padding: 50px 60px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 105, 180, 0.5);
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 5px solid #ff69b4;
    max-width: 600px;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header h1 {
    color: #ff1493;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255, 105, 180, 0.3);
}

.modal-body p {
    color: #ff69b4;
    font-size: 1.3em;
    margin: 15px 0;
    line-height: 1.6;
}

.kitty-emoji {
    font-size: 3em;
    margin: 25px 0;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.start-button {
    background: linear-gradient(135deg, #ff1493, #ff69b4);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 1.5em;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 25px;
    font-family: inherit;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.4);
    transition: all 0.3s ease;
}

.start-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 20, 147, 0.6);
}

.start-button:active {
    transform: translateY(0) scale(0.98);
}

/* Kontrol Paneli */
.control-panel {
    position: fixed;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.3);
    z-index: 1000;
    min-width: 280px;
    border: 3px solid #ffb3d9;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.control-panel.hidden {
    display: none;
}

.control-panel:hover {
    box-shadow: 0 15px 50px rgba(255, 105, 180, 0.4);
}

.panel-content h2 {
    color: #ff1493;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(255, 105, 180, 0.2);
}

.control-group {
    margin: 18px 0;
}

.control-group label {
    display: block;
    color: #ff69b4;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 1.05em;
}

.control-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 15px;
    font-size: 1.1em;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    margin: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.toggle-btn {
    background: linear-gradient(135deg, #ff69b4, #ff8ccc);
    color: white;
    flex: 1;
}

.toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 105, 180, 0.4);
}

.clear-btn {
    background: linear-gradient(135deg, #ffa6d5, #ffb3d9);
    color: white;
    flex: 1;
}

.clear-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 166, 213, 0.4);
}

.control-btn:active {
    transform: translateY(0) scale(0.95);
}

.speed-slider,
.size-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    outline: none;
    background: linear-gradient(to right, #ffb3d9, #ff69b4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.speed-slider::-webkit-slider-thumb,
.size-slider::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ff1493;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(255, 20, 147, 0.4);
    transition: all 0.3s ease;
}

.speed-slider::-webkit-slider-thumb:hover,
.size-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.6);
}

.speed-value,
.size-value {
    display: inline-block;
    margin-left: 12px;
    color: #ff1493;
    font-weight: bold;
    font-size: 1.1em;
    min-width: 40px;
}

.stats {
    text-align: center;
    margin-top: 20px;
    padding: 12px;
    background: linear-gradient(135deg, #fff0f7, #ffe6f2);
    border-radius: 12px;
    color: #ff1493;
    font-size: 1.1em;
    border: 2px solid #ffb3d9;
}

.stats strong {
    color: #ff1493;
    font-size: 1.2em;
}

/* Yağış Konteyneri */
.rain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.kitty-item {
    position: absolute;
    pointer-events: auto;
    cursor: pointer;
    animation: fall linear;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 4px 8px rgba(255, 105, 180, 0.3));
}

.kitty-item:hover {
    transform: scale(1.15) rotate(10deg);
    filter: drop-shadow(0 8px 16px rgba(255, 105, 180, 0.5));
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* Patlama Efekti */
.explosion-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}

.explosion-particle {
    position: absolute;
    pointer-events: none;
    animation: explode 0.8s ease-out forwards;
}

@keyframes explode {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* Özel Kutlama Animasyonu */
.celebration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    pointer-events: none;
}

.celebration-message {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 40px;
    border-radius: 15px;
    font-size: 2.5em;
    font-weight: bold;
    color: #ff69b4;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: scale(0);
    animation: popIn 0.5s ease-out forwards, float 3s ease-in-out infinite;
    z-index: 1001;
    pointer-events: none;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #f00;
    border-radius: 50%;
    animation: confetti 5s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes confetti {
    0% { transform: translateY(-100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .control-panel {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        padding: 15px;
    }

    .modal-content {
        padding: 30px 25px;
        margin: 20px;
    }

    .modal-header h1 {
        font-size: 1.8em;
    }

    .modal-body p {
        font-size: 1.1em;
    }

    .start-button {
        padding: 15px 35px;
        font-size: 1.2em;
    }
}
