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

body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background-color: #f0f0f0;
    color: #333;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* Header Styles */
#iskibidy-container {
    position: relative;
    background: linear-gradient(135deg, #7C2899, #D2008F);
    height: 250px;
    border: 8px solid #fff53d;
    border-radius: 20px;
    margin: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

#iskibidy-shape {
    position: absolute;
    background-color: #D2008F;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
    width: 40%;
    height: 100%;
    top: 0;
    left: 0;
}

#iskibidy-logo {
    position: absolute;
    left: 5%;
    top: 10px;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

#iskibidy-logo:hover {
    transform: rotate(0deg) scale(1.05);
}

#i, #skibi, #dy, #com {
    display: inline-block;
    font-size: 60px;
    font-weight: bold;
    text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

#i { color: #fff53d; }
#skibi { color: #24f1fc; }
#dy { color: #ff69b4; }
#com { color: #fff53d; font-size: 40px; }

#iskibidy-family {
    position: absolute;
    background-color: #fff53d;
    height: 150px;
    width: 150px;
    right: 5%;
    top: 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

#iskibidy-family:hover {
    transform: scale(1.1) rotate(5deg);
}

#iskibidy-family-bg {
    position: absolute;
    background-color: #A4C83F;
    height: 90%;
    width: 90%;
    border-radius: 50%;
    top: 5%;
    left: 5%;
}

#iskibidy-family-pic {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

nav#iskibidy-nav {
    background: linear-gradient(90deg, #ffccff, #ffd9cc);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
}

nav#iskibidy-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

nav#iskibidy-nav ul li {
    position: relative;
}

.nav-item {
    display: inline-block;
    padding: 10px 20px;
    color: #900090;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    background: #ffd9cc;
    border: 2px solid #ff99cc;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

.nav-item:hover {
    background: #ff99cc;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.25);
}

.nav-item i {
    margin-right: 5px;
}

/* Main Content Styles */
.content-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    background: linear-gradient(45deg, #ff99cc, #99ccff);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.promo-image {
    flex: 1;
    border: 6px solid #00FFFF;
    border-radius: 20px;
    padding: 10px;
    background: linear-gradient(to bottom, #000080, #0000CD);
    transition: transform 0.3s ease;
}

.promo-image:hover {
    transform: scale(1.05);
}

.promo-image img {
    width: 100%;
    border-radius: 10px;
}

.quiz-panel {
    flex: 1;
    background: linear-gradient(135deg, #0000CD, #4169E1);
    border-radius: 20px;
    padding: 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.trivia-title {
    font-size: 4em;
    background: linear-gradient(to right, #FFD700, #00FFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.quiz-content h3 {
    background-color: #9ACD32;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 25px;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.quiz-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
    text-align: center;
}

.play-now {
    background: linear-gradient(90deg, #FF6B6B, #4ECDC4);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.play-now:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.pulse {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.pulse:nth-child(1) { left: 20%; animation-delay: 0s; }
.pulse:nth-child(2) { left: 50%; animation-delay: 0.2s; }
.pulse:nth-child(3) { left: 80%; animation-delay: 0.4s; }

@keyframes pulse {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(4); opacity: 0; }
}

.latest-trivia {
    margin-top: 40px;
    position: relative;
    background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
    padding: 20px;
    border-radius: 15px;
}

.latest-label {
    position: absolute;
    top: -15px;
    left: -15px;
    background-color: #FF0000;
    color: white;
    padding: 5px 15px;
    transform: rotate(-8deg);
    font-weight: bold;
    font-size: 1.2em;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.latest-trivia h2 {
    background-color: black;
    color: white;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1.8em;
    margin-left: 20px;
}

#trivia-container {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}



#question {
    font-size: 1.8em;
    color: #0000CD;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

#choices {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.choice-btn {
    background: linear-gradient(90deg, #FF69B4, #FF1493);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.2em;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.choice-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.2);
}

#next-btn {
    background: linear-gradient(90deg, #32CD32, #228B22);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 50px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
}

#next-btn:disabled {
    background: #A9A9A9;
    cursor: not-allowed;
}

#next-btn:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#result {
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
    font-size: 1.4em;
    color: #0000CD;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

footer {
    background: linear-gradient(90deg, #7C2899, #D2008F);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    #iskibidy-container {
        height: auto;
        padding-bottom: 100px;
    }

    #iskibidy-logo {
        position: relative;
        left: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    #iskibidy-family {
        position: relative;
        margin: 20px auto;
        right: 0;
    }

    nav#iskibidy-nav {
        position: relative;
        bottom: 0;
        width: 100%;
        border-radius: 0;
    }

    nav#iskibidy-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .content-wrapper {
        flex-direction: column;
    }

    #choices {
        grid-template-columns: 1fr;
    }
}