/* =====================
   Effects & Animations
===================== */

.glowing {
    box-shadow: 0 0 10px rgba(57, 123, 230, 0.7);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.glowing:hover {
    box-shadow: 0 0 20px rgba(59, 130, 246, 1);
    transform: scale(1.05);
}

/* =====================
   Marquee
===================== */

.marquee {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* =====================
   Progress Bar
===================== */

.w-full {
    position: relative;
    overflow: hidden;
}

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    width: 96%;
    z-index: 10;
    overflow: hidden;

    background-size: 30px 30px;
    background-image: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.1) 25%,
        transparent 25%,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.1) 75%,
        transparent 75%,
        transparent
    );

    animation: animate-stripes 3s linear infinite;
}

@keyframes animate-stripes {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 30px 30px;
    }
}

/* =====================
   Button Gradients
===================== */

.raven-button-overlay,
.red-button-overlay,
.tng-button-gradient {
    background-size: 400% 100%;
    animation: AnimatedGradientBgLeft 6s infinite;
}

.raven-button-overlay {
    background-image: linear-gradient(
        90deg,
        #009C1A,
        #00EF27,
        #009C1A,
        #009C1A,
        #00EF27
    );
}

.red-button-overlay {
    background-image: linear-gradient(
        90deg,
        #B22222,
        #FF6347,
        #B22222,
        #B22222,
        #FF6347
    );
}

.tng-button-gradient {
    background-image: linear-gradient(
        90deg,
        #007BFF,
        #00BFFF,
        #007BFF,
        #007BFF,
        #00BFFF
    );
}

.raven-button-overlay:hover {
    box-shadow: 0 0 20px rgba(0, 255, 0, 1);
    transform: scale(1.05);
}

@keyframes AnimatedGradientBgLeft {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* =====================
   Base Layout
===================== */

html,
body {
    overflow-x: hidden;
}

body {
    font-family: "Lato", sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    padding: 0;
    margin: 0;
    transition: margin-left 0.5s;
}

body[page="home"] .floating-whatsapp {
    display: block;
}

/* =====================
   Floating Telegram
===================== */

.floating-telegram img {
    width: 100%;
}

.floating-telegram {
    position: fixed;
    width: 25px;
    bottom: 100px;
    right: 0;
    z-index: 1;
}

/* =====================
   Floating WhatsApp
===================== */

.floating-whatsapp img {
    width: 100%;
}

.floating-whatsapp {
    position: fixed;
    width: 25px;
    bottom: 210px;
    right: 0;
    z-index: 1;
}

/* =====================
   Floating TikTok
===================== */

.floating-tiktok img {
    width: 100%;
    height: 120px;
}

.floating-tiktok {
    position: fixed;
    width: 40px;
    bottom: 320px;
    right: 0;
    z-index: 1;
    animation: movemove 20s infinite;
}


/* =====================
   Floating TikTok
===================== */

.floating-tiktok2 img {
    width: 100%;
    height: 120px;
}

.floating-tiktok2 {
    position: fixed;
    width: 80px;
    bottom: 320px;
    left: 20px;
    z-index: 1;
    animation: movemove 20s infinite;
}

/* =====================
   Floating Tips
===================== */

.floating-tips img {
    width: 300%;
}

.floating-tips {
    position: fixed;
    width: 50px;
    bottom: 320px;
    right: 5px;
    z-index: 1;
    animation: movemove 20s infinite;
}

/* =====================
   Shared Animation
===================== */

@keyframes movemove {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-300px);
    }
    100% {
        transform: translateY(300px);
    }
}

/* =====================
   Side Navigation
===================== */

.sidenav {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    z-index: 3;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 20px;
}

.open {
    right: calc(100% - 250px);
}

.sidenav a,
.dropdown-btn {
    text-decoration: none;
    font-size: 19px;
    color: #4d4d4d;
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 700;
    font-family: "Lato", sans-serif;
}

.dropdown-btn {
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    outline: none;
}

.sidenav a:hover {
    color: #EC7C25;
    background-color: #FFE6C7;
    border-radius: 8px;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
}

/* =====================
   Utility
===================== */

.mybox {
    padding: 0 10px;
}

.logo {
    height: 46px;
    margin: 5px auto;
}

/* =====================
   Popup
===================== */

.popup-overlay {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    animation: fadeIn 0.3s ease-in-out;
}

.popup-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.popup-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff0000;
    color: #fff;
    border-radius: 50%;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 24px;
    line-height: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =====================
   See More
===================== */

#seeMoreContent {
    max-height: 50px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

#seeMoreContent.expanded {
    max-height: 5000px;
}
