/* GLOBAL */
body {
    background: #fdf7c3;
    font-family: "Poppins", sans-serif;
    margin-top: 6%!important;
}
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.navbar-brand {
    font-size: 1.5rem;
    color: #ffcb05 !important;
}

.nav-link {
    font-size: 1.1rem;
}
  .navbar-nav .nav-item {
    margin-left: 20px; /* adjust spacing */
    margin-right: 20px;
    /*  font-family: 'Courier New', Courier, monospace;*/
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif
  }


.hero-logo {
    width: 180px;
}

.title {
    font-size: 3rem;
    font-weight: bold;
    color: #ffcb05;
}

.subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
}
.coming-soon-badge {
    font-size: 0.5rem;        /* Smaller */
    color: #dc3545;           /* Bootstrap danger color */
    font-weight: bold;
    position: absolute;
    top: 0;                   /* Top-right of the parent */
    right: 0;
}

.no-click {
    pointer-events: none;     /* Makes link truly unpressable */
}
/* Glow + Zoom Animation on Hover */
.navbar .nav-link {
    position: relative;
    transition: all 0.3s ease;
}

/* Main Hover Effect */
.navbar .nav-link:hover:not(.disabled) {
    color: #ffc107 !important; /* yellow glow color */
    transform: scale(1.08);
    text-shadow: 0 0 8px rgba(255, 193, 7, 0.8),
                 0 0 15px rgba(255, 193, 7, 0.5);
}

/* Disabled items: still animate but remain unclickable */
.navbar .nav-link.disabled {
    pointer-events: none;
    opacity: 0.7;
}

/* Allow hover animation on disabled items too */
.navbar .nav-link.disabled:hover {
    transform: scale(1.05);
    text-shadow: 0 0 6px rgba(255, 193, 7, 0.8),
                 0 0 12px rgba(255, 193, 7, 0.4);
    color: #ffc107 !important;
}
/* Match dropdown to the yellow button */
.dropdown-menu {
    background-color: #ffcb05 !important;      /* same yellow as button */
    border: none !important;
    border-radius: 10px !important;            /* rounded like the button */
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: fadeIn 0.15s ease-out;
    
}

/* Dropdown items */
.dropdown-item {
    font-weight: bold;
    color: #5a4200 !important;                 /* readable dark gold-brown */
    padding: 10px 18px;
    transition: all 0.25s ease;
    font-family: "Poppins", sans-serif;
}

/* Hover glow effect similar to nav links */
.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
    transform: scale(1.05);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

/* Divider matches theme */
.dropdown-divider {
    border-top: 2px solid rgba(255, 255, 255, 0.4) !important;
}

/* Fade animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Disable dropdown items */
.dropdown-item.disabled,
.dropdown-item.no-click {
    pointer-events: none !important;
    opacity: 0.6;
    position: relative;
}

/* "Coming Soon" badge inside dropdown */
.dropdown-coming-soon {
    font-size: 0.55rem;
    color: #dc3545;  /* Bootstrap danger red */
    font-weight: bold;
    margin-left: 8px;
}

  /* Hero section stays above video */
.d-flex {
    display: flex;
    align-items: stretch; /* Make hero match height of announcements */
}

/* Announcements column */
.announcements {
    flex: 1; /* Takes remaining space */
    max-width: 50%; /* Optional: restrict width */
    padding-right: 20px;
}
.hero {
    position: fixed; /* Not fixed anymore to match height */
    left:50%;
    width: 50%; /* Same as left column */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0px;
}
/* Hero column */
@media (max-width: 1000px) {
    
.hero {
       
        position: relative !important;  /* Force relative */
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
}
    
}


/* Mobile View (max-width: 768px) */
@media (max-width: 768px) {
    
    
    /* Dropdown Menu should take full width on mobile for better readability */
    .navbar-nav .nav-item .dropdown-menu {
        width: 100%;  /* Full width on mobile */
        border-radius: 0; /* No rounded corners to avoid clipping */
        box-shadow: none; /* Remove box-shadow to prevent it from looking bulky */
    }

    /* Dropdown items should be larger and easier to tap */
    .dropdown-item {
        padding: 12px 16px; /* Increase padding for better tap area */
        font-size: 1rem; /* Increase font size for better readability */
    }

    /* Add slight space around the dropdown items for better accessibility */
    .navbar-nav .nav-item {
        margin: 0 12px; /* Add space between items */
    }

    /* Make the toggle button (hamburger) more prominent */
    .navbar-toggler {
        font-size: 1.5rem;  /* Larger toggle icon */
    }

    /* Adjust text of the navbar links for better legibility */
    .nav-link {
        font-size: 1.2rem;  /* Increase font size */
        padding: 12px 16px; /* Larger clickable area */
    }

    /* Mobile specific: Add a small shadow on hover for the dropdown items */
    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.3);
        color: #fff !important;
        text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    }

    /* Center-align the navbar items */
    .navbar-collapse {
        text-align: center; /* Center navbar items on mobile */
    }

   
    /* Adjust the text inside the hero section */
    .hero h1, .hero p {
        font-size: 1.5rem; /* Adjust font size for mobile */
    }
}

/* For very small screens (max-width: 480px) */
@media (max-width: 480px) {
    .dropdown-item {
        padding: 12px 14px; /* Slightly smaller padding for smaller screens */
        font-size: 0.9rem; /* Adjust text size */
    }

    .nav-link {
        font-size: 1rem; /* Reduce text size */
    }

    .navbar-nav .nav-item {
        margin: 0 8px;  /* Less margin on very small screens */
    }
   
}
 

