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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #FFA500 0%, #FF6347 100%);
    color: #333;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #FF8C00 0%, #FF4500 100%);
    color: white;
    text-align: center;
    padding: 40px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: headerPulse 3s ease-in-out infinite;
}

@keyframes headerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    animation: wobble 2s ease-in-out infinite;
}

@keyframes wobble {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

.subtitle {
    font-size: 1.3em;
    font-style: italic;
}

/* Main sections */
main {
    background: rgba(255, 255, 255, 0.95);
    margin: 40px auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

section {
    margin-bottom: 50px;
}

h2 {
    color: #FF6347;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Hero section */
.hero {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #FFDAB9 0%, #FFE4B5 100%);
    border-radius: 15px;
    margin-bottom: 50px;
}

/* Main Joke Section */
.main-joke {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 6px solid #FFD700;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 45px rgba(255, 215, 0, 0.8);
    }
}

.joke-title {
    color: #FFFFFF !important;
    font-size: 3em;
    margin-bottom: 25px;
    text-shadow: 5px 5px 10px rgba(0,0,0,0.9),
                 3px 3px 6px rgba(0,0,0,0.8),
                 0 0 30px rgba(255, 215, 0, 0.6);
    animation: pulse 1.5s ease-in-out infinite;
    font-weight: 900;
    letter-spacing: 3px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.joke-text {
    color: #FFFFFF !important;
    font-size: 2.3em;
    font-weight: 900;
    margin: 25px 0;
    line-height: 1.6;
    text-shadow: 5px 5px 10px rgba(0,0,0,0.95),
                 3px 3px 6px rgba(0,0,0,0.85),
                 1px 1px 3px rgba(0,0,0,0.7);
    font-style: italic;
    letter-spacing: 1px;
}

.joke-subtitle {
    color: #FFFFFF !important;
    font-size: 1.4em;
    font-style: italic;
    margin-top: 20px;
    text-shadow: 4px 4px 8px rgba(0,0,0,0.9),
                 2px 2px 4px rgba(0,0,0,0.7),
                 0 0 15px rgba(255, 215, 0, 0.4);
    font-weight: 700;
    letter-spacing: 1px;
}

.hero h2 {
    color: #DC143C;
    font-size: 2.5em;
    margin-bottom: 20px;
    margin-top: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    font-weight: 800;
}

.hero p {
    font-size: 1.6em;
    margin: 20px 0;
    font-weight: 800;
    color: #B22222;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.15);
}

/* Kayısı Button */
.kayisi-button {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6347 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 99, 71, 0.4);
    transition: all 0.3s ease;
    margin: 10px;
}

.kayisi-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 99, 71, 0.6);
}

.kayisi-button:active {
    transform: translateY(0) scale(0.95);
}

.counter {
    font-size: 2em;
    font-weight: bold;
    color: #FF4500;
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Facts Grid */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.fact-card {
    background: linear-gradient(135deg, #FFE4B5 0%, #FFDAB9 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.fact-card h3 {
    font-size: 4em;
    margin-bottom: 15px;
}

.fact-card p {
    font-size: 1.1em;
    color: #333;
    line-height: 1.6;
}

/* Quiz */
.quiz-container {
    background: #FFF8DC;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.question p {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: #333;
}

.quiz-option {
    background: #FF8C00;
    color: white;
    border: none;
    padding: 15px 30px;
    margin: 10px;
    font-size: 1.1em;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-option:hover {
    background: #FF6347;
    transform: scale(1.1);
}

#quiz-result {
    margin-top: 20px;
    font-size: 1.3em;
    font-weight: bold;
    color: #FF4500;
}

/* Sayings */
.saying-box {
    background: linear-gradient(135deg, #FFDAB9 0%, #FFE4B5 100%);
    padding: 40px;
    border-radius: 15px;
    font-size: 1.4em;
    text-align: center;
    font-style: italic;
    color: #333;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 5px solid #FF6347;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Gallery */
.emoji-gallery {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 4em;
}

.bounce {
    display: inline-block;
    animation: bounce 1s ease-in-out infinite;
}

.bounce:nth-child(1) { animation-delay: 0s; }
.bounce:nth-child(2) { animation-delay: 0.2s; }
.bounce:nth-child(3) { animation-delay: 0.4s; }
.bounce:nth-child(4) { animation-delay: 0.6s; }
.bounce:nth-child(5) { animation-delay: 0.8s; }

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

/* Membership Form */
.membership {
    background: linear-gradient(135deg, #FFE4B5 0%, #FFDAB9 100%);
    padding: 40px;
    border-radius: 15px;
}

#membership-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

#membership-form input {
    padding: 15px;
    border: 2px solid #FF8C00;
    border-radius: 10px;
    font-size: 1.1em;
}

#membership-form input:focus {
    outline: none;
    border-color: #FF6347;
    box-shadow: 0 0 10px rgba(255, 99, 71, 0.3);
}

#membership-result {
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
}

footer p {
    margin: 10px 0;
}

/* Kayısı Rain Animation */
.kayisi-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }

    .emoji-gallery {
        font-size: 3em;
    }
}
