@import url('root.css');

/* 2. Global Styles */
body {
    margin: 0;
    padding: 5px;
    background-color: var(--body-bg);
    color: white;
    font-family: var(--body-font);
    overflow-x: hidden;
}

/* Layout Header */
/* Navbar Fix */
.navbar {
    display: flex;
    justify-content: space-between;
    /* Logo left, Menu right */
    align-items: center;
    padding: 12px 3%;
    background: var(--body-bg);
    border-bottom: 1px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* BooyahPool Dynamic Logo */
.logo-box {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: var(--name-font);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.logo-img {
    height: 24px;
    width: 100px;
    object-fit: contain;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.logo-accent {
    color: var(--white);
    font-size: 24px;
    font-family: var(--logo-font);
    font-style: italic;
    position: relative;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    outline: none;
}

.logo-box:hover .logo-accent {
    color: var(--white);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 25px rgba(255, 204, 45, 0.4);
    transform: scale(1.05);
}

/* Hover Effect for Image */
.logo-box:hover .logo-img {
    filter: brightness(1.2);
    transform: translateY(-1px);
    outline: none;
}

.logo-box:active, .logo-img:active {
    outline: none;
    border: none;
}

/* --- Premium Menu Toggle --- */
#nav-wrapper {
    position: relative;
}

/* Menu Toggle Button */
.menu-toggle {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 92, 246, 0.2);
    width: 40px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #fff;
    font-size: 24px;
}

.menu-toggle:active {
    transform: scale(0.9);
}

/* Dropdown Glass Box */
.nav-links {
    display: none;
    position: absolute;
    top: 65px;
    right: 0;
    background: rgba(10, 10, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    width: 260px;
    padding: 15px;
    flex-direction: column;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    z-index: 10000;
    backdrop-filter: blur(25px);
    transform-origin: top right;
    /* Animation point */
}

/* --- NEW ANIMATION: Scale & Blur Reveal --- */
.nav-links.active {
    display: flex;
    animation: eliteReveal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.menu-header {
    font-size: 10px;
    color: #444;
    font-weight: 900;
    letter-spacing: 2px;
    margin: 5px 0 15px 15px;
}

.nav-links a {
    color: #ccc;
    padding: 15px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px;
    transition: 0.3s;
    margin-bottom: 4px;
}

.link-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.link-main i {
    color: var(--primary);
    font-size: 16px;
}

/* Badge Style */
.m-badge {
    font-size: 8px;
    font-weight: 900;
    color: #000;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: scale(1.02);
}

@keyframes eliteReveal {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(-20px);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}


/* Footer Container - Matching Site Look */
.ff-footer {
    position: relative;
    text-align: center;
    padding: 40px 10px;
    background: var(--body-bg);
    /* Dark Match */
    border-top: 1px dashed var(--gray);
    color: var(--gray);
}

.footer-logo img {
    height: 24px;
    margin-bottom: 20px;
    filter: brightness(0.9);
}

.copyright-text {
    font-size: 10px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Links in One Row */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    /* Spacing between links */
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 12px;
    border-bottom: 1px dashed var(--gray);
    padding-bottom: 1px;
    white-space: nowrap;
    /* Ensures they stay in one line */
}

.footer-links a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* Small Floating Back to Top Button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 35px;
    height: 35px;
    background: var(--gray);
    border: none;
    border-radius: 50%;
    color: var(-white);
    font-size: 14px;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.back-to-top:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.last-update-box {
    font-size: 11px;
    color: var(--gray);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: left;
    justify-content: left;
    gap: 5px;
}

#update-timestamp {
    color: var(--primary);
    font-weight: bold;
}

/* Skeleton Loading Effect */
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton {
    background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
    background-size: 200% 100%;
}


.skeleton-card {
    height: 100px;
    width: 100%;
}

.skeleton-text {
    height: 20px;
    width: 80%;
}

.hr-tactical {
    border: none;
    height: 1px;
    background: rgba(255, 204, 45, 0.3);
    position: relative;
    margin: 50px 0;
    overflow: visible;
}

.hr-tactical::after {
    content: "◆";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--body-bg);
    padding: 0 10px;
    color: var(--primary);
    font-size: 14px;
    text-shadow: 0 0 8px var(--primary);
}

