/* RESET & GENERAL */
* 
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face 
{
    font-family: 'Nabla1';
    src: url('../fonts/Nabla/Nabla-Regular-VariableFont_EDPT\,EHLT.woff2') format('woff2'),
         url('../fonts/Nabla/Nabla-Regular-VariableFont_EDPT\,EHLT.woff') format('woff'),
         url('../fonts/Nabla/Nabla-Regular-VariableFont_EDPT\,EHLT.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

html 
{
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
}

body 
{
    color: rgb(35, 203, 49);
    font-family: Consolas, Courier, monospace;
    font-size: 20px;
    text-shadow: 0 0 15px #411;
    background-image: url(../imgs/stars.gif);
    overflow-x: hidden;
    overflow-y: auto;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23FFD700"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') 12 12, auto;
}
.POP
{
  font-family: "Nabla", "Nabla1", "Impact", "Arial Black", sans-serif; 
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
    font-size: 50px;
}
.subTitle
{
    font-size: 20px;
    margin: 0 auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: opacity, transform;
}
.names
{
    position: relative;
    max-width: 420px;
}
h6
{
    max-width: 800px;
    padding: 20px;
    margin: 0 auto;
    font-size: 30px;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 
{
    margin: 0;
    padding: 0;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-style: normal;
  text-transform: capitalize;
}
h6
{
    text-transform: none !important;
}
.contactTXT
{
    font-size: auto;
    color: #00ff00;
    text-decoration: none;
}
/* SCROLL ANIMATION CLASSES */
.fade-in 
{
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible 
{
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left 
{
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible 
{
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right 
{
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible 
{
    opacity: 1;
    transform: translateX(0);
}

.scale-in 
{
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* FIXED HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 195px;
    padding: 20px;
    background-image: url('../imgs/stars.gif');
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cheech
{
    position: absolute;
    top: 66px;
    left: 21%;
    width: 115px;
}
.cheech2
{
    position: absolute;
    top: 55px;
  left: 72%;
    width: 95px;
}
.title {
    width: auto;
    max-width: 600px;
    height: auto;
    margin-top: 20px;
}
.subTitle
{
 font-size: 30px;
}
.sword, .sword2 {
    position: absolute;
    top: -4px;
    right: -136px;
    height: 578px;
    transition: opacity 3s ease-in-out;
}

.sword:hover {
    opacity: 1;
}

.sword2:hover {
    opacity: 0;
}
/* PARALLAX LAYERS */
.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* MAIN CONTENT */
main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: auto;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease; 
}

section {
    margin-bottom: 10px;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

section#home { 
    display: block;
    padding: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
}

/* SCROLLING IMAGES CONTAINER */
.scrolling-container {
    width: 100%;
    overflow-x: auto; 
    overflow-y: hidden;
    position: relative;
    margin: 200px 0 0 0;
    padding: 30px 0 30px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    --image-size: 250px;
    --image-gap: 25px;
}

.scrolling-container::-webkit-scrollbar {
    display: none;
}

.scrolling-images {
    display: flex;
    gap: var(--image-gap);
    align-items: center;
    padding: 0 20px 0 20px;
    width: max-content; 
    animation: scrollLeft 35s linear infinite; 
}

.scrolling-images::after {
    content: '';
    width: var(--image-gap); 
    flex-shrink: 0;
}

.scrolling-images.paused {
    animation-play-state: paused; /* Pause auto-scroll when manually scrolling */
}

.scroll-img {
    height: var(--image-size);
    width: var(--image-size);
    object-fit: cover;
    border: none;
    flex-shrink: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    transform-origin: center center;
    box-shadow: 
        0 0 5px rgba(35, 203, 49, 0.2),
        0 0 10px rgba(35, 203, 49, 0.1),
        0 5px 10px rgba(35, 203, 49, 0.15); 
}

.scroll-img:hover {
    transform: scale(1.15);
    animation-play-state: paused;
    z-index: 10;
    position: relative;
    box-shadow: 
        0 0 20px rgba(35, 203, 49, 0.5),
        0 0 35px rgba(35, 203, 49, 0.3),
        0 10px 20px rgba(35, 203, 49, 0.25); 
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-10 * (var(--image-size) + var(--image-gap))));
    }
}

.main-content {
    margin-top: 45px;
    transition: margin-top 0.3s ease; 
}

/* BACKGROUND IMAGES (Static) */
.lighting {
    position: absolute;
    top: 278px;
    left: -60px;
    width: 30%;
    z-index: 1;
}
.doom {
position: absolute;
top: 702px;
  left: 45px;
  width: 126px;
  z-index: 1;
}
.alien1
{
    position: absolute;
    top: 0px;
    right: 0px;
    width: 80px;
    z-index: 1;
}
.scatter1 {
position: absolute;
  top: 484px;
  right: 1044px;
  width: 80px;
  z-index: 1;
}

.scatter2 {
    position: absolute;
    top: 800px;
    left: 200px;
    width: 60px;
    z-index: 1;
}

.scatter3 {
    position: absolute;
    top: 600px;
    right: 300px;
    width: 90px;
    z-index: 1;
}

.scatter4 {
    position: absolute;
    top: 950px;
    left: 50px;
    width: 70px;
    z-index: 1;
}

.scatter5 {
    position: absolute;
    top: 500px;
    left: 400px;
    width: 85px;
    z-index: 1;
}

.scatter6 {
    position: absolute;
    top: 750px;
    right: 80px;
    width: 75px;
    z-index: 1;
}

.bat {
    position: absolute;
    top: 300px;
    right: 200px;
    width: 10%;
    z-index: 1;
}

.alien {
    position: absolute;
    top: 150px;
    right: 50px;
    width: 5%;
    z-index: 1;
}

.us 
{
position: absolute;
  bottom: -100px;
  left: 16px;
  width: 30%;
  z-index: 9999 !important;
}

.BN {
    width: 47%;
    margin: 20px 0;
    z-index: 0;
}

/* NAVIGATION */
nav {
    transition: transform 0.3s ease;
    will-change: transform;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease; 
}

nav ul li a {
    color: #00ff00;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    text-decoration: underline;
}
nav ul li a:hover 
{
    text-decoration: underline;
}

/* PRODUCT CARDS */
.product-card, .product-card1, .product-card2 {
    width: 200px;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff00;
    padding: 20px;
    border-radius: 5px;
    margin: 10px;
    transition: all 0.3s ease; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 350px;
}

.product-card h3, .product-card1 h3, .product-card2 h3 {
    margin-top: 0;
    margin-bottom: 15px;
    transition: font-size 0.3s ease;
    height: auto;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-align: center;
    padding: 0 5px;
}

.product-card .P1, .product-card1 .P1, .product-card2 .P1 {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    border-radius: 3px;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.product-card h5, .product-card1 h5, .product-card2 h5 {
    margin: 10px 0;
    height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card p, .product-card1 p, .product-card2 p {
    margin: 10px 0;
    height: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card button, .product-card1 button, .product-card2 button {
    background-color: #00ff00;
    border: none;
    color: #0a0a0a;
    cursor: pointer;
    padding: 10px 20px;
    text-transform: uppercase;
    font-family: Consolas, Courier, monospace;
    transition: all 0.3s ease;
    margin-top: auto;
    width: 100%;
    border-radius: 3px;
}

.product-card button:hover, .product-card1 button:hover, .product-card2 button:hover {
    background-color: #009900;
}

.P1 {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.product-container, .product-container1, .product-container2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 10px 0;
    transition: all 0.3s ease;
}

/* FOOTER */
footer {
    background-color: #141414;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    margin-left: -20px;
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    z-index: 1;
}
.footer-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; 
}
footer.foot2
{
    background-color: green;
    position: relative;
}

.glasses {
    width: 100px;
    margin: 20px;
}

/* RESPONSIVE */
/* Mobile: Single column layout for phones */
@media (max-width: 450px) {
    body {
        font-size: 16px;
    }
    .cheech, .cheech2 
    {
        display: none; 
    }
    section#home
    {
            margin-top: -196px;

    }
        h6
    {
        max-width: 358px;
    }
    h6.description
    {
        font-size: 20px;
    }
    img.bizcard, img.bizcard1, .bizcard-shimmer
    {
        max-width: 335px !important;
    }
    img.bizcard1
    {
        margin-top: -592px;
    }
    .bizcard-shimmer
    {
        max-height: 100%;
    }
    .names
    {
        max-width: 357px;
    }
    .title {
        max-width: 360px;
        margin-top: 38px;
        margin-left: -30px;
    }
    
    header {
        height: 170px;
        padding: 15px 5px;
        height: 119px;
    }
    
    .subTitle {
        font-size: 18px;
        padding: 0 10px;
        text-align: center;
    }
    
    .sword, .sword2 {
right: -67px;
    height: 223px;
    }
    
    nav ul {
        flex-direction: row;
        gap: 5px;
        padding: 8px 0;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li a {
        font-size: 12px;
        padding: 4px 6px;
        white-space: nowrap;
    }
    
    main {
        width: 100%;
        padding: 10px 5px;
        margin-top: 180px;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    section {
        padding: 15px 5px;
        margin-bottom: 30px;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    section h2 {
        font-size: 22px;
        margin-bottom: 20px;
        text-align: center;
    }
    
    /* Hide decorative elements on mobile */
    .lighting, .bat, .alien, .us, .scatter1, .scatter2, .scatter3, .scatter4, .scatter5, .scatter6, .cheech, .cheech2{
        display: none;
    }
    
    /* Hide flying elements for performance */
    .flying-elements {
        display: none;
    }
    
    /* Hide vertical scrolling text on mobile */
    .vertical-scroll-text {
        display: none;
    }
    
    .vertical-scroll-text-right {
        display: none;
    }
    
    /* Mobile scrolling images adjustments */
    .scrolling-container {
        margin: 200px 0 0 0;
        padding: 20px 0 40px 0; 
        overflow-x: auto; 
        overflow-y: hidden;
        --image-size: calc(100vw - 60px);
        --image-gap: 15px;
    }
    
    .scroll-img {
        max-width: 250px; 
        border: none;
        transform-origin: center center; 
        box-shadow: 
            0 0 5px rgba(35, 203, 49, 0.2),
            0 0 10px rgba(35, 203, 49, 0.1),
            0 5px 10px rgba(35, 203, 49, 0.15); 
    }
    
    .scrolling-images {
        animation-duration: 20s;
        padding: 0 15px;
        overflow: visible; 
    }
    /* Settings menu adjustments for mobile */
    .settings-menu {
        position: fixed !important;
        top: 50px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        min-width: 280px !important;
        max-width: 90vw !important;
        z-index: 9999 !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .settings-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-50%) !important;
    }
    
    .settings-icon-btn {
        font-size: 14px !important;
        padding: 6px 8px !important;
    }
    
    .glasses {
        width: 60px;
        margin: 15px;
    }
    
    /* Ensure everything is visible except settings when closed */
    * {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .settings-menu:not(.active) {
        opacity: 0 !important;
        visibility: hidden !important;
    }
}
/* Tablets */
@media (min-width: 651px) and (max-width: 768px) {
    .title {
        max-width: 350px;
        margin-top: 5px;
    }
    
    header {
        height: 160px;
    }
    
    .subTitle {
        font-size: 20px;
    }
    
    .sword, .sword2 {
        right: 15px;
        height: 150px;
    }
    
    nav ul {
        flex-direction: row;
        gap: 15px;
        padding-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    main {
        width: 92%;
        margin-top: 170px;
    }
    
    /* Three-column layout for tablets */
    .product-container, .product-container1, .product-container2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin: 20px 0;
    }
    
    .product-card, .product-card1, .product-card2 {
        width: calc(33.333% - 12px);
        max-width: 220px;
        min-width: 180px;
        margin: 5px;
    }
    
    .BN {
        width: 60%;
    }
    
    /* Tablet scrolling images adjustments */
    .scrolling-container {
        --image-size: 180px;
        --image-gap: 22px;
    }
    
    .scrolling-images {
        animation-duration: 30s;
        padding: 0 18px;
    }
    
    /* Settings menu adjustments for tablets */
    .settings-menu {
        position: fixed !important;
        top: 242% !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
        min-width: 300px !important;
        max-width: 80vw !important;
        z-index: 9999 !important;
    }
    
    .settings-menu.active {
        transform: translate(-50%, -50%) !important;
    }
    
    .settings-icon-btn {
        font-size: 16px !important;
        padding: 6px 8px !important;
    }
    
    /* Hide some decorative elements */
    .lighting, .bat, .alien, .us, .scatter1, .scatter2, .scatter3, .scatter4, .scatter5, .scatter6 {
        display: none;
    }
    
    /* Hide vertical scrolling text on small tablets */
    .vertical-scroll-text {
        display: none;
    }
    
    .vertical-scroll-text-right {
        display: none;
    }
    
    /* Medium tablet scrolling images adjustments */
    .scrolling-container {
        margin: 200px 0 0 0;
        padding: 25px 0 0 0;
        --image-size: 200px;
        --image-gap: 20px;
    }
    
    .scroll-img {
        border: none;
    }
    
    .scrolling-images {
        animation-duration: 28s;
        padding: 0 16px;
    }
    
    /* Flying promo adjustments for small tablets */
    .flying-promo {
        width: 350px;
        height: 350px;
        right: -450px;
    }
    
    .promo-text {
        font-size: 22px;
        bottom: -35px;
    }
    
    .promo-link::before {
        top: -18px;
        left: -18px;
        right: -18px;
        bottom: -18px;
    }
}

/* Large tablets and small desktops */
@media (min-width: 769px) and (max-width: 1024px) {
    main {
        width: 90%;
        margin-top: 170px;
    }
    
    /* Four-column layout */
    .product-container, .product-container1, .product-container2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin: 20px 0;
    }
    
    .product-card, .product-card1, .product-card2 {
        width: calc(25% - 12px);
        max-width: 200px;
        min-width: 180px;
        margin: 5px;
    }
    
    .BN {
        width: 50%;
    }
    
    /* Settings menu adjustments for large tablets */
    .settings-menu {
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        left: auto !important;
        transform: translateY(0) !important;
        min-width: 220px !important;
        max-width: none !important;
        z-index: 1002 !important;
    }
    
    .settings-menu.active {
        transform: translateY(0) !important;
    }
    
    .settings-icon-btn {
        font-size: 18px !important;
        padding: 8px 10px !important;
    }
}

/* Desktop and larger */
@media (min-width: 1025px) {
    /* Original multi-column layout */
    .product-container, .product-container1, .product-container2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin: 10px 0;
    }

    .product-card, .product-card1, .product-card2 {
        width: 200px;
        margin: 10px;
    }
    
    .BN {
        width: 47%;
    }
    
    /* Settings menu desktop styles */
    .settings-menu {
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        left: auto !important;
        transform: translateY(0) !important;
        min-width: 200px !important;
        max-width: none !important;
        z-index: 1002 !important;
    }
    
    .settings-menu.active {
        transform: translateY(0) !important;
    }
    
    .settings-icon-btn {
        font-size: 18px !important;
        padding: 8px 10px !important;
    }
}

/* SWORD POPUP STYLES */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid rgb(35, 203, 49);
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 30px rgba(35, 203, 49, 0.5);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.popup-close {
    position: fixed;
    top: 15px;
    right: 20px;
    background: rgba(203, 35, 49, 0.2);
    border: 2px solid rgb(203, 35, 49);
    color: rgb(203, 35, 49);
    font-size: 28px;
    cursor: pointer;
    font-family: Consolas, Courier, monospace;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1005;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(203, 35, 49, 0.3);
}

.popup-close:hover {
    background: rgba(203, 35, 49, 0.4);
    border-color: rgb(255, 69, 69);
    color: rgb(255, 69, 69);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 
        0 0 25px rgba(203, 35, 49, 0.6),
        0 0 40px rgba(203, 35, 49, 0.3);
    text-shadow: 0 0 15px rgba(255, 69, 69, 0.8);
}

.popup-content h3 {
    color: rgb(35, 203, 49);
    margin-bottom: 20px;
    font-size: 24px;
    text-shadow: 0 0 15px rgba(35, 203, 49, 0.8);
}

.popup-content p {
    color: rgb(35, 203, 49);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 16px;
}

.popup-quote {
    font-style: italic;
    color: #aaa;
    border-top: 1px solid rgba(35, 203, 49, 0.3);
    padding-top: 15px;
    margin-top: 20px;
}

/* FLYING ANIMATED ELEMENTS */
.flying-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.flying-elements img {
    position: absolute;
    opacity: 0.8;
}

/* Flying animations */
@keyframes flyAcross1 {
    0% {
        transform: translateX(-100px) translateY(20vh) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.8;
    }
    85% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(calc(100vw + 100px)) translateY(80vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes flyAcross2 {
    0% {
        transform: translateX(calc(100vw + 100px)) translateY(80vh) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.8;
    }
    85% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(-100px) translateY(30vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes flyAcross3 {
    0% {
        transform: translateX(-100px) translateY(60vh) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    15% {
        opacity: 0.7;
    }
    85% {
        opacity: 0.7;
    }
    100% {
        transform: translateX(calc(100vw + 100px)) translateY(70vh) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

@keyframes flyAcross4 {
    0% {
        transform: translateX(calc(100vw + 100px)) translateY(25vh) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.9;
    }
    85% {
        opacity: 0.9;
    }
    100% {
        transform: translateX(-100px) translateY(75vh) rotate(-360deg);
        opacity: 0;
    }
}

@keyframes flyAcross5 {
    0% {
        transform: translateX(-100px) translateY(10vh) rotate(0deg) scale(0.7);
        opacity: 0;
    }
    15% {
        opacity: 0.7;
    }
    85% {
        opacity: 0.7;
    }
    100% {
        transform: translateX(calc(100vw + 100px)) translateY(90vh) rotate(360deg) scale(0.7);
        opacity: 0;
    }
}

@keyframes flyAcross6 {
    0% {
        transform: translateX(calc(100vw + 100px)) translateY(50vh) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    15% {
        opacity: 0.8;
    }
    85% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(-100px) translateY(40vh) rotate(-360deg) scale(0.8);
        opacity: 0;
    }
}

@keyframes flyAcross7 {
    0% {
        transform: translateX(-100px) translateY(35vh) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.9;
    }
    85% {
        opacity: 0.9;
    }
    100% {
        transform: translateX(calc(100vw + 100px)) translateY(65vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes flyAcross8 {
    0% {
        transform: translateX(calc(100vw + 100px)) translateY(70vh) rotate(0deg) scale(0.6);
        opacity: 0;
    }
    15% {
        opacity: 0.7;
    }
    85% {
        opacity: 0.7;
    }
    100% {
        transform: translateX(-100px) translateY(20vh) rotate(-360deg) scale(0.6);
        opacity: 0;
    }
}

@keyframes flyAcross9 {
    0% {
        transform: translateX(-100px) translateY(45vh) rotate(0deg) scale(0.9);
        opacity: 0;
    }
    15% {
        opacity: 0.8;
    }
    85% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(calc(100vw + 100px)) translateY(55vh) rotate(360deg) scale(0.9);
        opacity: 0;
    }
}

/* Apply animations with different timings */
.flying-1 {
    animation: flyAcross1 8s ease-in-out infinite;
    animation-delay: 0s;
}

.flying-2 {
    animation: flyAcross2 6s ease-in-out infinite;
    animation-delay: 2s;
}

.flying-3 {
    animation: flyAcross3 10s ease-in-out infinite;
    animation-delay: 4s;
}

.flying-4 {
    animation: flyAcross4 7s ease-in-out infinite;
    animation-delay: 1s;
}

.flying-5 {
    animation: flyAcross5 12s ease-in-out infinite;
    animation-delay: 6s;
}

.flying-6 {
    animation: flyAcross6 9s ease-in-out infinite;
    animation-delay: 8s;
}

.flying-7 {
    animation: flyAcross7 11s ease-in-out infinite;
    animation-delay: 3s;
}

.flying-8 {
    animation: flyAcross8 8.5s ease-in-out infinite;
    animation-delay: 5s;
}

.flying-9 {
    animation: flyAcross9 13s ease-in-out infinite;
    animation-delay: 7s;
}

/* Make sword images clickable */
.sword, .sword2 {
    cursor: pointer;
}

/* SETTINGS MENU */
.settings-menu-item {
    display: flex;
    align-items: center;
    position: relative;
}

.settings-icon-btn {
    background: none;
    border: none;
    color: rgb(35, 203, 49);
    font-size: 18px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 3px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px #411;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    line-height: 1;
    text-decoration: none;
}

.settings-icon-btn:hover {
    transform: rotate(360deg);
}

.settings-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid rgb(35, 203, 49);
    border-radius: 8px;
    padding: 15px;
    min-width: 200px;
    box-shadow: 0 0 20px rgba(35, 203, 49, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1002;
}

.settings-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.settings-menu-content h4 {
    color: rgb(35, 203, 49);
    font-family: Consolas, Courier, monospace;
    font-size: 16px;
    margin: 0 0 15px 0;
    text-align: center;
    text-shadow: 0 0 10px #411;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.setting-item label {
    color: rgb(35, 203, 49);
    font-family: Consolas, Courier, monospace;
    font-size: 12px;
    text-shadow: 0 0 10px #411;
}

.setting-toggle-btn {
    background: rgba(35, 203, 49, 0.2);
    border: 1px solid rgb(35, 203, 49);
    color: rgb(35, 203, 49);
    padding: 4px 12px;
    font-family: Consolas, Courier, monospace;
    font-size: 11px;
    cursor: pointer;
    border-radius: 3px;
    text-shadow: 0 0 8px #411;
    transition: all 0.3s ease;
    min-width: 40px;
}

.setting-toggle-btn:hover {
    background: rgba(35, 203, 49, 0.4);
    transform: scale(1.05);
}

.setting-toggle-btn.disabled {
    background: rgba(203, 35, 49, 0.2);
    border-color: rgb(203, 35, 49);
    color: rgb(203, 35, 49);
}

.setting-toggle-btn.disabled:hover {
    background: rgba(203, 35, 49, 0.4);
}

.BN {
    width: 45%;
    margin: 20px 0;
    position: relative;
    z-index: 0;
}

/* MUSIC ICON STYLES */
.music-menu-item {
    display: flex;
    align-items: center;
    position: relative;
}

.music-icon-btn {
    background: none;
    border: none;
    color: rgb(35, 203, 49);
    font-size: 18px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 3px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px #411;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    line-height: 1;
    text-decoration: none;
}

.music-icon-btn:hover {
    transform: scale(1.2);
    text-shadow: 0 0 15px rgb(35, 203, 49);
}

/* MUSIC POPUP STYLES */
.music-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1001;
    backdrop-filter: blur(8px);
}

.music-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 750px;
    max-height: 90vh;
    min-height: auto;
    border: 3px solid rgb(35, 203, 49);
    border-radius: 25px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 
        0 0 40px rgba(35, 203, 49, 0.6),
        0 0 80px rgba(35, 203, 49, 0.3),
        inset 0 0 20px rgba(35, 203, 49, 0.1);
    animation: musicPopupSlideIn 0.4s ease-out;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(20, 20, 20, 0.9));
    scrollbar-width: thin;
    scrollbar-color: rgba(35, 203, 49, 0.5) rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Custom scrollbar for webkit browsers */
.music-popup-content::-webkit-scrollbar {
    width: 12px;
}

.music-popup-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    margin: 10px;
}

.music-popup-content::-webkit-scrollbar-thumb {
    background: rgba(35, 203, 49, 0.5);
    border-radius: 6px;
    border: 2px solid rgba(35, 203, 49, 0.3);
}

.music-popup-content::-webkit-scrollbar-thumb:hover {
    background: rgba(35, 203, 49, 0.7);
}

@keyframes musicPopupSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.music-background {
    position: relative;
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-image: url("../imgs/bgbg.png");
    padding: 20px 0;
}

.music-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.music-controls-overlay {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.85), rgba(15, 15, 15, 0.85));
    border: 2px solid rgba(35, 203, 49, 0.3);
    border-radius: 20px;
    margin: 0 20px;
    backdrop-filter: blur(8px);
    box-shadow: 
        0 0 30px rgba(35, 203, 49, 0.2),
        inset 0 0 30px rgba(35, 203, 49, 0.05);
    width: calc(100% - 40px);
    max-width: 700px;
    overflow-x: hidden;
}

.music-controls-overlay::-webkit-scrollbar {
    width: 8px;
}

.music-controls-overlay::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.music-controls-overlay::-webkit-scrollbar-thumb {
    background: rgba(35, 203, 49, 0.5);
    border-radius: 4px;
    border: 1px solid rgba(35, 203, 49, 0.3);
}

.music-controls-overlay::-webkit-scrollbar-thumb:hover {
    background: rgba(35, 203, 49, 0.7);
}

.current-album-display {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.current-album-art {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid rgba(35, 203, 49, 0.6);
    box-shadow: 
        0 0 30px rgba(35, 203, 49, 0.4),
        0 0 60px rgba(35, 203, 49, 0.2),
        inset 0 0 20px rgba(35, 203, 49, 0.1);
    transition: all 0.3s ease;
    animation: albumPulse 3s ease-in-out infinite alternate;
}

@keyframes albumPulse {
    from { 
        box-shadow: 
            0 0 30px rgba(35, 203, 49, 0.4),
            0 0 60px rgba(35, 203, 49, 0.2),
            inset 0 0 20px rgba(35, 203, 49, 0.1);
        transform: scale(1);
    }
    to { 
        box-shadow: 
            0 0 40px rgba(35, 203, 49, 0.6),
            0 0 80px rgba(35, 203, 49, 0.3),
            inset 0 0 30px rgba(35, 203, 49, 0.15);
        transform: scale(1.02);
    }
}

.music-controls-overlay h3 {
    color: rgb(35, 203, 49);
    font-size: 28px;
    margin-bottom: 25px;
    text-shadow: 
        0 0 20px rgba(35, 203, 49, 0.8),
        0 0 40px rgba(35, 203, 49, 0.4);
    animation: musicTitlePulse 2s ease-in-out infinite alternate;
    font-weight: bold;
    letter-spacing: 2px;
}

@keyframes musicTitlePulse {
    from { text-shadow: 0 0 20px rgba(35, 203, 49, 0.8); }
    to { text-shadow: 0 0 30px rgba(35, 203, 49, 1), 0 0 40px rgba(35, 203, 49, 0.5); }
}

.radio-display {
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 35px;
    box-shadow: 
        0 0 25px rgba(35, 203, 49, 0.3),
        inset 0 0 20px rgba(35, 203, 49, 0.1);
    position: relative;
    overflow: hidden;
}

.radio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(35, 203, 49, 0.3);
}

.radio-station {
    color: rgb(35, 203, 49);
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(35, 203, 49, 0.6);
}

.frequency {
    color: rgba(35, 203, 49, 0.8);
    font-size: 15px;
    font-family: 'Courier New', monospace;
    background: rgba(35, 203, 49, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(35, 203, 49, 0.3);
}

.now-playing-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.genre-display, .song-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.genre-label, .song-label {
    color: rgba(35, 203, 49, 0.7);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;
    min-width: 85px;
    text-align: left;
}

#currentGenre {
    color: rgb(35, 203, 49);
    font-size: 19px;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(35, 203, 49, 0.8);
    animation: genrePulse 2s ease-in-out infinite alternate;
}

#currentSongTitle {
    color: rgb(35, 203, 49);
    font-size: 17px;
    font-style: italic;
    text-shadow: 0 0 10px rgba(35, 203, 49, 0.6);
}

@keyframes genrePulse {
    from { 
        text-shadow: 0 0 15px rgba(35, 203, 49, 0.8);
        transform: scale(1);
    }
    to { 
        text-shadow: 0 0 25px rgba(35, 203, 49, 1);
        transform: scale(1.02);
    }
}

.radio-ticker {
    height: 20px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(35, 203, 49, 0.2);
    position: relative;
}

.ticker-content {
    position: absolute;
    white-space: nowrap;
    animation: tickerScroll 10s linear infinite;
    color: rgba(35, 203, 49, 0.8);
    font-size: 14px;
    line-height: 20px;
    display: flex;
    gap: 50px;
}

#radioDescription, #radioDescriptionDupe {
    flex-shrink: 0;
}

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

.now-playing::before {
    content: "Now Playing: ";
    color: #aaa;
}

.song-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
    padding: 0 10px;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(35, 203, 49, 0.5) rgba(0, 0, 0, 0.3);
    width: 100%;
    box-sizing: border-box;
}

.song-list::-webkit-scrollbar {
    width: 8px;
}

.song-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.song-list::-webkit-scrollbar-thumb {
    background: rgba(35, 203, 49, 0.5);
    border-radius: 4px;
    border: 1px solid rgba(35, 203, 49, 0.3);
}

.song-list::-webkit-scrollbar-thumb:hover {
    background: rgba(35, 203, 49, 0.7);
}

.song-btn {
    background: linear-gradient(135deg, rgba(35, 203, 49, 0.1), rgba(35, 203, 49, 0.05));
    border: 2px solid rgba(35, 203, 49, 0.3);
    color: rgb(35, 203, 49);
    padding: 12px 20px;
    font-family: Consolas, Courier, monospace;
    font-size: 18px;
    cursor: pointer;
    border-radius: 12px;
    text-shadow: 0 0 10px rgba(35, 203, 49, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.song-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(35, 203, 49, 0.2), transparent);
    transition: left 0.3s ease;
}

.album-cover {
    width: 35px;
    height: 35px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(35, 203, 49, 0.4);
    box-shadow: 0 0 10px rgba(35, 203, 49, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.song-title {
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.song-btn:hover {
    background: linear-gradient(135deg, rgba(35, 203, 49, 0.3), rgba(35, 203, 49, 0.2));
    border-color: rgba(35, 203, 49, 0.6);
    transform: translateX(15px) scale(1.02);
    box-shadow: 
        0 0 25px rgba(35, 203, 49, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 0 0 15px rgba(35, 203, 49, 0.8);
}

.song-btn:hover::before {
    left: 0;
}

.song-btn:hover .album-cover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(35, 203, 49, 0.6);
    border-color: rgba(35, 203, 49, 0.8);
}

.song-btn.active {
    background: linear-gradient(135deg, rgba(35, 203, 49, 0.4), rgba(35, 203, 49, 0.3));
    border-color: rgb(35, 203, 49);
    box-shadow: 
        0 0 30px rgba(35, 203, 49, 0.6),
        0 0 60px rgba(35, 203, 49, 0.3),
        inset 0 0 20px rgba(35, 203, 49, 0.1);
    font-weight: bold;
    text-shadow: 0 0 20px rgba(35, 203, 49, 1);
    transform: scale(1);
}

.song-btn.active .album-cover {
    box-shadow: 
        0 0 25px rgba(35, 203, 49, 0.8),
        0 0 40px rgba(35, 203, 49, 0.4);
    border-color: rgb(35, 203, 49);
    transform: scale(1);
}

.music-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    padding-top: 20px;
}

.control-btn {
    background: rgba(35, 203, 49, 0.2);
    border: 1px solid rgb(35, 203, 49);
    color: rgb(35, 203, 49);
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(35, 203, 49, 0.4);
    transform: scale(1.1);
}

.volume-slider {
    width: 120px;
    height: 4px;
    background: rgba(35, 203, 49, 0.3);
    outline: none;
    border-radius: 2px;
    -webkit-appearance: none;
    appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: rgb(35, 203, 49);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(35, 203, 49, 0.5);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: rgb(35, 203, 49);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(35, 203, 49, 0.5);
}
.bizcard-container {
  position: relative;
  padding-top: 20px;
}

.bizcard {
  width: 100%;
  height: auto;
  display: block;
}
.bizcard1 {
    position: absolute;
  width: 100%;
  height: auto;
  display: block;
  margin-top: -766px;
}
.bizcard-shimmer {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 96%;
  pointer-events: none; /* makes it non-interactive */
  background: linear-gradient(-45deg, #eeeeee00 40%, #00ec104c 50%, #eeeeee00 60%);
  background-size: 300%;
  background-position-x: 100%;
  animation: shimmer 4s infinite linear;
  mix-blend-mode: screen; /* Optional: makes it blend smoothly */
}
/* VERTICAL SCROLLING TEXT */
.vertical-scroll-text {
    position: fixed;
    left: 10px;
    top: 0;
    height: 100vh;
    width: 30px;
    overflow: hidden;
    z-index: 999;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.vertical-scroll-content {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    color: rgb(35, 203, 49);
    font-family: Consolas, Courier, monospace;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(35, 203, 49, 0.6);
    white-space: nowrap;
    animation: verticalScroll 40s linear infinite;
    letter-spacing: 3px;
}

/* VERTICAL SCROLLING TEXT RIGHT */
.vertical-scroll-text-right {
    position: fixed;
    right: 10px;
    top: 0;
    height: 100vh;
    width: 30px;
    overflow: hidden;
    z-index: 999;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.vertical-scroll-content-right {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    color: rgb(35, 203, 49);
    font-family: Consolas, Courier, monospace;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(35, 203, 49, 0.6);
    white-space: nowrap;
    animation: verticalScrollReverse 40s linear infinite;
    letter-spacing: 3px;
}

@keyframes verticalScroll {
    0% {
        transform: translateY(100vh);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes verticalScrollReverse {
    0% {
        transform: translateY(-100vh);
    }
    100% {
        transform: translateY(50%);
    }
}

/* CONTACT LINKS STYLING */
#contact p a {
    color: rgb(35, 203, 49);
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(35, 203, 49, 0.6);
    transition: all 0.3s ease;
    display: inline-block;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(35, 203, 49, 0.1);
    border: 1px solid rgba(35, 203, 49, 0.3);
    margin: 5px 0;
}

#contact p a:hover {
    transform: scale(1.1);
    color: rgb(255, 255, 255);
    background: rgba(35, 203, 49, 0.3);
    border-color: rgba(35, 97, 203, 0.239);
    text-shadow: 
        0 0 15px rgb(35, 136, 203),
        0 0 25px rgba(35, 133, 203, 0.8);
    box-shadow: 
        0 0 20px rgba(35, 203, 49, 0.4),
        0 0 40px rgba(35, 203, 49, 0.2);
}
/* FLYING PROMO IMAGE */
.flying-promo {
    position: fixed;
    top: 50%;
    right: -600px; /* Increased for larger size */
    transform: translateY(-50%);
    z-index: 1000;
    opacity: 0;
    transition: all 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    width: 500px; /* Increased from 400px */
    height: 500px; /* Increased from 400px */
}

.flying-promo.active {
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    opacity: 1;
    pointer-events: auto;
    animation: promoEntranceAndBounce 5s ease-in-out forwards; /* Changed from 30s to 5s */
}

@keyframes promoEntranceAndBounce {
    /* Entrance (0-1 seconds) */
    0% {
        right: -600px;
        top: 50%;
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
    20% { /* 1 second mark */
        right: 50%;
        top: 50%;
        opacity: 1;
        transform: translate(50%, -50%) scale(1);
    }
    
    /* Brief bouncing phase (1-4 seconds) */
    40% { /* 2 seconds */
        right: 20%;
        top: 30%;
        transform: translate(50%, -50%) scale(1);
    }
    60% { /* 3 seconds */
        right: 80%;
        top: 70%;
        transform: translate(50%, -50%) scale(1);
    }
    80% { /* 4 seconds */
        right: 50%;
        top: 50%;
        transform: translate(50%, -50%) scale(1);
    }
    
    /* Exit (4-5 seconds) */
    100% {
        left: -600px;
        right: auto;
        top: 70%;
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
}

/* Remove blue shadows - use green instead */
.flying-promo.active .promo-link {
    animation: activePulseGreen 3s ease-in-out infinite;
}

@keyframes activePulseGreen {
    0%, 100% {
        box-shadow: 0 0 40px rgba(35, 57, 203, 0.4);
    }
    50% {
        box-shadow: 0 0 60px rgba(35, 105, 203, 0.6);
    }
}

.promo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: radial-gradient(circle, rgba(35, 155, 203, 0.47) 0%, rgba(35, 203, 49, 0.2) 50%, transparent 80%);
    border-radius: 50%; /* Perfect circle */
    padding: 0; /* Remove padding to let content fill the circle */
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    width: 100%;
    height: 100%;
}

.promo-link::before {
    content: '';
    position: absolute;
    top: -25px; /* Increased for larger size */
    left: -25px;
    right: -25px;
    bottom: -25px;
    background: radial-gradient(circle, rgba(35, 111, 203, 0.3) 0%, rgba(35, 203, 49, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.promo-link:hover::before {
    opacity: 1;
}

.promo-link:hover {
    background: radial-gradient(circle, rgba(35, 108, 203, 0.6) 0%, rgba(35, 111, 203, 0.3) 50%, rgba(35, 83, 203, 0.1) 80%);
    box-shadow: 0 0 50px rgba(35, 97, 203, 0.7);
    transform: scale(1.05);
}

.promo-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.2);
    transition: all 0.5s ease;
    animation: gentlePulse 3s ease-in-out infinite;
    opacity: 0.75;
}

/* Style for the first image (gif background) */
.promo-link img:first-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.2);
    transition: all 0.5s ease;
    animation: gentlePulse 3s ease-in-out infinite;
    opacity: 0.75;
       z-index: 1;
}

/* Style for the second image (overlay image) */
.promo-link img:nth-child(2) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.3);
    transition: all 0.5s ease;
    animation: gentlePulse 3s ease-in-out infinite;
    z-index: 2;
}

.promo-link:hover .promo-image,
.promo-link:hover img {
    animation: hoverPulse 1.5s ease-in-out infinite;
    filter: brightness(1.3) contrast(1.4) drop-shadow(0 0 25px rgb(35, 139, 203));
}

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

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

.promo-text {
    position: absolute;
    bottom: -50px; /* Increased for larger size */
    left: 50%;
    transform: translateX(-50%);
    color: rgb(167, 35, 203);
    font-family: 'VT323', monospace;
    font-size: 28px; /* Increased from 24px */
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
    background: linear-gradient(
        90deg,
        rgb(181, 35, 203) 0%,
        rgb(255, 255, 255) 25%,
        rgb(35, 161, 203) 50%,
        rgb(255, 255, 255) 75%,
        rgb(91, 35, 203) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(35, 127, 203, 0.6),
        0 0 30px rgba(133, 35, 203, 0.4);
    z-index: 3;
}

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

.promo-link:hover .promo-text {
    animation: shimmerFast 1s ease-in-out infinite, textPulse 2s ease-in-out infinite;
    transform: translateX(-50%) scale(1.1);
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 1),
        0 0 25px rgba(35, 46, 203, 0.8),
        0 0 35px rgba(35, 139, 203, 0.6);
}

@keyframes shimmerFast {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes textPulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

/* Large tablets and small desktops */
@media (min-width: 769px) and (max-width: 1024px) {
    .flying-promo {
        width: 450px;
        height: 450px;
        right: -550px;
    }
    
    .promo-text {
        font-size: 26px;
        bottom: -45px;
    }
    
    .promo-link::before {
        top: -22px;
        left: -22px;
        right: -22px;
        bottom: -22px;
    }
}

/* Tablets */
@media (min-width: 651px) and (max-width: 768px) {
    .flying-promo {
        width: 400px;
        height: 400px;
        right: -500px;
    }
    
    .promo-text {
        font-size: 24px;
        bottom: -40px;
    }
    
    .promo-link::before {
        top: -20px;
        left: -20px;
        right: -20px;
        bottom: -20px;
    }
}
/* Small tablets and large phones */
@media (min-width: 451px) and (max-width: 650px) {
    .title {
        max-width: 320px;
        margin-top: 8px;
    }
    
    header {
        height: 170px;
        padding: 15px;
    }
    
    .subTitle {
        font-size: 20px;
    }
    
    .sword, .sword2 {
        right: 10px;
        height: 140px;
    }
    
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        padding: 10px 0;
    }
    
    nav ul li a {
        font-size: 14px;
        padding: 5px 8px;
        white-space: nowrap;
    }
    
    main {
        width: 95%;
        padding: 15px 10px;
        margin-top: 180px;
    }
    
    section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    /* Two-column layout for this size */
    .product-container, .product-container1, .product-container2 {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px !important;
        margin: 20px 0 !important;
    }
    
    .product-card, .product-card1, .product-card2 {
        width: calc(50% - 10px) !important;
        max-width: 250px !important;
        min-width: 200px !important;
        margin: 5px !important;
        padding: 18px 12px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    .P1 {
        width: 100% !important;
        height: auto !important;
        max-width: 200px !important;
    }
    
    .BN {
        width: 70%;
        margin: 20px auto;
    }
    
    /* Settings menu adjustments for tablets */
    .settings-menu {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
        min-width: 250px !important;
        max-width: 90vw !important;
        z-index: 9999 !important;
    }
    
    .settings-menu.active {
        transform: translate(-50%, -50%) !important;
    }
    
    .settings-icon-btn {
        font-size: 14px !important;
        padding: 6px 8px !important;
    }
    
    /* Hide some decorative elements */
    .lighting, .bat, .alien, .us, .scatter1, .scatter2, .scatter3, .scatter4, .scatter5, .scatter6 {
        display: none;
    }
    
    /* Hide vertical scrolling text on small tablets */
    .vertical-scroll-text {
        display: none;
    }
    
    .vertical-scroll-text-right {
        display: none;
    }
    
    /* Medium tablet scrolling images adjustments */
    .scrolling-container {
        margin: 200px 0 0 0;
        padding: 25px 0 0 0;
        --image-size: 200px;
        --image-gap: 20px;
    }
    
    .scroll-img {
        border: none;
    }
    
    .scrolling-images {
        animation-duration: 28s;
        padding: 0 16px;
    }
    
    /* Flying promo adjustments for small tablets */
    .flying-promo {
        width: 350px;
        height: 350px;
        right: -450px;
    }
    
    .promo-text {
        font-size: 22px;
        bottom: -35px;
    }
    
    .promo-link::before {
        top: -18px;
        left: -18px;
        right: -18px;
        bottom: -18px;
    }
}
