@import url('https://fonts.googleapis.com/css?family=Poppins:400,600&display=swap');
body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    background: #111;
    position: relative;
    z-index: 0;
    color: #ffd700;
    margin: 0;
    min-height: 100vh;
    position: relative;
}

.ramadan-wall-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('icons/png/ramadan-wall.png') center center/cover no-repeat;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}
.ramadan-head-bg {
    display: none;
}
.ramadan-head-wrap {
    width: 100vw;
    overflow: hidden;
    position: relative;
    z-index: 10;
    margin-bottom: 0;
}
.ramadan-head-strip {
    display: flex;
    width: 100vw;
    min-height: 60px;
    background: transparent;
    position: relative;
    z-index: 11;
    overflow: hidden;
}
.ramadan-head-strip img {
    height: 60px;
    width: auto;
    display: block;
}
.main-logo img {
    position: relative;
    z-index: 2;
}
.main-logo img[alt="Ramadan Name Logo"] {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 3;
    width: 260px;
    max-width: 90vw;
    pointer-events: none;
}
.logo-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 215, 0, 0.15);
    padding: 10px 0;
    border-bottom: 2px solid #ffd700;
}
.logo-bar img {
    height: 48px;
    filter: drop-shadow(0 2px 12px #ffd70088);
}
.language-switch {
    position: absolute;
    top: 18px;
    right: 30px;
}
.language-switch select {
    background: #fffbe6;
    border: 1px solid #ffd700;
    color: #3a2c0a;
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 8px;
    font-family: inherit;
    cursor: pointer;
}
.main-logo {
    margin-top: 20px;
}
.main-logo img {
    height: 90px;
    filter: drop-shadow(0 2px 12px #ffd70088);
}
.contest-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin: 30px 0 10px 0;
    color: #ffd700;
    letter-spacing: 1px;
    text-shadow: 0 2px 16px #bfa03a88;
}
.contest-desc {
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
    background: rgba(30, 30, 30, 0.7);
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 2px 12px #ffd70022;
    color: #ffd700;
}
.start-btn {
    display: block;
    margin: 0 auto 30px auto;
    background: linear-gradient(90deg, #ffd700 60%, #222 100%);
    color: #111;
    font-size: 1.3rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    padding: 16px 40px;
    cursor: pointer;
    box-shadow: 0 4px 16px #ffd70044;
    transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}
.start-btn:hover {
    background: linear-gradient(90deg, #222 60%, #ffd700 100%);
    color: #ffd700;
    transform: scale(1.04);
}
.story {
    display: none;
    max-width: 650px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 2px 12px #ffd70022;
    color: #ffd700;
}
.story-title { text-align:center; font-size:1.25rem; margin: 6px 0 12px 0; color: #fffbe6; font-weight:700; }
.fade-in { animation: fadeIn 360ms ease forwards; }
.slide-up { animation: slideUp 360ms cubic-bezier(.2,.9,.2,1) forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(10px); opacity:0 } to { transform: translateY(0); opacity:1 } }

/* center footer content */
.site-footer .inner { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }

/* footer brand/logo layout */
.site-footer .inner .brand{display:flex;flex-direction:column;align-items:center;gap:8px}
.site-footer .footer-logo{height:72px;width:auto;display:block}
.site-footer .brand-line{color:#ffd700;text-align:center}
.site-footer .brand-name{font-size:1.2rem;font-weight:800;display:inline-flex;align-items:center;gap:8px}
.site-footer .verify-icon{width:18px;height:18px;display:inline-block}
.site-footer .brand-sub{font-size:0.95rem;color:#d4c07a;margin-top:6px}

/* Social icons centered with gold hover effect */
.site-footer .socials{display:flex;gap:14px;justify-content:center;align-items:center}
.site-footer .socials a{background:#000;padding:8px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(191,160,58,0.08);transition:background .18s ease,transform .18s ease,box-shadow .18s ease}
.site-footer .socials a img{width:22px;height:22px;display:block;filter:grayscale(100%) sepia(100%) saturate(600%) hue-rotate(-10deg) brightness(0.95);transition:filter .18s ease,transform .18s ease}
.site-footer .socials a:hover{transform:translateY(-4px);box-shadow:0 4px 12px rgba(255,215,0,0.12)}

/* designer credits line */
.site-footer .designer-credits{margin-top:12px;color:#d4c07a;font-weight:700;font-size:0.98rem;display:flex;gap:8px;align-items:center;justify-content:center}
.site-footer .designer-credits .designer-verify{width:18px;height:18px;display:inline-block;margin-left:6px}

/* questions entry animation */
.questions { opacity: 0; transform: translateY(8px); }
.questions.show { opacity:1; transform:none; transition: opacity 320ms ease, transform 320ms ease; }
.questions {
    display: none;
    max-width: 650px;
    margin: 0 auto;
    background: rgba(30, 30, 30, 0.95);
    border-radius: 16px;
    padding: 18px 24px;
    box-shadow: 0 2px 12px #ffd70022;
    color: #ffd700;
}
.question {
    margin-bottom: 24px;
}
.question-title {
    font-weight: 600;
    margin-bottom: 10px;
}
.options {
    display: flex;
    gap: 18px;
}
.option {
    background: #222;
    border: 2px solid #ffd700;
    color: #ffd700;
    font-size: 1rem;
    padding: 10px 22px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, border 0.2s, color 0.2s;
}
.option.selected {
    background: #ffd700;
    border-color: #fffbe6;
    color: #111;
}
.option.correct {
    background: #ffd700;
    border-color: #aeea00;
    color: #222;
    font-weight: bold;
    box-shadow: 0 0 18px #ffd70088;
}
.option.wrong {
    background: #ff5252;
    border-color: #b71c1c;
    color: #fff;
}
.next-btn {
    display: block;
    margin: 24px auto 0 auto;
    background: linear-gradient(90deg, #ffd700 60%, #fffbe6 100%);
    color: #3a2c0a;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    padding: 12px 32px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(191, 160, 58, 0.12);
    transition: background 0.2s, transform 0.2s;
}
.next-btn:hover {
    background: linear-gradient(90deg, #fffbe6 60%, #ffd700 100%);
    transform: scale(1.03);
}
.celebration {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.18);
    z-index: 1000;
    pointer-events: none;
}
.popup {
    display: none;
    position: fixed;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: #181818;
    border: 2px solid #ffd700;
    border-radius: 16px;
    box-shadow: 0 4px 32px #ffd70022;
    padding: 32px 40px;
    z-index: 1100;
    min-width: 320px;
    color: #ffd700;
}
.popup input, .popup select {
    width: 100%;
    margin-bottom: 18px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ffd700;
    font-size: 1rem;
    font-family: inherit;
    background: #222;
    color: #ffd700;
}
.popup-btn {
    background: linear-gradient(90deg, #ffd700 60%, #222 100%);
    color: #111;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    padding: 12px 32px;
    cursor: pointer;
    box-shadow: 0 2px 8px #ffd70044;
    transition: background 0.2s, transform 0.2s;
}
.popup-btn:hover {
    background: linear-gradient(90deg, #222 60%, #ffd700 100%);
    color: #ffd700;
    transform: scale(1.03);
}
@media (max-width: 600px) {
    .contest-title, .contest-desc, .story, .questions {
        padding: 12px;
        font-size: 1rem;
    }
    .popup {
        padding: 18px 8px;
        min-width: 90vw;
    }
}