/* Adjust dropdown animations to ensure smooth opening */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Adding smooth dropdown animation to mobile view */
.dropdown-menu {
    animation: fadeIn 0.3s ease-out; /* Ensure smooth dropdown animation */
}



.hero.fade-out {
    opacity: 0;
}

.hero-video {
    position: fixed;
    top: 0px;          /* missing px fixed */
    left: -450px;
    width: 150px;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: slideCycle 9s ease-in-out infinite; /* ← LOOP ADDED */
    mix-blend-mode: multiply;
}

/* Full cycle: 3.5s in → 7s stay → 3.5s out */
@keyframes slideCycle {
    0%   { left: -450px; opacity: 1; }   
    20%  { left: 0; opacity: 1; }        
    20%  { left: 0; opacity: 1; }        
    100% { left: -450px; opacity: 1; }   
}

.launch-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900; /* BELOW Bootstrap modal (1050) */
    cursor: pointer;
}


.launch-btn img {
    width: 230px;
    animation: pulseBlink 2s infinite ease-in-out;
    transition: transform 0.25s ease, filter 0.25s ease;
}

/* Hover effect: bigger + yellow glow */
.launch-btn img:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 12px rgba(255, 220, 0, 0.9))
            drop-shadow(0 0 20px rgba(255, 220, 0, 0.7));
}

/* Pulsing zoom + blink */
@keyframes pulseBlink {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}





@keyframes pulseBlink {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}


.floating-sidebar {
    position: fixed;
    top: 50%;
    right: 50% !important;
    right: 20px;       /* Adjust distance from right */
    transform: translateY(-50%);
    z-index: 1!important;    /* Very high so it appears on top */
}

.floating-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.floating-menu li {
    margin-bottom: 12px;
}

.floating-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.25s;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.floating-item img:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 18px rgba(0,0,0,0.55);
}

/* INDEX------------------------------------------------------------------------------- */
 body {
            background-color: #f8f9fa;
        }
        .hero-logo {
            max-width: 200px;
            margin-bottom: 20px;
        }
        .announcement-card {
            margin-bottom: 20px;
        }
        .floating-sidebar {
            position: fixed;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            z-index: 999;
        }
        .floating-menu li {
            list-style: none;
            margin: 10px 0;
        }
        .floating-menu img {
            width: 40px;
            height: 40px;
        }
       .chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #131313;
    color: #f7d046;
    padding: 10px 14px;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(247,208,70,0.4);
    z-index: 9999;
}

.chat-toggle .badge {
    background: #f7d046;
    color: #000;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    margin-left: 6px;
}

  .coin {
    position: absolute;
    font-size: 42px;
    animation: floatUp 3s ease-out forwards;
}

@keyframes floatUp {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-80px); }
}
.farm-popup {
    position: fixed;
    bottom: 150px;
    right: 100px;
    background: #131313;
    color: #f7d046;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(247,208,70,0.4);
    padding: 20px;
    z-index: 99999;
    width: 250px;
    text-align: center;
    animation: popupShow 0.3s ease-out forwards;
}

.farm-popup-content p {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0;
}

.farm-popup-coin {
    width: 50px;
    margin-bottom: 10px;
}

#farmPopupClose {
    background: #f7d046;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: bold;
}

@keyframes popupShow {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.d-none {
    display: none !important;
}

    .farm-fixed {
    position: fixed;
    bottom: 30px;
    right: 100px;
    background: #131313;
    color: #f7d046;
    padding: 10px 14px;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(247,208,70,0.4);
    z-index: 9999;
}
.farm-fixed2 {
    position: fixed;
    bottom: 80px;
    right: 100px;
    background: #131313;
    color: #f7d046;
    padding: 10px 14px;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(247,208,70,0.4);
    z-index: 9999;
}

    .chat-box {
    position: fixed;
    right: 15px;
    bottom: 80px;
    width: 280px;
    height: 380px;
    background: #f2ff03ad;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(255,193,7,.4);
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 10px;
    background: #ffc107;
    color: #000;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.chat-users {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.chat-users div {
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #222;
}

.chat-users div:hover {
    background: rgba(255,255,255,.05);
}

.chat-messages {
    height: 260px;
    overflow-y: auto;
    padding: 10px;
    font-size: 13px;
}

.chat-input {
    display: flex;
}

.chat-input input {
    flex: 1;
    padding: 8px;
    border: none;
}

.chat-input button {
    background: #ffc107;
    border: none;
    padding: 8px 12px;
}

.coming-soon {
    position: relative;
    
    opacity: 0.7; /* make it look disabled */
}

.coming-soon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
}
/* Glow effect on hover */
.launch-img {
    transition: filter 0.3s ease, transform 0.3s ease;
}
.launch-img:hover {
    filter: drop-shadow(0 0 10px yellow) drop-shadow(0 0 20px yellow);
    transform: scale(1.05);
}
 .mingming-ca-float {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffb347, #ffcc33, #7cffcb);
    color: #222;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mingming-ca-float:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.mingming-ca-float .label {
    background: #fff;
    color: #ff9800;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}

.mingming-ca-float #ca-text {
    max-width: 380px;
    
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: monospace;
}

.mingming-ca-float .copy {
    font-size: 16px;
}

