html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #0D1B36;
    background-position: left top;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding-top: 50px;
    margin-top: 0;
    color: #ffffff;
}

p, span, div, h1, h2, h3, h4, h5, h6, li, td, th, label, input, textarea, select, option, button, a {
    color: #ffffff;
}

.text-muted, .text-secondary, .text-dark {
    color: #d1d1d1 !important;
}

.content {
    margin-top: 0;
    margin-bottom: 2rem;
    flex: 1 0 auto;
    padding: 2rem 0;
    padding-bottom: 3rem;
}

a {
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    color: #ffffff;
}

.home-header {
    position: relative;
    height: calc(100vh - 140px);
    min-height: 450px;
    margin-top: 0;
    padding-top: 70px;
    margin-bottom: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.home-header-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, rgba(13, 27, 54, 0.7) 40%, rgba(13, 27, 54, 0.9) 70%, #0D1B36 100%);
    z-index: 2;
}

.navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1031;
}

.navbar-top {
    background-color: var(--theme-topbar-color, #3b99e0);
    background-image: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(0, 0, 0, 0.1) 100%);
    color: #ffffff;
    height: 50px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1031;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    animation: slideDownNavbar 0.8s ease-out forwards;
}

.navbar-glass {
    background-color: #3b99e0;
    background-image: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(0, 0, 0, 0.05) 100%);
    border-radius: 12px;
    margin: 0 auto;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    max-width: 60%;
    left: 0;
    right: 0;
    padding: 10px 0;
    position: fixed;
    top: 50px;
    z-index: 1030;
    transition: all 0.3s ease;
    margin-top: 20px;
    animation: slideInNavbar 1.2s ease-out forwards;
}

.navbar-glass .navbar-nav .nav-item {
    opacity: 0;
    animation: popIn 0.6s ease-out forwards;
}

.navbar-glass .navbar-nav .nav-item:nth-child(1) {
    animation-delay: 0.3s;
}

.navbar-glass .navbar-nav .nav-item:nth-child(2) {
    animation-delay: 0.4s;
}

.navbar-glass .navbar-nav .nav-item:nth-child(3) {
    animation-delay: 0.5s;
}

.navbar-glass .navbar-nav .nav-item:nth-child(4) {
    animation-delay: 0.6s;
}

.navbar-glass .navbar-nav .nav-item:nth-child(5) {
    animation-delay: 0.7s;
}

.navbar-glass .navbar-nav .nav-item:nth-child(6) {
    animation-delay: 0.8s;
}


.navbar-glass .user-avatar-link,
.navbar-glass .btn-shop {
    opacity: 0;
    animation: popIn 0.6s ease-out forwards;
    animation-delay: 0.9s;
}

.navbar-cartoon {
    border: 2px solid #ffffff;
    border-radius: 10px;
    position: relative;
}

.btn-shop {
    display: inline-block;
    background-color: #FF6B00;
    background-image: linear-gradient(to bottom, 
        #FF8A30 0%, 
        #FF6B00 50%, 
        #E05C00 100%);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: 6px 15px;
    border-radius: 12px;
    border: 3px solid #ffffff;
    box-shadow: 
        0 4px 0 #C95000,
        0 5px 10px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    text-shadow: 0 -2px 0 rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    position: relative;
    top: 0;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    overflow: hidden;
    margin-top: 3px;
}

.btn-shop::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    filter: blur(5px);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% {
        left: -60%;
    }
    40%, 100% {
        left: 130%;
    }
}

