body {
    font-family: 'Poppins', sans-serif;
}

.font-accent {
    font-family: 'Dancing Script', cursive;
}

.font-heading {
    font-family: 'Playfair Display', serif;
}

.font-arabic {
    font-family: 'Amiri', serif;
}

/* Scrollbar Hiding */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Text shadow utilities */
.text-shadow-sm {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes slideOutLeft {
    to { transform: translateX(-100%); }
}

@keyframes slideOutRight {
    to { transform: translateX(100%); }
}

@keyframes popOut {
    to { transform: scale(1.2) rotate(15deg); opacity: 0; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-left {
    animation: slideOutLeft 1.5s ease-in-out forwards;
}

.slide-right {
    animation: slideOutRight 1.5s ease-in-out forwards;
}

.pop-out {
    animation: popOut 0.8s ease-out forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes blurToClear {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
        transform: scale(1);
    }
}

.blur-in {
    opacity: 0;
    will-change: transform, filter, opacity;
    animation: blurToClear 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Floating items on splash screen */
@keyframes floatUpDown {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    50% { transform: translateY(-15px) rotate(5deg); opacity: 0.8; }
}

.splash-float-item {
    position: absolute;
    font-size: 2rem;
    animation: floatUpDown 3s ease-in-out infinite;
    opacity: 0.5;
}

/* Panel Styles - Glassmorphism Effect */
.aqiqah-panel {
    position: relative;
    border-radius: 1.2rem;
    padding: 2rem;
    margin: 0 1.5rem 2rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
                0 0 0 1px rgba(255, 255, 255, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    overflow: hidden;
    text-align: center;
}

.aqiqah-panel-bg {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.aqiqah-panel-content {
    position: relative;
    z-index: 10;
}

/* Adjust text position inside video frame specifically for Android */
.is-android #main-content {
    padding-top: 0vh !important; /* Ubah nilai ini: makin kecil nilai = makin naik text ke atas */
}