.btn-shop:hover {
    background-image: linear-gradient(to bottom, 
        #FFAA50 0%, 
        #FF7D1F 50%, 
        #FF6B00 100%);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 0 #C95000,
        0 7px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn-shop:active {
    top: 4px;
    box-shadow: 
        0 0 0 #C95000,
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background-image: linear-gradient(to bottom, 
        #E35C00 0%, 
        #FF6B00 100%);
}

.navbar .nav-item {
    margin-left: 0.2rem;
    margin-right: 0.2rem;
}

.navbar .nav-item .nav-link {
    --bs-nav-link-color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 1.1rem;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.navbar .nav-item .nav-link:hover {
    transform: translateY(-2px);
}

.navbar .nav-item .nav-link.active {
    color: #ffffff;
}

.navbar .nav-item .dropdown-toggle::after {
    border-top: 0.3em solid #ffffff;
}

.user-avatar-link {
    display: flex;
    align-items: center;
    padding: 5px;
}

.user-avatar-link img {
    border: 2px solid #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.user-avatar-link:hover img {
    transform: scale(1.1);
}

.site-logo {
    max-height: 250px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    animation: logo-pulse 3s infinite ease-in-out;
    pointer-events: none; 
}

.home-page .site-logo {
    animation: logo-pulse 3s infinite ease-in-out !important;
}

@keyframes logo-pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    }
    50% {
        transform: scale(1.03);
        filter: drop-shadow(0 0 15px rgba(59, 153, 224, 0.7));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    }
}

.home-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.home-button {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 10px;
    border: 2px solid white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

.home-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.home-button:hover {
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.home-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

.home-ip-button-container {
    position: relative;
    margin: 5px;
    display: inline-block;
}

.home-ip-button {
    background-color: #FF6B00;
    background-image: linear-gradient(to bottom, 
        #FF8A30 0%, 
        #FF6B00 50%, 
        #E05C00 100%);
    color: white;
    font-weight: bold;
    border-radius: 10px;
    border: 2px solid white;
    padding: 10px 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
}

.home-ip-button::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    filter: blur(5px);
    animation: shine 4s infinite;
}

.home-ip-button:hover {
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.home-ip-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

.home-ip-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.home-ip-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-ip-address {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.home-ip-players {
    position: absolute;
    top: -8px;
    right: -8px;
    left: auto;
    z-index: 5;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    background-color: #151515;
    padding: 2px 8px;
    border-radius: 20px;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.home-ip-copied {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: copy-pulse 0.5s ease-in-out;
}

@keyframes copy-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.online-dot, .offline-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
}

.online-dot {
    background-color: #28a745;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.8);
}

.offline-dot {
    background-color: #dc3545;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.8);
}

@media (max-width: 576px) {
    .home-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .home-button, .home-ip-button-container {
        width: 100%;
        margin: 5px 0;
    }
    
    .home-ip-button {
        width: 100%;
    }
}

body:not(.home-page) .content {
    margin-top: 7rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
}

.footer-cartoon {
    position: relative;
    margin: 3rem auto 2rem;
    width: 95%;
    max-width: 1920px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.footer-main {
    background-color: #3b99e0;
    background-image: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(0, 0, 0, 0.05) 100%);
    color: #ffffff;
    padding: 2rem 4rem;
    position: relative;
    border: 2px solid #ffffff;
    border-radius: 10px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    color: #ffffff;
}

.footer-divider {
    height: 3px;
    width: 50px;
    background-color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 1;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #2c3e50;
    border: 2px solid #3498db;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.4);
}

.social-icon::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
}

.social-icon:hover {
    transform: translateY(-5px);
    color: #ffffff;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.4);
    background-color: #3498db;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    display: block;
    padding: 0.5rem 0;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.2rem;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

.footer-link-bullet {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--bs-primary, var(--theme-topbar-color, #3b99e0));
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-link:hover {
    transform: translateX(5px);
    color: #ffffff;
}

.footer-link:hover .footer-link-bullet {
    transform: translateY(-50%) scale(1.3);
}

.raven-link {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-block;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.raven-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.footer-separator {
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    margin: 0 10px;
    position: relative;
    top: -3px;
}

.btn {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--bs-primary, var(--theme-topbar-color, #3b99e0));
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--bs-primary, var(--theme-topbar-color, #3b99e0));
    filter: brightness(110%);
}

.container {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
}

.news-section-title {
    margin-top: 2rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.news-section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--bs-primary, var(--theme-topbar-color, #3b99e0));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.card {
    background-color: #162441;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
}

.card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.card-body {
    padding: 1.2rem 1.2rem 1.5rem 1.2rem;
}

.card-text {
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.card a {
    color: #ffffff;
    text-decoration: none;
}

.card-img-top {
    height: 180px;
    object-fit: cover;
}

.discord-section {
    margin-top: 4rem;
    margin-bottom: 1rem;
}

.discord-container {
    background-color: #162441;
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 1400px;
    margin: 0 auto;
}

.discord-container:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.discord-container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.02);
    z-index: 0;
}

.discord-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.discord-wumpus {
    text-align: center;
    flex-shrink: 0;
}

.wumpus-gif {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

.discord-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.discord-divider {
    width: 60px;
    height: 3px;
    background-color: #5865F2;
    margin-bottom: 1.5rem;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.discord-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 1;
    color: #ffffff;
}

.discord-button {
    display: inline-block;
    background-color: #5865F2;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.discord-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
    background-color: #4752C4;
    color: #ffffff;
}

.discord-stats {
    position: relative;
    z-index: 1;
}

.discord-stat-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: none;
    transition: all 0.3s ease;
    height: 100%;
}

.discord-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
}

.discord-stat-icon {
    font-size: 1.8rem;
    margin-right: 1rem;
    color: #ffffff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(59, 153, 224, 0.2);
    border-radius: 8px;
    flex-shrink: 0;
}

.discord-stat-content {
    color: #ffffff;
}

.discord-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
    color: #ffffff;
}

.discord-stat-name {
    font-size: 0.9rem;
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.join-section {
    margin-top: 4rem;
    margin-bottom: 1rem;
}

.join-container {
    background-color: #162441;
    background-image: linear-gradient(to right, #162441, #162441);
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.join-container:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.join-container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.02);
    z-index: 0;
}

.join-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    padding-right: 2rem;
}

.join-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-transform: uppercase;
}

.join-divider {
    width: 60px;
    height: 3px;
    background-color: #5865F2;
    margin-bottom: 1.5rem;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.join-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 1;
    color: #ffffff;
}

.join-action {
    margin-bottom: 1.5rem;
}

.join-copy-ip {
    display: inline-block;
    background-color: #5865F2;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.join-copy-ip:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
    background-color: #4752C4;
    color: #ffffff;
}

.join-copy-ip:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.join-copy-ip i {
    font-size: 1.2rem;
}

.join-server-info {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.server-info-box {
    background-color: rgba(59, 153, 224, 0.2);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.join-tutorial-header {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(88, 101, 242, 0.2);
    padding-bottom: 0.7rem;
}

.join-tutorial-header h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.server-info-item {
    margin-bottom: 0.7rem;
}

.server-info-item:last-child {
    margin-bottom: 0;
}

.server-info-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
    color: #ffffff;
    font-weight: 600;
}

.server-info-container {
    display: flex;
    align-items: center;
    background-color: #162441;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding-right: 4px;
    margin-bottom: 0.5rem;
}

.server-info-value {
    flex-grow: 1;
    padding: 10px 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.dropdown-menu {
    background-color: #162441;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    margin-top: 0.5rem;
    min-width: 200px;
    animation: dropdown-fade 0.2s ease-in-out;
    transform-origin: top center;
}

@keyframes dropdown-fade {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    color: #ffffff;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 2px;
}

.dropdown-item:hover {
    background-color: rgba(59, 153, 224, 0.2);
    color: #ffffff;
    transform: translateX(5px);
}

.dropdown-item:active {
    background-color: rgba(59, 153, 224, 0.4);
}

.dropdown-item.active {
    background-color: var(--bs-primary, var(--theme-topbar-color, #3b99e0));
    color: #ffffff;
}

.dropdown-item i {
    margin-right: 8px;
    font-size: 1.1rem;
    vertical-align: -2px;
    color: #ffffff;
}

.dropdown-item:hover i {
    animation: icon-bounce 0.4s ease;
}

@keyframes icon-bounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-3px);
    }
    75% {
        transform: translateX(2px);
    }
}

.navbar .dropdown-menu {
    border-top: 3px solid var(--bs-primary, var(--theme-topbar-color, #3b99e0));
}

.navbar .nav-item .dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.navbar .nav-item.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    pointer-events: none;
}

.stats-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

.stat-card {
    background-color: #162441;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    background-color: rgba(59, 153, 224, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.stat-icon::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(59, 153, 224, 0.3);
    animation: pulse-border 2s infinite;
    z-index: -1;
}

@keyframes pulse-border {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    font-weight: 600;
}

.quicksand-font {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.1rem;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(13, 27, 54, 0.8);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #3b99e0, #2a7cb8);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #4aabf2, #3b99e0);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #3b99e0 rgba(13, 27, 54, 0.8);
}

.server-info-copy {
    background-color: #5865F2;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100% - 8px);
    min-width: 36px;
    border-radius: 6px;
    margin-right: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.server-info-copy::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
}

.server-info-copy:hover {
    background-color: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.server-info-copy:active {
    background-color: #3A45B4;
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.server-info-copy i {
    font-size: 1rem;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

@keyframes shine-vote {
    0% {
        left: -60%;
    }
    40%, 100% {
        left: 130%;
    }
}

.navbar .navbar-collapse.justify-content-center .navbar-nav {
    gap: 1rem;
}

.navbar .navbar-collapse .navbar-nav.position-absolute {
    top: 50%;
    transform: translateY(-50%);
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInNavbar {
    0% {
        transform: translateX(-100%) scale(0.9);
        opacity: 0;
    }
    60% {
        transform: translateX(5%) scale(1);
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideDownNavbar {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.home-page .home-header {
    animation: fadeIn 1s ease-out;
}

.home-page .home-buttons {
    animation: fadeIn 1.2s ease-out 0.6s both;
}

.navbar-top {
    animation: slideDownNavbar 0.8s ease-out forwards;
}

.navbar-glass {
    animation: slideInNavbar 1.2s ease-out forwards;
}

.vote-btn {
    display: inline-block;
    background-color: var(--bs-primary, var(--theme-topbar-color, #3b99e0));
    background-image: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(59, 153, 224, 0.05) 100%);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    border: 2px solid rgba(150, 200, 255, 0.4);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(59, 153, 224, 0.3);
    position: relative;
    overflow: hidden;
}

.vote-btn::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(150, 200, 255, 0.4);
    transform: rotate(30deg);
    filter: blur(5px);
    animation: shine-vote 4s infinite;
}

@keyframes shine-vote {
    0% {
        left: -60%;
    }
    40%, 100% {
        left: 130%;
    }
}

.vote-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(59, 153, 224, 0.4);
    filter: brightness(110%);
    color: #ffffff;
}

.vote-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 3px rgba(59, 153, 224, 0.2);
}

.vote-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--bs-primary, var(--theme-topbar-color, #3b99e0)), #5aadff);
    color: #ffffff !important;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    min-width: 50px;
    box-shadow: 0 3px 6px rgba(59, 153, 224, 0.3);
    border: 2px solid rgba(150, 200, 255, 0.4);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.vote-count::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(150, 200, 255, 0.3), transparent);
    pointer-events: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
    animation: scrollIndicator 2s ease-in-out infinite;
    cursor: pointer;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #ffffff;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    position: relative;
    margin: 0 auto;
}

.scroll-mouse::before {
    content: '';
    width: 6px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 3px;
    position: absolute;
    top: 10px;
    animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-text {
    color: #ffffff;
    font-size: 0.9rem;
    margin-top: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    font-weight: 600;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(15px);
    }
}

@keyframes scrollIndicator {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-in {
    transform: translateY(30px);
}

.animate-scale-in {
    transform: scale(0.9);
}

.animate-slide-left {
    transform: translateX(-50px);
}

.animate-slide-right {
    transform: translateX(50px);
}

.animate-on-scroll.animate-active {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.animate-fade-in.animate-active {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-scale-in.animate-active {
    animation: scaleIn 0.8s ease-out forwards;
}

.animate-slide-left.animate-active {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-right.animate-active {
    animation: slideInRight 0.8s ease-out forwards;
}

.join-section.animate-on-scroll .join-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.join-section.animate-active .join-content {
    opacity: 1;
    transform: translateY(0);
}

.join-section.animate-on-scroll .server-info-box {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out 0.5s, transform 0.6s ease-out 0.5s;
}

.join-section.animate-active .server-info-box {
    opacity: 1;
    transform: translateY(0);
}

.stats-section .stat-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.stats-section.animate-active .stat-card:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.stats-section.animate-active .stat-card:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.stats-section.animate-active .stat-card:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.discord-section .discord-content,
.discord-section .discord-wumpus,
.discord-section .discord-stats .discord-stat-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.discord-section.animate-active .discord-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.discord-section.animate-active .discord-wumpus {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.discord-section.animate-active .discord-stats .discord-stat-card:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.discord-section.animate-active .discord-stats .discord-stat-card:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.discord-section.animate-active .discord-stats .discord-stat-card:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.discord-section.animate-active .discord-stats .discord-stat-card:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

@media (max-width: 768px) {
    .navbar-glass {
        max-width: 90%;
        border-radius: 12px;
    }
    
    .navbar .navbar-collapse .navbar-nav.position-absolute {
        position: static !important;
        width: 100%;
        margin-top: 1rem;
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin: 0.3rem 0;
    }
    
    .dropdown-menu {
        background-color: rgba(22, 36, 65, 0.95);
        text-align: center;
        margin: 0.5rem auto;
        width: 90%;
        border: 2px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    .dropdown-item {
        padding: 0.7rem;
        margin-bottom: 0.3rem;
        border-radius: 8px;
    }
    
    .dropdown-item:hover {
        background-color: rgba(59, 153, 224, 0.2);
    }
    
    .btn-shop {
        display: block;
        margin: 0.5rem auto;
    }

    .footer-title, .footer-description, .footer-links-list {
        text-align: center;
    }
    
    .footer-divider {
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-main .row.mt-4 .col-md-6 {
        text-align: center !important;
        margin-bottom: 0.5rem;
    }
    
    .footer-cartoon {
        border-radius: 12px;
        margin: 3rem auto 2rem;
        width: 95%;
    }
    
    .footer-main {
        padding: 2rem 1rem;
    }
    
    .footer-links-list li {
        text-align: center;
    }
    
    .footer-link {
        display: inline-block;
        padding: 0.5rem 1rem;
        margin: 0.2rem 0;
    }
}

@media (max-width: 576px) {
    .navbar-top {
        font-size: 0.8rem;
        text-align: center;
    }
    
    body:not(.home-page) .content {
        margin-top: 2rem;
    }
    
    .navbar-toggler {
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
    
    .footer-link-bullet {
        display: none;
    }
    
    .footer-description {
        padding: 0 1rem;
    }
    
    .footer-main .row.mt-4 {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .navbar-collapse {
        background-color: rgba(22, 36, 65, 0.95);
        border-radius: 10px;
        padding: 1rem;
        margin-top: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        border: 2px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.7rem;
        margin: 0.3rem 0;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-align: center;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: rgba(59, 153, 224, 0.2);
    }
    
    .navbar .navbar-collapse .navbar-nav.position-absolute {
        margin-bottom: 1rem;
    }
}

@media (max-width: 991px) {
    .footer-title {
        text-align: center;
        display: block;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-divider {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-about, .footer-social, .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 767.98px) {
    body:not(.home-page) .content {
        margin-top: 120px;
        padding-top: 1.5rem;
        padding-bottom: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .container {
        padding-bottom: 1.5rem;
    }
    
    .join-container {
        padding: 1.5rem;
    }
    
    .join-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .join-title {
        font-size: 1.7rem;
        text-align: center;
    }
    
    .join-divider {
        margin-left: auto;
        margin-right: auto;
    }
    
    .join-description {
        text-align: center;
    }
    
    .join-action {
        text-align: center;
    }
    
    .server-info-box {
        max-width: 100%;
    }
    
    .discord-container {
        padding: 1.5rem;
    }
    
    .discord-title {
        font-size: 1.7rem;
        text-align: center;
    }
    
    .discord-divider {
        margin-left: auto;
        margin-right: auto;
    }
    
    .discord-description {
        text-align: center;
    }
    
    .discord-content {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .discord-wumpus {
        margin-top: 0 !important;
        margin-bottom: 2rem;
    }
    
    .wumpus-gif {
        max-width: 150px;
    }
    
    .stats-section .row {
        justify-content: center;
    }
    
    .stats-section .col-md-4 {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .discord-stats .row {
        justify-content: center;
    }
    
    .discord-stats .col-6 {
        width: 80%;
        max-width: 250px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    body:not(.home-page) .content {
        margin-top: 100px;
        padding-bottom: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 1.5rem;
    }
    
    .discord-stat-card, .stat-card {
        margin-bottom: 1rem;
    }
    
    .discord-button {
        width: 100%;
        text-align: center;
    }
    
    .join-copy-ip {
        width: 100%;
        text-align: center;
    }
}

.form-control, .form-select {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-control:focus, .form-select:focus {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(59, 153, 224, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(59, 153, 224, 0.25);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.card-body, .modal-body, .alert, .list-group-item {
    color: #ffffff;
}

.row.gy-4 {
    --bs-gutter-y: 1.5rem;
}

.card .text-end {
    margin-bottom: 0;
    padding-bottom: 0;
}

.card .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    margin-top: -0.2rem;
}

.card .text-end {
    margin-bottom: 0;
    padding-bottom: 0;
    line-height: 1;
}

.mobile-user-menu {
    padding-top: 10px;
    margin-top: 10px !important;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-weight: 600;
}

.mobile-user-info img {
    border: 2px solid #ffffff;
    margin-right: 10px;
}

.mobile-user-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-nav-buttons {
    margin-bottom: 10px;
}

.mobile-nav-link {
    display: inline-block;
    color: #ffffff !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1rem;
    padding: 8px 16px !important;
    margin: 0 !important;
}

.mobile-dropdown-item {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 80%;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.mobile-dropdown-item:hover {
    background-color: rgba(59, 153, 224, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
}

.mobile-dropdown-item i {
    margin-right: 8px;
}

.cartoon-toggler {
    border: 2px solid #ffffff !important;
    border-radius: 10px !important;
    padding: 6px 10px;
    background-color: rgba(59, 153, 224, 0.4);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.cartoon-toggler:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.2);
}

.cartoon-toggler:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.cartoon-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 767.98px) {
    .navbar-collapse {
        background-color: rgba(22, 36, 65, 0.95);
        border-radius: 10px;
        padding: 0.8rem;
        margin-top: 0.8rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        border: 2px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem;
        margin: 0.2rem 0;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-align: center;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background-color: rgba(59, 153, 224, 0.2);
    }
    
    .navbar .navbar-collapse .navbar-nav.position-absolute {
        margin-bottom: 0.5rem;
    }
}

.mobile-user-icon, .mobile-shop-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1032;
}

.mobile-avatar-link {
    padding: 5px !important;
    margin: 0 !important;
}

.mobile-avatar-link img, .mobile-avatar-link i {
    border: 2px solid #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.mobile-avatar-link:hover img, .mobile-avatar-link:hover i {
    transform: scale(1.1);
}

.mobile-nav-link i {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover i {
    transform: scale(1.1);
}

.btn-shop-mobile {
    display: inline-block;
    background-color: #FF6B00;
    background-image: linear-gradient(to bottom, 
        #FF8A30 0%, 
        #FF6B00 50%, 
        #E05C00 100%);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: 6px;
    border-radius: 12px;
    border: 3px solid #ffffff;
    box-shadow: 
        0 4px 0 #C95000,
        0 5px 10px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    text-shadow: 0 -2px 0 rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    position: relative;
    top: 0;
    text-decoration: none;
    overflow: hidden;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-shop-mobile::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    filter: blur(5px);
    animation: shine 4s infinite;
}

.btn-shop-mobile:hover {
    background-image: linear-gradient(to bottom, 
        #FFAA50 0%, 
        #FF7D1F 50%, 
        #FF6B00 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 
        0 6px 0 #C95000,
        0 7px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn-shop-mobile:active {
    top: 4px;
    box-shadow: 
        0 0 0 #C95000,
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background-image: linear-gradient(to bottom, 
        #E35C00 0%, 
        #FF6B00 100%);
}

.btn-shop-mobile i {
    font-size: 1.2rem;
    color: #ffffff;
}

.news-card {
    background-color: #162441;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid rgba(59, 153, 224, 0.2);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(59, 153, 224, 0.3);
    border-color: rgba(59, 153, 224, 0.5);
}

.news-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: all 0.5s ease;
    filter: brightness(0.9);
}

.news-card:hover .card-img-top {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.news-card .card-body {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    position: relative;
    z-index: 1;
}

.news-card .card-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.news-card .card-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--bs-primary, var(--theme-topbar-color, #3b99e0));
    bottom: 0;
    left: 0;
    border-radius: 3px;
}

.news-card .card-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 1rem;
}

.news-card .text-end {
    margin: 0;
    padding: 0;
    display: inline-block;
    width: 100%;
    text-align: right;
}

.news-card .text-end .btn,
.news-card .text-end a.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    margin: 0;
}

.news-card .text-end .btn i,
.news-card .text-end a.btn i {
    margin-left: 5px;
}

.news-card .btn {
    background-color: var(--bs-primary, var(--theme-topbar-color, #3b99e0));
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.news-card .btn::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    filter: blur(5px);
    animation: shine-news 4s infinite;
}

@keyframes shine-news {
    0% {
        left: -60%;
    }
    40%, 100% {
        left: 130%;
    }
}

.news-card .btn:hover {
    background-color: var(--bs-primary, var(--theme-topbar-color, #3b99e0));
    filter: brightness(120%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 153, 224, 0.4);
}

.news-card .btn i {
    transition: transform 0.3s ease;
}

.news-card .btn:hover i {
    transform: translateX(5px);
}

.news-card hr {
    border-color: rgba(59, 153, 224, 0.2);
    margin: 1rem 0;
    opacity: 0.5;
}

.news-card a {
    text-decoration: none;
}

.news-card .card-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(22, 36, 65, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(59, 153, 224, 0.3);
}

@media (max-width: 767.98px) {
    .news-card .card-img-top {
        height: 180px;
    }
    
    .news-card .card-body {
        padding: 1.2rem 1.2rem 0.8rem 1.2rem;
    }
    
    .news-card .card-title {
        font-size: 1.2rem;
    }
}

.alert {
    background-color: #162441;
    border-color: rgba(59, 153, 224, 0.3);
    color: #ffffff;
}

.alert-primary {
    background-color: rgba(59, 153, 224, 0.2);
    border-color: rgba(59, 153, 224, 0.5);
    color: #ffffff;
}

.alert-secondary {
    background-color: #1d3160;
    border-color: rgba(59, 153, 224, 0.3);
    color: #ffffff;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.2);
    border-color: rgba(40, 167, 69, 0.5);
    color: #ffffff;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.5);
    color: #ffffff;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.5);
    color: #ffffff;
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.2);
    border-color: rgba(23, 162, 184, 0.5);
    color: #ffffff;
}

.alert-light {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.alert-dark {
    background-color: #0D1B36;
    border-color: rgba(59, 153, 224, 0.3);
    color: #ffffff;
}

.card-body, .modal-body, .list-group-item {
    color: #ffffff;
}

/* Styles pour les tables */
.table {
    background-color: #162441 !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(59, 153, 224, 0.3);
    margin-bottom: 2rem;
    color: #ffffff !important;
}

.table th,
.table td {
    background-color: transparent !important;
    color: #ffffff !important;
    border-color: rgba(59, 153, 224, 0.3) !important;
}

.table-dark {
    background-color: #1d3160 !important;
    background-image: linear-gradient(to bottom, 
        rgba(59, 153, 224, 0.3) 0%, 
        rgba(29, 49, 96, 0.95) 100%) !important;
    color: #ffffff !important;
    border-color: rgba(59, 153, 224, 0.3) !important;
}

.table-dark th, .table-dark td {
    background-color: transparent !important;
    color: #ffffff !important;
    border-color: rgba(59, 153, 224, 0.3) !important;
}

thead {
    background-color: #1d3160 !important;
    background-image: linear-gradient(to bottom, 
        rgba(59, 153, 224, 0.3) 0%, 
        rgba(29, 49, 96, 0.95) 100%) !important;
}

thead th, thead td {
    background-color: transparent !important;
    color: #ffffff !important;
    border-color: rgba(59, 153, 224, 0.3) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    padding: 1rem !important;
    vertical-align: middle;
}

thead th:first-child {
    color: #ff6b00 !important;
}

th.rank-col, 
th.name-col,
th.votes-col, 
th.chances-col {
    color: #ff6b00 !important;
}

table.table-votes th:first-child,
table.table-ranks th:first-child,
table.table-rewards th:first-child {
    color: #ff6b00 !important;
}

.content table thead {
    background-color: #1d3160 !important;
    background-image: linear-gradient(to bottom, 
        rgba(59, 153, 224, 0.3) 0%, 
        rgba(29, 49, 96, 0.95) 100%) !important;
    border-bottom: 2px solid var(--bs-primary, var(--theme-topbar-color, #3b99e0)) !important;
}

.table tbody tr {
    border-bottom: 1px solid rgba(59, 153, 224, 0.15);
    transition: none;
    background: linear-gradient(to right, rgba(59, 153, 224, 0.05), rgba(22, 36, 65, 0.95));
}

.table tbody tr:last-child {
    border-bottom: none;
}

/* Suppression de l'effet de survol */
.table tbody tr:hover {
    background: linear-gradient(to right, rgba(59, 153, 224, 0.05), rgba(22, 36, 65, 0.95));
    transform: none;
    box-shadow: none;
    z-index: auto;
    position: static;
}

.table-hover > tbody > tr:hover > * {
    background-color: transparent !important;
    color: #ffffff !important;
}

.table tbody td {
    color: #ffffff;
    padding: 1.2rem 1rem;
    vertical-align: middle;
}

.table th:first-child,
.table td:first-child {
    padding-left: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--bs-primary, var(--theme-topbar-color, #3b99e0));
    text-align: center;
    width: 60px;
}
    
.table th:last-child,
.table td:last-child {
    padding-right: 1.5rem;
    text-align: center;
}

/* Fix pour les tables blanches par défaut de Bootstrap */
table, .table, .table-striped, .table-hover {
    background-color: #162441 !important;
    color: #ffffff !important;
}

table th, table td,
.table th, .table td,
.table-striped th, .table-striped td,
.table-hover th, .table-hover td {
    background-color: transparent !important;
    color: #ffffff !important;
    border-color: rgba(59, 153, 224, 0.3) !important;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(59, 153, 224, 0.05) !important;
    color: #ffffff !important;
}
    
.table-striped > tbody > tr:nth-of-type(even) > * {
    background-color: rgba(22, 36, 65, 0.95) !important;
    color: #ffffff !important;
}
    
.table-hover > tbody > tr:hover > * {
    background-color: rgba(59, 153, 224, 0.1) !important;
    color: #ffffff !important;
}

/* Styles pour les badges de position dans les tableaux */
.top-position {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-size: 1.1rem;
}

.position-1 {
    background: linear-gradient(to bottom, #FFD700, #FFA500);
    border: 2px solid rgba(255, 215, 0, 0.6);
}
    
.position-2 {
    background: linear-gradient(to bottom, #C0C0C0, #A9A9A9);
    border: 2px solid rgba(192, 192, 192, 0.6);
}
    
.position-3 {
    background: linear-gradient(to bottom, #CD7F32, #8B4513);
    border: 2px solid rgba(205, 127, 50, 0.6);
}

/* Style pour les compteurs de votes dans les tableaux - version améliorée */
.votes-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--bs-primary, var(--theme-topbar-color, #3b99e0)), #5aadff);
    color: #ffffff !important;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    min-width: 50px;
    box-shadow: 0 3px 6px rgba(59, 153, 224, 0.3);
    border: 2px solid rgba(150, 200, 255, 0.4);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}
    
/* Style pour le badge de votes de l'utilisateur */
.user-votes-count {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
    margin-top: 1rem;
}
    
.user-votes-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FF6B00;
    color: white;
    font-weight: bold;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 0.8rem;
}

.user-votes-text {
    color: #ffffff;
    font-weight: 600;
}

/* Styles responsives pour les tableaux */
@media (max-width: 767.98px) {
    .table thead th,
    .table tbody td,
    .table tbody th {
        padding: 0.8rem 0.6rem;
    }
    
    .top-position {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .votes-count {
        padding: 0.2rem 0.5rem;
        min-width: 40px;
    }
    
    .user-votes-count {
        display: flex;
        width: 100%;
    }
    
    .user-votes-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .table thead th,
    .table tbody td,
    .table tbody th {
        padding: 0.6rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .top-position {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

/* Amélioration du bloc de classement */
table.table-ranks {
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(59, 153, 224, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

table.table-ranks thead th {
    padding: 1.2rem !important;
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    background-image: linear-gradient(to bottom, 
        rgba(59, 153, 224, 0.4) 0%, 
        rgba(29, 49, 96, 0.95) 100%) !important;
    border-bottom: 3px solid var(--bs-primary, var(--theme-topbar-color, #3b99e0)) !important;
}

table.table-ranks tbody td {
    padding: 1.2rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(59, 153, 224, 0.2);
}

table.table-ranks tbody tr:last-child td {
    border-bottom: none;
}
