/* Basic CSS Styling */
@font-face {
    font-family: 'AdelonBook';
    src: url('../fonts/adelonlregular-webfont.woff2') format('woff2'),
        url('../fonts/adelonlregular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'newton';
    src: url('../fonts/newton.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Supernatural_Knight';
    src: url('../fonts/Supernatural_Knight.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #fff;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: linear-gradient(0deg, #847769, #ab9986);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(0deg, #dabc9c, #dabc9c);
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scroll-padding-top: 0px;
    /* Snap to the very top of the section */
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: 'AdelonBook', Times New Roman, Times, serif;
    margin: 0;
    padding: 0;
    background-color: #000000 !important;
    overflow-x: hidden;
    top: 0px !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.custom-buttons {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 10001;
    gap: 10px;
}

.custom-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    background-image: url('../images/icons/social_border.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    z-index: 10000;
}

.custom-button i {
    font-size: 20px;
}

.custom-button:hover {
    background-image: url('../images/icons/social_border_hover.png');
    transform: scale(1.05);
    /* Scale up slightly on hover */
    transition: background-color 0.3s ease, transform 0.2s ease;
    /* Added transition for smoother hover */
}

.button-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.fa-discord {
    color: #b99669;
}

.fa-facebook {
    margin-left: 2px;
    color: #b99669;
}

.fa-youtube {
    margin-left: 1px;
    color: #b99669;
}

.fa-tiktok {
    color: #b99669;
}

@media only screen and (max-width: 768px) {
    .custom-buttons {
        display: none;
    }
}

/* Media query for mobile view */
@media (max-width: 767px) {
    .custom-buttons {
        display: none;
        /* Hide sidebar on smaller screens */
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    color: #fff;
    padding: 0 50px;
    display: flex;
    justify-content: center;
    gap: 35px;
    align-items: center;
    height: 80px;
    z-index: 9999;
    border-bottom: 1px solid rgba(185, 143, 89, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.6);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo img {
    max-height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav {
    margin: 0 auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 25px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center; /* Perfect vertical centering */
    gap: 8px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

nav ul li a img {
    width: 20px; /* Standardize size */
    height: 20px;
    object-fit: contain;
    display: block;
}

nav ul li a:hover {
    opacity: 1;
    color: #f49c3f;
    transform: translateY(-1px);
}


nav ul li a:hover {
    position: relative;
    z-index: 1;
    color: #b99669;
    transition: background-color 0.3s ease;
}

/* Removed conflicting margins */
nav ul li a img {
    margin: 0;
}

#hero-section {
    background-image: url('../images/backgrounds/bgtop.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
    scroll-snap-align: start;
    padding-top: 80px;
}

#hero-section::after {
    content: "";
    /* Create the pseudo-element */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Adjust the overlay color and opacity */
    z-index: 1;
    /* Ensure the overlay is above the background image */
}

#hero-section::before {
    content: "";
    background-image: url('../images/backgrounds/bgtop.jpg');
    /* Background image */
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Ensure the background image is below the overlay */
}

.mobile-heading {
    display: none;
    /* Initially hide the mobile heading */
}

/* Media query for mobile screens */
@media screen and (max-width: 767px) {
    .desktop-heading {
        display: none;
        /* Hide the desktop heading on mobile screens */
    }

    .mobile-heading {
        display: block;
        /* Display the mobile heading on mobile screens */
    }
}

#hero-section h1 {
    font-family: 'AdelonBook';
    font-size: 30px;
    z-index: 2;
    color: #fff;
    height: 30px;
    font-weight: normal;
    height: 30px;
}


#countdown {
    font-size: 30px;
    font-weight: normal;
    color: #fff;
    z-index: 9999;
    margin-bottom: 25px;
}

#hero-section h2 {
    font-family: 'Supernatural_Knight';
    font-size: 32px;
    z-index: 2;
    color: #fff;
    height: 30px;
}

#hero-section p {
    z-index: 2;
    max-width: 650px;
    color: #fff;
}

.cta-button {

    padding: 20px 36px;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    align-items: center;
    display: flex;
    gap: 10px;
    letter-spacing: 1px;
}

.cta-button img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(244, 156, 63, 0.4));
}

.cta-button:hover {
    color: #f49c3f;
    text-shadow: 0 0 10px rgba(244, 156, 63, .4);
    transform: scale(1.05);
}

.cta-divider {
    display: inline-block;
    width: 1px;
    /* Adjust the width of the divider */
    height: 45px;
    /* Adjust the height of the divider */
    background-color: #977e48;
    /* Adjust the color of the divider */
    margin: 0 10px;
    /* Adjust the spacing around the divider */
    opacity: 0.3;
}

.cta-button2 {
    display: inline-block;
    padding: 22px 50px;
    background: url(../images/icons/button_red.png) no-repeat 50%/100% auto;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-family: 'Supernatural_Knight';
    font-size: 24px;
    border: none;
    outline: none;
    cursor: pointer;
    margin-top: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
    z-index: 10;
    width: auto;
    min-width: 260px;
    filter: brightness(100%) drop-shadow(0 0 10px rgba(181, 41, 35, 0.3));
}

.cta-button2:hover {
    filter: brightness(115%) drop-shadow(0 0 20px rgba(181, 41, 35, 0.5));
    transform: translateY(-2px);
}

.footer-logo {
    width: 80px;
    /* Increased from 50px */
    height: auto;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 8px rgba(244, 156, 63, 0.3));
    transition: all 0.3s ease;
}

.cta-button2:hover {
    filter: brightness(110%);
}


/* Define a keyframe animation for rotation */
@keyframes rotateImages {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 10;
    margin-top: 10px;
    max-width: 1100px;
}

.image-wrapper {
    text-align: center;
    width: 160px;
    transition: transform 0.3s ease;
}

.image-wrapper img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-wrapper:hover {
    transform: translateY(-10px);
}

.image-wrapper:hover img {
    filter: drop-shadow(0 0 15px rgba(244, 156, 63, 0.4)) brightness(1.2);
    transform: scale(1.1);
}

.image-caption {
    margin-top: 15px;
    font-size: 0.75rem;
    color: #c9b094;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
    line-height: 1.4;
}

.tooltip-container {
    position: relative;
}

.tooltip {
    visibility: hidden;
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    top: 100%;
    cursor: pointer;

    z-index: 1;
    align-items: center;
}

.account-icon:hover .tooltip {
    visibility: visible;
}

.feature-card {
    width: 300px;
    background-color: #eaeae8;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 140px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 18px;
    color: #4e4e4e;
    text-transform: uppercase;
    height: 0;
}

.card-content h3.extra-details {
    font-size: 14px;
    text-transform: none;
    color: darkgoldenrod;
    margin-right: 15px;
    height: auto;
}

.card-content p {
    color: #a49478;
    font-size: 16px;
}

#vote-section {
    background-image: url('../images/backgrounds/bgvotes.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center main content */
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
    scroll-snap-align: start;
    padding-bottom: 80px;
}

#vote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 0;
}

#vote-section h1 {
    font-size: 18px;
    color: #fff;
    margin-top: 5px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

#vote-section h2 {
    font-family: 'Supernatural_Knight', serif;
    font-size: 32px;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

#vote-section h3 {
    font-size: 32px;
    margin-bottom: -130px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

#vote-section p {
    font-size: 18px;
    color: #fff;
    margin-top: 5px;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

#download-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: #fff;
    text-align: center;
    background-image: url('../images/backgrounds/bgdownload.jpg');
    background-size: cover;
    background-position: center;
    scroll-snap-align: start;
    padding-top: 80px;
}

#download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Adjust the color and opacity as needed */
    z-index: 0;
    /* Ensure the overlay is above the background image */
}


.blurry-bg-download {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/backgrounds/bgdownload.jpg');
    background-size: cover;
    filter: blur(5px);
    /* Add the blur filter to the background image */
    opacity: 1;
    /* Adjust the opacity as needed */
    z-index: -1;
    /* Place the blurry background behind the content */
}

.margin-top {
    margin-top: 70px;
}

.text-light {
    font-family: 'AdelonBook';
    font-weight: normal;
    font-style: normal;
}

#download-section h2 {
    font-family: 'Supernatural_Knight';
    font-size: 32px;
    margin: 0 auto;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 0, 0, .8);
    z-index: 2;
}

#download-section p {
    font-size: 18px;
    color: #fff;
    margin-top: 5px;
    line-height: 1.4;
}


/* Progress Bars */

.containerdownload {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    z-index: 1;
}

.hero-chart {
    max-width: 500px;
    /* Adjust as needed */
    width: 450px;
    margin: 0 40px;
}

.hero {
    margin-top: 5px;
    margin-bottom: 15px;
}

.hero-name {
    font-weight: normal;
    font-size: 20px;
    margin-bottom: 5px;
    color: #ffffff;
    text-decoration: none;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    overflow: hidden;
}

.progress {
    position: relative;
    width: 0;
    /* Start from 0 width */
    height: 20px;
    background-color: rgba(256, 256, 256, 0.5);
    overflow: hidden;
    /* Hide overflowing content */
    transition: width 1.5s ease-out;
    /* Transition for smoother animation */
}

.start-animation .progress {
    width: 100%;
    /* End at the full width */
}

.progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    /* Start from 0 width */
    height: 100%;
    background: linear-gradient(135deg, #e8c9a2, #cca574, #e8c9a2);
    animation: progressAnimation 1.5s ease-out forwards;
    /* Animation to fill the progress bar */
}

@keyframes progressAnimation {
    0% {
        width: 0;
        /* Start from 0 width */
    }

    100% {
        width: 100%;
        /* End at the full width */
    }
}

/* Download Button Cards */

.dcardcontainer {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 35px;
    z-index: 1;

}

.dcardcolumn {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-right: 80px;
}

.dcardcolumn:last-child {
    flex: 1;
    margin-right: 0;
}

.dcardcard {
    width: 450px;
    min-height: 550px;
    padding: 40px 30px;
    /* Increased top/bottom padding for better frame */
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border-width: 15px;
    border-style: solid;
    /* Style of the border */
    border-image-source: url('../images/icons/download_border.png');
    /* Path to your border image */
    border-image-slice: 28;
    /* Slice value to define the border size */
    background-color: rgba(12, 12, 12, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.dcardcard li {
    list-style-type: none;
}

.dcardcard:hover {
    box-shadow: 0 8px 12px 5px rgba(177, 164, 124, 0.2);
}

.dcardcard img {
    margin-top: -30px;
    border-radius: 50%;
    display: block;
    height: 100px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    filter: brightness(100%);
    transition: ease-in-out 0.5s;
}

.dcardcard img:hover {
    filter: brightness(110%);
}

.dcardcard img:hover::after {
    transition: ease 0.5s;
}

.downloadtitle {
    font-size: 25px;
    text-transform: uppercase;
    color: #735b3c;
}

.dcardcontent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    margin-bottom: 0;
}

.dcard {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.dcardleft {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
}

.text {
    margin-top: 5px;
    text-align: center;
}

.text div {
    margin: 1px 0;
    /* Adjust the spacing between lines */
}


.dcardleft img {
    width: 60px;
    /* Slightly smaller for better stacking */
    height: 60px;
    margin: 0;
    vertical-align: middle;
}

.dcardcard p {
    padding: 0 10px;
    line-height: 1.4;
    margin-bottom: 0;
    /* Increased space before buttons */
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px !important;
}


.dcarddownload-button {
    width: 180px !important;
    height: 42px !important;
    margin-top: 15px !important;
    background: url('../images/icons/button_red.png') no-repeat center !important;
    background-size: 100% 100% !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    font-family: 'Supernatural_Knight', sans-serif !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    padding: 0 !important;
}

.dcarddownload-button:hover {
    filter: brightness(1.2) !important;
    transform: scale(1.02);
}



#features-section {
    background-image: url('../images/backgrounds/bgfeatures.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
    scroll-snap-align: start;
    padding-top: 80px;
    padding-bottom: 40px;
}

#features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Adjust the color and opacity as needed */
    z-index: 0;
    /* Ensure the overlay is above the background image */
}

#features-section h2 {
    font-family: 'Supernatural_Knight';
    font-size: 32px;
    margin: 0 auto;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 0, 0, .8);
    z-index: 2;
}

#features-section p {
    font-size: 18px;
    color: #fff;
    margin-top: 5px;
}

/* Features Tabs Navigation */
.features-tabs-container {
    margin: 40px auto 0;
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 10;
    padding: 0 20px;
}

.feature-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100px;
}

.feature-tab img {
    width: 85px;
    height: 85px;
    filter: grayscale(0.4) brightness(0.8);
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.tab-label {
    font-family: 'Supernatural_Knight';
    font-size: 10px;
    /* Minimalist size for perfect fit */
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    white-space: nowrap;
}

.feature-tab:hover img {
    transform: scale(1.1);
    filter: grayscale(0) brightness(1.1);
}

.feature-tab:hover .tab-label {
    color: #fff;
}

.feature-tab.active img {
    filter: grayscale(0) brightness(1.5) drop-shadow(0 0 10px rgba(206, 175, 132, 0.8));
    transform: scale(1.1);
    background: transparent;
    border: none;
    box-shadow: none;
    /* Remove the square box shadow */
}

.feature-tab.active .tab-label {
    color: #ceaf84;
    text-shadow: 0 0 10px rgba(206, 175, 132, 0.4);
}

.content {
    margin: 20px auto;
    padding: 20px;
    border: 1px solid rgba(177, 164, 124, 0.3);
    background-color: rgba(5, 5, 5, 0.9);
    width: 95%;
    max-width: 1100px;
    z-index: 1;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(177, 164, 124, 0.05);
    overflow: visible;
    box-sizing: border-box;
}

.sectionimg {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 15px;
    border-radius: 4px;
}

/* Features Comparison Layout */
.features-comparison {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 5px 0;
}

.feature-rate-card {
    flex: 1;
    background: radial-gradient(circle at top, rgba(40, 35, 30, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%);
    border: 1px solid rgba(177, 164, 124, 0.2);
    border-radius: 4px;
    padding: 18px 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.feature-rate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ceaf84, transparent);
    opacity: 0.5;
}

/* Golden Corners */
.feature-rate-card::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    left: 5px;
    border: 1px solid rgba(177, 164, 124, 0.05);
    pointer-events: none;
}

.feature-rate-card:hover {
    transform: translateY(-4px);
    border-color: rgba(177, 164, 124, 0.5);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 20px rgba(206, 175, 132, 0.1);
}

.rate-card-header {
    font-family: 'Supernatural_Knight';
    font-size: 18px;
    background: linear-gradient(180deg, #fff 0%, #ceaf84 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    position: relative;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rate-card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ceaf84, transparent);
}

.vip .rate-card-header {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.rate-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.rate-item:hover {
    background: rgba(206, 175, 132, 0.05);
    border-color: rgba(206, 175, 132, 0.2);
    transform: translateX(5px);
}

.rate-item span:first-child {
    font-size: 13px;
    color: #bbb;
    display: flex;
    align-items: center;
}

.rate-item span:first-child::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #ceaf84;
    transform: rotate(45deg);
    margin-right: 8px;
    box-shadow: 0 0 5px #ceaf84;
}

.rate-item img {
    width: 22px;
    height: 22px;
    margin-right: 10px;
}

.rate-item span:nth-child(2) {
    flex: 1;
    font-size: 13px;
    color: #ccc;
    text-align: left;
}

.rate-value {
    font-weight: bold;
    color: #ceaf84;
    font-size: 16px;
}

.vip .rate-value {
    color: #ffd700;
}

/* Features Dashboard Layout */
.features-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.dashboard-col {
    padding: 0 10px;
}

.dashboard-col:not(:last-child) {
    border-right: 1px solid rgba(177, 164, 124, 0.15);
}

.dashboard-header {
    font-family: 'Supernatural_Knight';
    font-size: 22px;
    color: #ceaf84;
    text-align: left;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dashboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-list li {
    font-size: 15px;
    color: #bbb;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    text-align: left;
    line-height: 1.4;
}

.dashboard-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 10px;
    color: #ceaf84;
}

.dashboard-list li strong {
    color: #fff;
    margin-left: 5px;
}

.dashboard-sub-item {
    margin-bottom: 25px;
    text-align: left;
}

.dashboard-sub-item h4 {
    font-family: 'Supernatural_Knight';
    font-size: 18px;
    color: #ceaf84;
    margin-bottom: 8px;
}

.dashboard-sub-item p {
    font-size: 13px !important;
    color: #aaa;
    line-height: 1.5;
    margin: 0;
}

.section {
    display: none;
}

.section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.section h2 {
    font-size: 23px !important;
    margin-bottom: 0;
}

#section2 p {
    margin-top: 12px !important;
}

.sectionspace {
    margin-top: 25px;
}

.mobile-only-paragraph {
    display: none;
}

/* Media query for mobile screens */
@media screen and (max-width: 767px) {
    .mobile-only-paragraph {
        display: block;
        /* Display the element on mobile screens */
        text-align: center;
        /* Align the content at center */
    }
}

table {
    margin: 15px 0;
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    opacity: 0;
    /* Initially hide the table */
    animation: fadeInTable 0.5s ease forwards;
    /* Apply fadeInTable animation */
}

/* Define keyframes for fadeInTable animation */
@keyframes fadeInTable {
    from {
        opacity: 0;
        transform: translateY(-20px);
        /* Start slightly above and move down */
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* Move to original position */
    }
}

table img {
    margin-top: 5px;
}

th,
td {
    font-weight: normal;
    padding: 7px;
    text-align: left;
    border-top: 1px solid #b98f59;
    border-bottom: 1px solid #735b3c;
    background: rgba(115, 91, 60, 0.4);
}

th {
    text-align: right;
    text-shadow: 1px 1px 2px black;
    background: #735b3c;
}

tr {
    transition: background-color 0.3s;
    /* Smooth transition for hover effect */
}

/* Define the hover effect */
tr:hover {
    background: linear-gradient(135deg, #433523, #433523, #433523);
    /* Orange to dark orange gradient */
}

td:first-child {
    width: 36px;
    /* Adjust the width for the icon column */
    padding-right: 0;
    /* Remove padding on the right for the icon column */
}

td:nth-child(2) {
    width: auto;
    /* Allow the second column to expand */
    text-align: left;
    padding-left: 0;
}

td:nth-child(3) {
    width: auto;
    /* Allow the second column to expand */
    text-align: right;


}

td:nth-child(4) {
    width: 36px;
    /* Adjust the width for the icon column */
    padding-right: 0;
    /* Remove padding on the right for the icon column */
    text-align: left;
}

td:nth-child(5) {
    width: auto;
    /* Adjust the width for the icon column */

    text-align: left;
}

td:last-child,
th:last-child {
    text-align: right;
}

/* table enchant */
.table-enchant {
    margin: 15px 0;
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    color: #fff;
    opacity: 0;
    /* Initially hide the table */
    animation: fadeInTable 0.5s ease forwards;
    /* Apply fadeInTable animation */
}

/* Define keyframes for fadeInTable animation */
@keyframes fadeInTable {
    from {
        opacity: 0;
        transform: translateY(-20px);
        /* Start slightly above and move down */
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* Move to original position */
    }
}

.table-enchant img {
    margin-top: 5px;
}

.table-enchant th,
.table-enchant td {
    font-weight: normal;
    padding: 7px 10px;
    text-align: left;
    border-top: 1px solid #b98f59;
    border-bottom: 1px solid #735b3c;
    background: rgba(115, 91, 60, 0.4);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.table-enchant th {
    text-align: left;
    text-shadow: 1px 1px 2px black;
    background: #735b3c;
}

.table-enchant tr {
    transition: background-color 0.3s;
    /* Smooth transition for hover effect */
}

/* Define the hover effect */
.table-enchant tr:hover {
    background: linear-gradient(135deg, #433523, #433523, #433523);
    /* Orange to dark orange gradient */
}

.table-enchant td:first-child {
    width: 46px;
    /* Fixed width for the icon column */
    padding-right: 0;
    /* Remove padding on the right for the icon column */
}

.table-enchant td:nth-child(2) {
    width: auto;
    /* Allow the second column to expand naturally */
    text-align: left;
}

.table-enchant td:nth-child(3) {
    width: auto;
    /* Allow the third column to expand */
    text-align: left;
}

.table-enchant td:nth-child(4) {
    width: auto;
    /* Adjust the width for the icon column */
    padding-right: 0;
    /* Remove padding on the right for the icon column */
    text-align: left;
}

.table-enchant td:nth-child(5) {
    width: auto;
    /* Adjust the width for the icon column */
    text-align: left;
}

.table-enchant td:last-child,
.table-enchant th:last-child {
    text-align: right;
    padding-right: 15px;
}

/* table olympiad */
.table-olympiad {
    margin: 15px 0;
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    opacity: 0;
    /* Initially hide the table */
    animation: fadeInTable 0.5s ease forwards;
    /* Apply fadeInTable animation */
}

/* Define keyframes for fadeInTable animation */
@keyframes fadeInTable {
    from {
        opacity: 0;
        transform: translateY(-20px);
        /* Start slightly above and move down */
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* Move to original position */
    }
}

.table-olympiad img {
    margin-top: 5px;
}

.table-olympiad th,
td {
    font-weight: normal;
    padding: 7px;
    text-align: left;
    border-top: 1px solid #b98f59;
    border-bottom: 1px solid #735b3c;
    background: rgba(115, 91, 60, 0.4);
}

.table-olympiad th {
    text-align: left;
    text-shadow: 1px 1px 2px black;
    background: #735b3c;
}

.table-olympiad tr {
    transition: background-color 0.3s;
    /* Smooth transition for hover effect */
}

/* Define the hover effect */
.table-olympiad tr:hover {
    background: linear-gradient(135deg, #433523, #433523, #433523);
    /* Orange to dark orange gradient */
}

.table-olympiad td:first-child {
    width: 36px;
    /* Adjust the width for the icon column */
    padding-right: 0;
    /* Remove padding on the right for the icon column */
}

.table-olympiad td:nth-child(2) {
    width: 600px;
    /* Allow the second column to expand */
    text-align: left;

}

.table-olympiad td:nth-child(3) {
    width: auto;
    /* Allow the second column to expand */
    text-align: left;
}

.table-olympiad td:nth-child(4) {
    width: auto;
    /* Adjust the width for the icon column */
    padding-right: 0;
    /* Remove padding on the right for the icon column */
    text-align: left;
}

.table-olympiad td:nth-child(5) {
    width: auto;
    /* Adjust the width for the icon column */
    text-align: left;
}

.table-olympiad td:last-child,
.table-olympiad th:last-child {
    text-align: right;
    padding-right: 30px;
}

/* table rules */
.table-rules {
    margin: 15px 0;
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    opacity: 0;
    /* Initially hide the table */
    animation: fadeInTable 0.5s ease forwards;
    /* Apply fadeInTable animation */
}

/* Define keyframes for fadeInTable animation */
@keyframes fadeInTable {
    from {
        opacity: 0;
        transform: translateY(-20px);
        /* Start slightly above and move down */
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* Move to original position */
    }
}

.table-rules img {
    margin-top: 5px;
}

.table-rules {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.table-rules tbody {
    display: block !important;
    width: 100% !important;
}

.table-rules tr {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* Card Header (Title Row) */
.table-rules tr:nth-child(odd) {
    background: linear-gradient(90deg, rgba(25, 20, 16, 0.98), rgba(40, 32, 25, 0.98)) !important;
    border: 1px solid rgba(206, 175, 132, 0.25) !important;
    border-bottom: none !important;
    border-left: 4px solid #ceaf84 !important;
    border-radius: 6px 6px 0 0 !important;
    margin-top: 18px !important;
    padding: 12px 20px !important;
}

.table-rules tr:nth-child(odd):first-child {
    margin-top: 5px !important;
}

/* Card Body (Description Row) */
.table-rules tr:nth-child(even) {
    background: rgba(12, 10, 8, 0.75) !important;
    border: 1px solid rgba(206, 175, 132, 0.25) !important;
    border-top: none !important;
    border-left: 4px solid #ceaf84 !important;
    border-radius: 0 0 6px 6px !important;
    margin-bottom: 12px !important;
    padding: 15px 20px !important;
}

/* Common cell styles overridden for block design */
.table-rules th,
.table-rules td {
    display: inline-block !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    box-sizing: border-box !important;
}

/* Insignia / Golden Badge Number */
.table-rules th:first-child {
    font-family: 'Supernatural_Knight', sans-serif !important;
    font-size: 20px !important;
    color: #ffd700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6) !important;
    font-weight: 900 !important;
    margin-right: 15px !important;
    vertical-align: middle !important;
}

/* Card Title Text */
.table-rules th:last-child {
    font-family: 'Supernatural_Knight', sans-serif !important;
    font-size: 16px !important;
    color: #ceaf84 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    text-shadow: 0 0 5px rgba(206, 175, 132, 0.3) !important;
    vertical-align: middle !important;
}

/* Hide useless yellow arrow column */
.table-rules td:first-child {
    display: none !important;
}

/* Card Description Content */
.table-rules td:last-child {
    display: block !important;
    color: #e5ded4 !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

/* Hover highlights for premium interactivity */
.table-rules tr:hover {
    border-color: rgba(206, 175, 132, 0.5) !important;
    border-left-color: #ffd700 !important;
    background: rgba(30, 24, 18, 0.85) !important;
    box-shadow: 0 0 15px rgba(206, 175, 132, 0.15) !important;
}

.table-rules tr:nth-child(odd):hover {
    background: linear-gradient(90deg, rgba(38, 30, 24, 0.98), rgba(50, 40, 32, 0.98)) !important;
}

.table-rules tr:nth-child(odd):hover th:last-child {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6) !important;
}

footer {
    background-color: rgba(22, 12, 10, 1);
    color: #fff;
    text-align: center;
    padding: 20px 0;
    /* Increase the padding to make the footer bigger */
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
}

footer .fa-discord {
    color: #b99669;
}

footer p {
    font-size: 16px;
    /* Adjust the font size as needed */
    margin: 0;
}

footer a {
    color: #b99669;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: .2s;
    text-transform: uppercase;
}

footer a:hover {
    filter: brightness(130%);
}

.rulespolicy {
    font-size: 16px;
    color: fff;
    text-decoration: underline;
    text-transform: none;
}

.smoke {
    position: absolute;
    left: 0;
    right: 0;
    height: 923px;
    width: 100%;
    background-image: url(../images/ui/smoke.png);
    background-position: left top;
    -webkit-animation: smoke 20s linear infinite;
    animation: smoke 20s ease-in-out infinite;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    z-index: 1;
}

.main_logo {
    margin-top: 0px;
    margin-bottom: 0px;
    z-index: 10;
}

.logotype {
    display: block;
    width: 100%;
    max-width: 320px;
    /* Reduced from 380px */
    position: relative;
    transition: transform 0.4s ease;
}

.logotype:hover {
    transform: scale(1.02);
}

.logotype__img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(244, 156, 63, 0.2));
}

.logotype__img_hover {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    transition: 0.3s all;
    pointer-events: none;
}

.logotype:hover .logotype__img_hover {
    animation: logotype 0.2s ease forwards;
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 50%);
    z-index: 1;
}


/* Content CSS */
#content-section {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
    padding-bottom: 50px;
    /* Add padding to avoid content overlap with the fixed footer */
}

#content-section.show {
    opacity: 1;
    visibility: visible;
}


.header_menu_item a {
    font-size: 16px;
    align-items: center;
    font-style: bold;

    text-transform: uppercase;
    transition: 0.3s all;
    position: relative;
    z-index: 0;
    cursor: pointer;
    vertical-align: -webkit-baseline-middle;
}

.header_menu_item img {
    margin-top: 3px;
    margin-right: 8px;
    transition: 0.2s all;
    pointer-events: none;
}

.header_menu_item:hover img {
    animation: navImg 0.3s ease forwards;
}

.border {
    width: 100%;
    height: 40px;
    background: url(../images/icons/border_line_mobile.png) center center repeat-x;
    position: absolute;
    bottom: -20px;
    left: 0;
    z-index: 9;
}

.download-button {
    align-items: center;
    /* Align items vertically */
    justify-content: center;
    /* Center the content horizontally */
    padding: 10px 20px;
    /* Adjust the padding to make the buttons smaller */
    background: url(../images/icons/button_red.png) no-repeat 50%/100% auto;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: .2s;
    font-size: 24px;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(206, 111, 0, .8);
    z-index: 999;
    margin-top: 50px;
}

.download-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 50%;
    margin: 0 auto;
    /* Center the buttons horizontally */
}

.download-button:hover {
    filter: brightness(130%);
}

.download-button span img {
    float: right;
}

.cta-button3 {
    display: inline-block;
    padding: 6px 2px;
    background: url(../images/icons/button_red.png) no-repeat 50%/100% auto;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: .2s;
    font-size: 18px;
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 999;
    width: 200px;
}

.cta-button3:hover {
    filter: brightness(130%);
}

#back-to-top-btn {
    display: none;
    /* Hide the button by default */
    position: fixed;
    bottom: 70px;
    right: 30px;
    padding: 13px 5px;
    background: url(../images/icons/social_border.png) no-repeat;

    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 99;
    transition: all 0.3s ease-out;
}

#back-to-top-btn:hover {
    filter: brightness(140%);
}

#back-to-top-btn:active {
    filter: brightness(80%);
}

#back-to-top-btn a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: .2s;
    text-transform: uppercase;
}

#back-to-top-btn a:hover {
    filter: brightness(140%);
}



.categories-container {
    display: flex;
}

.category-container {
    /* Your existing styles for the category container */
    width: calc(50% - 10px);
    /* Adjust the width as needed */
    margin-bottom: 20px;
    /* Add spacing between the categories */
}

.category-container h2 {
    /* Your existing styles for the category headings */
    margin-bottom: 0;
    /* Add spacing between the heading and content */
}

.extra-details {
    margin-left: 15px;
    /* Add indentation for the extra details */
}

.hamburger-icon {
    display: none;
    /* Hide the hamburger icon by default */
    cursor: pointer;
    margin-left: 10px;
    /* Adjust the left margin to create space between the logo and the menu icon */
}

.hamburger-icon:active {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    /* Add glow effect */
    transition: ease 0.2s;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 6px 0;
}

/* Styles for the mobile navigation */
.mobile-nav {
    display: none;
    /* Hide the mobile navigation by default */
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin: 0 auto;
}

.mobile-nav li a {
    color: #fff;
    text-decoration: none;
    margin-left: -10px;
}

@media only screen and (max-width: 1380px) {

    nav ul li {
        margin: 15px 0;
        /* Add spacing between navigation items */
    }
}




.margin-right {
    margin-right: 35px;
}


.containervotes {
    display: flex;
    margin-top: 25px;
    position: relative;
    z-index: 2;
}

.advertising-box {
    width: 250px;
    height: 380px;
    margin-right: 25px;
    background: radial-gradient(circle at top, rgba(40, 35, 30, 0.85) 0%, rgba(10, 10, 10, 0.98) 100%);
    border: 1px solid rgba(177, 164, 124, 0.2);
    color: #fff;
    padding: 25px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.advertising-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ceaf84, transparent);
    opacity: 0.5;
    z-index: 3;
}

.advertising-box::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    left: 5px;
    border: 1px solid rgba(177, 164, 124, 0.05);
    pointer-events: none;
    z-index: 3;
}

.advertising-box:hover {
    transform: translateY(-4px);
    border-color: rgba(177, 164, 124, 0.5);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 20px rgba(206, 175, 132, 0.15);
}

.advertising-box:last-child {
    margin-right: 0;
}

.advertising-box img:first-of-type {
    max-height: 110px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.advertising-box:hover img:first-of-type {
    transform: scale(1.05);
}

.advertising-box img[alt="votecoin"] {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
    margin-bottom: 2px;
}

.advertising-box h1 {
    font-family: 'Supernatural_Knight', serif;
    font-size: 20px;
    background: linear-gradient(180deg, #fff 0%, #ceaf84 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.advertising-box p {
    font-size: 14px !important;
    color: #ffd700 !important;
    font-weight: bold !important;
    margin: 5px 0 15px 0 !important;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3) !important;
}

.advertising-space {
    margin-top: 15px;
}

.buttondiscord-desktop,
.buttondiscord-mobile {
    display: inline-block;
    padding: 10px 20px;
    width: 170px;
    background: linear-gradient(180deg, #3a2f21 0%, #1c150e 100%);
    border: 1px solid rgba(206, 175, 132, 0.4);
    color: #ceaf84;
    font-family: 'Supernatural_Knight', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 1px;
    margin-top: 10px;
}

.buttondiscord-desktop:hover,
.buttondiscord-mobile:hover {
    background: linear-gradient(180deg, #ceaf84 0%, #998773 100%);
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 15px rgba(206, 175, 132, 0.6);
    transform: translateY(-1px);
}

.buttondiscord-desktop:active,
.buttondiscord-mobile:active {
    background: linear-gradient(180deg, #998773 0%, #735b3c 100%);
    transform: translateY(1px);
}

.buttondiscord-desktop,
.buttondiscord-mobile {
    display: none;
    /* Initially hide both buttons; displayed via media queries */
}

/* Media query for desktop screens */
@media screen and (min-width: 768px) {
    .buttondiscord-desktop {
        display: inline-block;
        /* Display the desktop button on desktop screens */
    }
}

/* Media query for mobile screens */
@media screen and (max-width: 767px) {
    .buttondiscord-mobile {
        display: inline-block;
        /* Display the mobile button on mobile screens */
    }
}


.margin-top-discord {
    margin-top: 10px;
}

.smoke1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    background-image: url(../images/ui/smoke.png);
    background-position: left top;
    -webkit-animation: smoke 20s linear infinite;
    animation: smoke 20s ease-in-out infinite;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    z-index: 2;
    position: relative;
}

/* Mobile Header Section */
/* Mobile Styles */
@media only screen and (max-width: 360px) {

    .mobile-nav {
        font-size: 10px;
    }
}

@media only screen and (min-width: 361px) {

    .mobile-nav {
        font-size: 12px;
    }
}

@media only screen and (max-width: 768px) {

    #back-to-top-btn a {
        display: none;
    }

    #hero-section {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #hero-section h2 {
        font-size: 22px;
        /* Reduce the font size for smaller screens */
        text-align: center;
        margin-bottom: 30px;

    }

    #hero-section p {
        font-size: 10px !important;
        /* Reduce the font size for smaller screens */
    }

    .logotype {
        width: 70%;
        margin: 100px auto;
        margin-bottom: -20px;
    }

    .image-gallery {
        width: 100%;
        flex-direction: row;
        margin-top: 20px;
    }

    .image-wrapper img {
        width: 80%
    }


    .cta-button2 {
        margin-bottom: 35px;
    }

    .cta-divider {
        display: none;
    }

    header {
        padding: 10px 0px;
        /* Reduce the header padding for smaller screens */
        height: 60px;
        /* Reduce the header height for smaller screens */
        width: 100%;
    }

    .border {
        width: 100%;
        height: 40px;
        background: url(../images/icons/border_line_mobile.png) center center repeat-x;
        position: absolute;
        bottom: -20px;
        left: 0;
        z-index: 9;
    }

    .logo {
        max-width: 40px;
        /* Reduce the logo size for smaller screens */
        display: none;
    }

    nav {
        margin-left: 0;
        /* Center the navigation for smaller screens */
        display: none;
        /* Hide the main navigation on mobile */
    }



    nav ul li {
        display: block;
        /* Display navigation items vertically for smaller screens */
        margin: 5px 0;
        /* Add spacing between navigation items */
    }

    nav ul li a {
        padding: 10px 10px;
    }





    .hamburger-icon {
        display: block;
        margin-right: auto;
    }

    /* Show the mobile navigation */
    .mobile-nav {
        display: block;
        background: linear-gradient(140deg, #19140c, #5a232b, #19140c);
        border-top: 1px solid rgba(109, 99, 78, 1);
        border-bottom: 1px solid rgba(109, 99, 78, 1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
        /* Add a shadow for satin effect */
        padding: 15px;
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        text-align: center;
        max-height: 0;
        /* Set the initial max-height to 0 */
        overflow: hidden;
        /* Hide the content when max-height is 0 */
        transition: max-height 0.3s ease;
        /* Add a transition to the max-height property */
        text-transform: uppercase;

    }

    .mobile-nav li {
        margin: 10px 0;
    }

    .mobile-nav li img {
        width: 46px;
        height: 46px;
        margin: 0 10px;
        margin-left: -5px;
    }

    /* Hide the mobile navigation when not needed */
    .mobile-nav.hidden {
        display: none;
    }

    .mobile-nav.show {
        max-height: 500px;
        /* Adjust the max-height to your desired value based on the content */

    }

    .tooltip-container {
        display: none;
    }

}


/* Mobile - Download Section */
@media only screen and (max-width: 768px) {

    #download-section {
        height: 100%;
    }

    #download-section h2 {
        font-size: 20px;
    }

    #download-section p {
        font-size: 14px;

    }

    .containerdownload {
        display: none;
    }

    .dcardcontainer {
        margin-top: 30px;
        display: flex;
        flex-wrap: wrap;
        /* Allow cards to wrap onto new lines */
        justify-content: center;
        gap: 35px;
        z-index: 1;

    }

    .dcardcolumn {
        flex-basis: calc(50% - 10px);
        /* Adjust width for two columns */
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;

    }

    .dcardcard {
        width: 300px;
        margin: 0 auto;
        /* Align center */
        margin-bottom: 20px;
        border-width: 5px;
        border-style: solid;
        border-image-source: url('../images/icons/download_border.png');
        border-image-slice: 5;
        background-color: rgba(12, 12, 12, 0.5);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: box-shadow 0.3s ease;
    }

    .dcardcard img {
        margin-top: -28px;

        display: block;
        width: 80%;
        height: auto;
        filter: brightness(100%);
        transition: ease-in-out 0.5s;
        margin-left: auto;
        margin-right: auto;
    }

    .downloadtitle {
        font-size: 25px;
        text-transform: uppercase;
        color: #735b3c;
        text-align: center;
    }

    .dcardcontent {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 35px;
        margin-bottom: 0;
    }

    .dcard {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dcardleft {
        display: flex;
        align-items: center;
        margin-top: 25px;
    }

    .text {
        margin-left: 5px;
        text-align: left;
        margin-top: -22px;
        font-size: 14px;
    }

    .text div {
        margin: 1px 0;
    }

    .dcardleft img {
        width: 40px;
        height: 40px;
        margin-right: 5px;
        vertical-align: middle;
    }

    .dcardleft p {
        margin: 0;
        text-align: center;
        font-size: 18px !important;
    }

    .dcarddownload-button {
        width: 100%;
        /* Take full width */
        padding: 10px 20px;
        background-color: #735b3c;
        margin-top: 25px;
        margin-bottom: -25px;
        color: #fff;
        border: none;
        border-radius: 5px;

        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .dcarddownload-button:hover {
        background-color: #c3a784;
    }

    .dcarddownload-button:active {
        background-color: #b98f59;
    }

}

/* Default styles for both tables */
.table-desktop,
.table-mobile {
    display: none;
    /* Initially hide both tables */
}

/* Media query for desktop screens */
@media screen and (min-width: 768px) {
    .table-desktop {
        display: table;
        /* Display the desktop table on desktop screens */
    }
}

/* Media query for mobile screens */
@media screen and (max-width: 767px) {
    .table-mobile {
        display: table;
        /* Display the mobile table on mobile screens */
    }
}

/* Mobile - Vote Section */
@media only screen and (max-width: 768px) {

    #features-section {
        min-height: 100vh;
        background-image: url('../images/backgrounds/bgfeaturesmobile.jpg');
        background-attachment: fixed;
        /* Keep the background image fixed */
    }

    #features-section h2 {
        font-size: 20px;
    }

    #features-section p {
        font-size: 14px;

    }

    /* features menu */
    .sidebar-icons {
        margin-top: 15px;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 35px;
        align-items: center;
        z-index: 1;
        margin-bottom: -5px;
    }

    .sidebar-icons img {
        width: 54px;
        height: 54px;
        cursor: pointer;
        transition: ease-in-out 0.3s;
        margin: 0 auto;
        justify-content: center;
        gap: 35px;
    }

    .sidebar-icons img:hover {
        filter: brightness(120%);
    }

    .sidebar-icons img:hover:after {
        transition: ease 0.3s;
    }

    .sidebar {
        width: 100%;
        margin: 10px auto;
        z-index: 1;
        align-items: center;
        justify-content: center;
    }

    .featuresbutton {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 155px;
        margin-top: 10px;
        padding: 10px 20px;
        background-color: #735b3c;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .featuresbutton:hover {
        background-color: #c3a784;
    }

    .featuresbutton:active {
        background-color: #b98f59;
    }

    .featuresbutton.active {
        background-color: #b98f59;
    }

    .content {
        margin: 15px auto;
        /* Adjust as needed based on sidebar width */
        padding: 20px;
        border-width: 5px;
        /* Width of the border */
        border-style: solid;
        /* Style of the border */
        border-image-source: url('../images/icons/download_border.png');
        /* Path to your border image */
        border-image-slice: 5;
        /* Slice value to define the border size */
        background-color: rgba(12, 12, 12, 0.5);
        width: 80%;
        height: 100%;
        z-index: 1;
        margin-bottom: 30px;
    }



    .section {
        display: none;
    }

    .section.active {
        display: block;
    }

    .section p {
        margin-bottom: -4px;
    }

    .section h1 {
        margin-top: -5px;
        font-size: 18px;
        font-weight: normal;
        margin-bottom: -5px;
    }

    .section h2 {
        font-size: 16px !important;
        margin-bottom: 0;
    }



    .sectionimg {
        width: 80%;
    }

    #section2 p {
        margin-top: 12px !important;
    }

    .sectionspace {
        margin-top: 25px;
    }

    /* General Table Mobile */
    table {
        margin: 15px auto;
        width: 100%;
        border-collapse: collapse;
        margin-left: auto;
        margin-right: auto;
        color: #fff;
        opacity: 0;
        /* Initially hide the table */
        animation: fadeInTable 0.5s ease forwards;
        /* Apply fadeInTable animation */
    }

    /* Define keyframes for fadeInTable animation */
    @keyframes fadeInTable {
        from {
            opacity: 0;
            transform: translateY(-20px);
            /* Start slightly above and move down */
        }

        to {
            opacity: 1;
            transform: translateY(0);
            /* Move to original position */
        }
    }

    table img {
        margin-top: 5px;
    }

    th,
    td {
        font-weight: normal;
        padding: 7px;
        font-size: 14px;
        text-align: left;
        border-top: 1px solid #b98f59;
        border-bottom: 1px solid #735b3c;
        background: rgba(115, 91, 60, 0.4);
    }

    th {
        text-align: right;
        text-shadow: 1px 1px 2px black;
        background: #735b3c;
    }

    tr {
        transition: background-color 0.3s;
        /* Smooth transition for hover effect */
    }

    /* Define the hover effect */
    tr:hover {
        background: linear-gradient(135deg, #433523, #433523, #433523);
        /* Orange to dark orange gradient */
    }

    td:first-child {
        width: 36px;
        /* Adjust the width for the icon column */
        padding-right: 0;
        /* Remove padding on the right for the icon column */
    }

    td:nth-child(2) {
        width: auto;
        /* Allow the second column to expand */
        text-align: left;
        padding-left: 0;
    }

    td:nth-child(3) {
        width: auto;
        /* Allow the second column to expand */
        text-align: right;


    }

    td:nth-child(4) {
        width: 36px;
        /* Adjust the width for the icon column */
        padding-right: 0;
        /* Remove padding on the right for the icon column */
        text-align: left;
    }

    td:nth-child(5) {
        width: auto;
        /* Adjust the width for the icon column */

        text-align: left;
    }

    td:last-child,
    th:last-child {
        text-align: right;
    }

    /* Common styles for both tables */
    .table-enchant {
        margin: 15px 0;
        width: 100%;
        max-width: 100%;
        border-collapse: collapse;
        color: #fff;
        opacity: 0;
        animation: fadeInTable 0.5s ease forwards;
    }

    /* Define keyframes for fadeInTable animation */
    @keyframes fadeInTable {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Common styles for both table images */
    .table-enchant img {
        margin-top: 5px;
    }

    /* Common styles for both th and td */
    .table-enchant th,
    .table-enchant td {
        font-weight: normal;
        padding: 7px;
        text-align: left;
        border-top: 1px solid #b98f59;
        border-bottom: 1px solid #735b3c;
        background: rgba(115, 91, 60, 0.4);
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    /* Define the hover effect for both tables */
    .table-enchant tr:hover {
        background: linear-gradient(135deg, #433523, #433523, #433523);
    }

    /* Adjustments specific to table-enchant */
    .table-enchant th {
        text-align: left;
        text-shadow: 1px 1px 2px black;
        background: #735b3c;
    }

    .table-enchant td:first-child,
    .table-enchant td:nth-child(4) {
        width: 36px;
        padding-right: 0;
    }

    .table-enchant td:nth-child(2) {
        width: auto;
        text-align: left;
    }

    .table-enchant td:nth-child(3),
    .table-enchant td:nth-child(5) {
        width: auto;
        text-align: left;
    }

    .table-enchant td:last-child,
    .table-enchant th:last-child {
        text-align: right;
        padding-right: 10px;
    }


    /* Table EVENTS MOBILE */
    .table-events {
        margin: 15px 0;
        width: 100%;
        border-collapse: collapse;
        color: #fff;
        opacity: 0;
        animation: fadeInTable 0.5s ease forwards;
    }

    /* Define keyframes for fadeInTable animation */
    @keyframes fadeInTable {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Common styles for both table images */
    .table-events img {
        margin-top: 5px;
    }

    /* Common styles for both th and td */
    .table-events th,
    .table-events td {
        font-weight: normal;
        padding: 7px;
        text-align: left;
        border-top: 1px solid #b98f59;
        border-bottom: 1px solid #735b3c;
        background: rgba(115, 91, 60, 0.4);
    }

    /* Define the hover effect for both tables */
    .table-events tr:hover {
        background: linear-gradient(135deg, #433523, #433523, #433523);
    }

    /* Adjustments specific to table-enchant */
    .table-events th {
        text-align: left;
        text-shadow: 1px 1px 2px black;
        background: #735b3c;
    }

    .table-events td:first-child,
    .table-events td:nth-child(4) {
        width: 36px;
        padding-right: 0;
    }

    .table-events td:nth-child(2) {
        width: auto;
        text-align: left;
    }

    .table-events th:nth-child(5),
    .table-events th:nth-child(6),
    .table-events th:nth-child(7),
    .table-events th:nth-child(8),
    .table-events th:nth-child(9),
    .table-events th:nth-child(10),
    .table-events th:nth-child(11) {
        display: none;
    }

    .table-events td:nth-child(5),
    .table-events td:nth-child(6),
    .table-events td:nth-child(7),
    .table-events td:nth-child(8),
    .table-events td:nth-child(9),
    .table-events td:nth-child(10),
    .table-events td:nth-child(11) {
        display: none;
    }

    .table-events td:last-child,
    .table-events th:last-child {
        text-align: right;
        padding-right: 30px;
    }


    /* Table SIEGES MOBILE */
    .table-olympiad {
        margin: 15px 0;
        width: 100%;
        border-collapse: collapse;
        color: #fff;

        opacity: 0;
        animation: fadeInTable 0.5s ease forwards;
    }

    /* Define keyframes for fadeInTable animation */
    @keyframes fadeInTable {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Common styles for both table images */
    .table-olympiad img {
        margin-top: 5px;
    }

    /* Common styles for both th and td */
    .table-olympiad th,
    .table-olympiad td {
        font-weight: normal;
        padding: 7px;
        text-align: left;
        border-top: 1px solid #b98f59;
        border-bottom: 1px solid #735b3c;
        background: rgba(115, 91, 60, 0.4);
    }

    /* Define the hover effect for both tables */
    .table-olympiad tr:hover {
        background: linear-gradient(135deg, #433523, #433523, #433523);
    }

    /* Adjustments specific to table-enchant */
    .table-olympiad th {
        text-align: left;
        text-shadow: 1px 1px 2px black;
        background: #735b3c;
    }

    .table-olympiad td:first-child {
        width: 36px;
        /* Adjust the width for the icon column */
        padding-right: 0;
        /* Remove padding on the right for the icon column */
    }

    .table-olympiad td:nth-child(2) {
        width: 600px;
        /* Allow the second column to expand */
        text-align: left;

    }

    .table-olympiad td:nth-child(3) {
        width: auto;
        /* Allow the second column to expand */
        text-align: left;
    }

    .table-olympiad td:nth-child(4) {
        width: auto;
        /* Adjust the width for the icon column */
        padding-right: 0;
        /* Remove padding on the right for the icon column */
        text-align: left;
    }

    .table-olympiad td:nth-child(5) {
        width: auto;
        /* Adjust the width for the icon column */
        text-align: left;
    }

    .table-olympiad td:last-child,
    .table-olympiad th:last-child {

        text-align: left;
        padding-right: 14px;
    }


}


/* Mobile - Vote Section */
@media only screen and (max-width: 768px) {

    #vote-section {
        height: 100%;
        background-attachment: fixed;
        /* Keep the background image fixed */
        background-position: 970px center;
    }

    .containervotes {
        display: flex;
        flex-wrap: wrap;
        margin-top: 25px;
        justify-content: center;
        gap: 35px;
        /* Distribute items evenly across the container */
    }

    .advertising-box {
        width: calc(50% - 15px);
        min-height: 380px;
        height: auto;
        margin-bottom: 20px;
        margin-right: 10px;
        background: radial-gradient(circle at top, rgba(40, 35, 30, 0.85) 0%, rgba(10, 10, 10, 0.98) 100%);
        border: 1px solid rgba(177, 164, 124, 0.2);
        color: #fff;
        padding: 20px 10px;
        text-align: center;
        border-radius: 4px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        position: relative;
        overflow: hidden;
    }

    .advertising-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, #ceaf84, transparent);
        opacity: 0.5;
        z-index: 3;
    }

    .advertising-box::after {
        content: '';
        position: absolute;
        top: 5px;
        right: 5px;
        bottom: 5px;
        left: 5px;
        border: 1px solid rgba(177, 164, 124, 0.05);
        pointer-events: none;
        z-index: 3;
    }

    .advertising-box:nth-child(odd) {
        margin-right: 0;
        /* Remove margin for odd boxes on smaller screens */
        margin-left: 10px;
    }

    .advertising-box img {
        max-width: 100%;
        height: auto;
    }

    .buttondiscord-mobile {
        display: inline-block;
        padding: 10px 15px;
        width: 135px;
        background: linear-gradient(180deg, #3a2f21 0%, #1c150e 100%);
        border: 1px solid rgba(206, 175, 132, 0.4);
        color: #ceaf84;
        font-family: 'Supernatural_Knight', sans-serif;
        font-size: 13px;
        font-weight: bold;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
        text-decoration: none;
        border-radius: 4px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
        transition: all 0.3s ease;
        text-align: center;
        letter-spacing: 0.5px;
        margin-top: 10px;
    }

    .buttondiscord-mobile:hover {
        background: linear-gradient(180deg, #ceaf84 0%, #998773 100%);
        color: #000;
        border-color: #fff;
        box-shadow: 0 0 15px rgba(206, 175, 132, 0.6);
        transform: translateY(-1px);
    }

    .buttondiscord-mobile:active {
        background: linear-gradient(180deg, #998773 0%, #735b3c 100%);
        transform: translateY(1px);
    }

}


#rules-section {
    background-image: url('../images/backgrounds/bgrules.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
    padding-top: 90px;
    padding-bottom: 70px;
}

#rules-section::after {
    content: "";
    /* Create the pseudo-element */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    /* Adjust the overlay color and opacity */
    z-index: 1;
    /* Ensure the overlay is above the background image */
}

#rules-section::before {
    content: "";
    background-image: url('../images/backgrounds/bgrules.jpg');
    /* Background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Ensure the background image is below the overlay */
}

#rules-section h2 {
    font-family: 'Supernatural_Knight';
    font-size: 28px;
    z-index: 2;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 5px;
}

#rules-section p {
    z-index: 2;
    max-width: 650px;
    color: #fff;
    margin: 5px 0;
    font-size: 14px;
}

.rules-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    position: relative;
    /* Establishes the positioning context */
    z-index: 9998;
    /* Set a high z-index value */
}

@media (min-width: 368px) and (max-width: 1024px) {

    header {
        padding: 15px 0;
        height: 70px;
        max-width: 1024px;
    }

    nav {
        text-align: center;
        margin-left: 35px;
        /* Adjusted to align from the left */
        margin-right: 0;
        /* Adjusted to align from the left */
        margin-top: -10px;
    }

    .logo {
        display: none;
    }

    .logotype {
        margin-top: 10px;
        max-width: 200px !important;
        /* Scale down the logo */
    }



    /* Hero section adjustments */
    #hero-section {
        height: 100vh;
        /* Set a comfortable height */
    }

    #hero-section h1,
    #hero-section h2 {
        font-size: 0.8em;
        ;
        /* Adjust font size */
    }

    #hero-section p {
        font-size: 0.8em;
        /* Adjust font size */
    }

    #download-section {
        height: 100vh;
        /* Set a comfortable height */
    }

    #download-section h1,
    #download-section h2 {
        font-size: 0.8em;
        /* Adjust font size */
    }

    #download-section p {
        font-size: 0.8em;
        /* Adjust font size */
    }

    #features-section {
        min-height: 100vh;
        /* Set a comfortable height */
    }

    #features-section h1,
    #features-section h2 {
        font-size: 0.8em !important;
        /* Adjust font size */
    }

    #features-section p {
        font-size: 0.8em;
        /* Adjust font size */
    }

    #vote-section {
        height: 100vh;
        /* Set a comfortable height */
    }

    #vote-section h1,
    #features-section h2 {
        font-size: 0.8em !important;
        /* Adjust font size */
    }

    #vote-section p {
        font-size: 0.8em;
        /* Adjust font size */
    }


    #countdown {
        font-size: 24px;
        font-weight: normal;
        color: #fff;
        z-index: 9999;
        margin-bottom: 25px;
        margin-top: -10px;
    }

    .image-gallery {
        margin-top: 20px;
    }

    .tooltip-container {
        margin-right: 0;
    }

    .margin-top {
        margin-top: 35px;
    }

    .hero-chart {
        max-width: 400px;
        /* Adjust as needed */
        width: 350px;
        margin: 0 50px;
    }

    .progress-bar {
        width: 100%;
    }

    /* Card and content container adjustments */
    .dcardcontainer,
    .containervotes {
        gap: 35px;
        justify-content: center;
        /* Center content */
    }

    .dcardcard {
        width: 350px;
        /* Scale down card width */
        padding: 10px;
        /* Reduce padding */
    }

    .downloadtitle {
        font-size: 25px;
        text-transform: uppercase;
        color: #735b3c;
        margin-top: 25px;
    }

    .dcardcontent {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 35px;
        margin-bottom: 0;
    }

    .dcardcolumn {
        flex: 1;
        margin-right: 20px;
    }

    .dcardcolumn:last-child {
        flex: 1;
        margin-right: 0;
    }

    .dcardleft {
        display: flex;
        flex-direction: column;
        /* Stack elements vertically */
        align-items: center;
        /* Center the items */
        position: relative;
        /* Ensures normal positioning */
        margin-top: 25px;
    }

    .dcardleft img {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 15px;
        /* Adds space between the image and the text */
    }

    .text {
        margin-top: 40px;
        text-align: center;
    }


    .dcarddownload-button {
        margin-right: 5px;
    }



    .dcardcard img {
        width: 70%;
        border-radius: 15px;
        margin: -30px auto;
        display: block;
        /* Ensures the image is treated as a block element */
        height: auto;
        /* Allows the image to scale proportionally */
        filter: brightness(100%);
        /* Initial state */
        transition: ease-in-out 0.5s;
        /* Smooth transition for brightness changes */
    }



    .section {
        width: 100%;
        /* Use full width */
        max-width: 95%;
        /* Limit maximum width */
        margin: 0 auto;
        /* Center content */
        padding: 20px;
        /* Add some padding for comfort */
        box-sizing: border-box;
        /* Include padding in the element's total width */
    }


    .content h2 {
        margin: 0 auto;
        font-size: 0.8em !important;
    }

    /* Table adjustments */
    table,
    th,
    td {
        font-size: 14px;
        /* Reduce table font size */
        padding: 5px;
        /* Adjust padding */
    }

    /* Image gallery adjustments */
    .image-wrapper img {
        max-width: 60%;
        /* Ensure images don't overflow */
        height: auto;
    }

    .sidebar-icons {
        display: none;
    }

    /* Sidebar and feature buttons */
    .sidebar-icons img {
        width: 80px;
        /* Adjust size */
        height: 80px;
    }

    .featuresbutton {
        width: 150px;
        /* Reduce button width */
        padding: 8px 15px;
        /* Adjust padding */
    }


    .containervotes {
        display: flex;

        gap: 35px;
        /* Add space between items */
        margin-top: 25px;
        justify-content: center;
        /* Center the items */
    }

    .advertising-box {
        width: 100%;
        max-width: 280px;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .account-icon img {
        width: 40px;
    }

    .buttondiscord-desktop {
        font-size: 13px;
        width: 130px;
    }

}


/* Media query for laptops */
@media (min-width: 1024px) and (max-width: 1366px) {

    /* Header adjustments */
    header {
        padding: 15px 0;
        height: 70px;

    }

    nav {
        text-align: center;
        margin-left: 35px;
        /* Adjusted to align from the left */
        margin-right: 0;
        /* Adjusted to align from the left */
        margin-top: -10px;
    }

    .logo {
        display: none;
    }

    .logotype {
        margin-top: 10px;
        max-width: 200px !important;
        /* Scale down the logo */
    }



    /* Hero section adjustments */
    #hero-section {
        height: 100vh;
        /* Set a comfortable height */
    }

    #hero-section h1,
    #hero-section h2 {
        font-size: 0.8em;
        ;
        /* Adjust font size */
    }

    #hero-section p {
        font-size: 0.8em;
        /* Adjust font size */
    }

    #download-section {
        height: 100vh;
        /* Set a comfortable height */
    }

    #download-section h1,
    #download-section h2 {
        font-size: 0.8em;
        /* Adjust font size */
    }

    #download-section p {
        font-size: 0.8em;
        /* Adjust font size */
    }

    #features-section {
        min-height: 100vh;
        /* Set a comfortable height */
    }

    #features-section h1,
    #features-section h2 {
        font-size: 0.8em !important;
        /* Adjust font size */
    }

    #features-section p {
        font-size: 0.8em;
        /* Adjust font size */
    }

    #vote-section {
        height: 100vh;
        /* Set a comfortable height */
    }

    #vote-section h1,
    #features-section h2 {
        font-size: 0.8em !important;
        /* Adjust font size */
    }

    #vote-section p {
        font-size: 0.8em;
        /* Adjust font size */
    }


    #countdown {
        font-size: 30px;
        font-weight: normal;
        color: #fff;
        z-index: 9999;
        margin-bottom: 25px;
        margin-top: -10px;
    }

    .image-gallery {
        margin-top: 20px;
    }

    .tooltip-container {
        margin-right: 0;
    }

    .margin-top {
        margin-top: 35px;
    }

    .hero-chart {
        max-width: 400px;
        /* Adjust as needed */
        width: 350px;
        margin: 0 50px;
    }

    .progress-bar {
        width: 100%;
    }

    /* Card and content container adjustments */
    .dcardcontainer,
    .containervotes {
        gap: 35px;
        justify-content: center;
        /* Center content */
    }

    .dcardcard {
        width: 350px;
        /* Scale down card width */
        padding: 10px;
        /* Reduce padding */
    }

    .downloadtitle {
        font-size: 25px;
        text-transform: uppercase;
        color: #735b3c;
        margin-top: 25px;
    }

    .dcardcontent {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 35px;
        margin-bottom: 0;
    }

    .dcardcolumn {
        flex: 1;
        margin-right: 20px;
    }

    .dcardcolumn:last-child {
        flex: 1;
        margin-right: 0;
    }

    .dcardleft {
        display: flex;
        flex-direction: column;
        /* Stack elements vertically */
        align-items: center;
        /* Center the items */
        position: relative;
        /* Ensures normal positioning */
        margin-top: 25px;
    }

    .dcardleft img {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 15px;
        /* Adds space between the image and the text */
    }

    .text {
        margin-top: 40px;
        text-align: center;
    }


    .dcarddownload-button {
        margin-right: 5px;
    }



    .dcardcard img {
        width: 70%;
        border-radius: 15px;
        margin: -30px auto;
        display: block;
        /* Ensures the image is treated as a block element */
        height: auto;
        /* Allows the image to scale proportionally */
        filter: brightness(100%);
        /* Initial state */
        transition: ease-in-out 0.5s;
        /* Smooth transition for brightness changes */
    }



    .section {
        width: 100%;
        /* Use full width */
        max-width: 95%;
        /* Limit maximum width */
        margin: 0 auto;
        /* Center content */
        padding: 20px;
        /* Add some padding for comfort */
        box-sizing: border-box;
        /* Include padding in the element's total width */
    }


    .content h2 {
        margin: 0 auto;
        font-size: 0.8em !important;
    }

    /* Table adjustments */
    table,
    th,
    td {
        font-size: 14px;
        /* Reduce table font size */
        padding: 5px;
        /* Adjust padding */
    }

    /* Image gallery adjustments */
    .image-wrapper img {
        max-width: 60%;
        /* Ensure images don't overflow */
        height: auto;
    }

    .sidebar-icons {
        display: none;
    }

    /* Sidebar and feature buttons */
    .sidebar-icons img {
        width: 80px;
        /* Adjust size */
        height: 80px;
    }

    .featuresbutton {
        width: 150px;
        /* Reduce button width */
        padding: 8px 15px;
        /* Adjust padding */
    }


    .containervotes {
        display: flex;

        gap: 35px;
        /* Add space between items */
        margin-top: 25px;
        justify-content: center;
        /* Center the items */
    }

    .advertising-box {
        width: 100%;
        max-width: 280px;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .account-icon img {
        width: 40px;
    }

    .buttondiscord-desktop {
        font-size: 13px;
        width: 130px;
    }



}



/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .section {
        padding: 15px;
        /* Slightly reduce padding */
    }
}

@media (max-width: 600px) {
    .section {
        padding: 10px;
        /* Further reduce padding */
    }
}

@media (max-width: 480px) {
    .section {
        padding: 5px;
        /* Minimal padding for very small devices */
    }
}

/* Responsive styles for screens 769px to 1023px */
@media (min-width: 769px) and (max-width: 1023px) {
    .table-desktop {
        display: none;
        /* Hide desktop tables for this range */
    }

    .table-mobile {
        display: table;
        /* Show mobile tables */
    }

    /* General layout adjustments for sections */
    #section1,
    #section2,
    #section3,
    #section4 {
        margin: 0 auto;
        /* Center sections */
        max-width: 800px;
        /* Limit section width */
    }

    h2 {
        font-size: 1.8rem;
        /* Adjust section title size */
        text-align: center;
        /* Center titles */
    }

    p {
        text-align: center;
        /* Center text paragraphs */
    }

    /* Optional: Style for images in the section */
    img {
        max-width: 100%;
        /* Ensure images are responsive */
        height: auto;
        /* Maintain aspect ratio */
    }
}

/* Styles for larger screens */
@media (min-width: 1024px) {
    .table-mobile {
        display: none;
        /* Hide mobile tables for larger screens */
    }

    .table-desktop {
        display: table;
        /* Show desktop tables */
    }
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
    .content {
        padding: 10px;
        /* Reduce padding on smaller screens */
        margin: 10px;
        /* Adjust margin for smaller screens */
        border-width: 3px;
        /* Thinner border for smaller screens */
    }

    .main_logo {
        margin-top: 85px;
        margin-bottom: 5px;
    }

    .image-gallery {
        gap: 10px;
        margin-top: 10px;
    }

    .image-wrapper {
        width: 100px;
    }

    .image-wrapper img {
        width: 50px;
        height: 50px;
    }

    .cta-button2 {
        margin-top: 15px;
        padding: 15px 30px;
        font-size: 18px;
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 5px;
        /* Further reduce padding */
        margin: 5px;
        /* Further adjust margin */
        border-width: 2px;
        /* Even thinner border */
    }

    .main_logo {
        margin-top: 75px;
    }

    .image-wrapper {
        width: 80px;
    }

    .image-caption {
        font-size: 0.6rem;
    }
}

div#section2 {
    background: rgba(115, 91, 60, 0.4);
}

/* =============================================
   PREMIUM COOKIE CONSENT BANNER
   ============================================= */
.cookie-banner-container {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    width: 90%;
    max-width: 850px;
    background: radial-gradient(circle at top, rgba(40, 35, 30, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    border: 1px solid rgba(206, 175, 132, 0.3);
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9), inset 0 0 15px rgba(206, 175, 132, 0.05);
    z-index: 100000;
    padding: 20px 25px;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cookie-banner-container.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ceaf84, transparent);
    opacity: 0.8;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner-icon {
    font-size: 32px;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-banner-text {
    flex: 1;
    text-align: left;
}

.cookie-banner-text h3 {
    margin: 0 0 5px 0;
    font-family: 'Supernatural_Knight', serif;
    font-size: 18px;
    letter-spacing: 1px;
    background: linear-gradient(180deg, #fff 0%, #ceaf84 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 13px !important;
    color: #ccc !important;
    line-height: 1.4 !important;
}

.cookie-banner-text a {
    color: #ffd700;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-banner-text a:hover {
    color: #fff;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    font-family: 'Supernatural_Knight', sans-serif;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.btn-accept {
    background: linear-gradient(180deg, #ceaf84 0%, #998773 100%);
    border: 1px solid #fff;
    color: #000;
    box-shadow: 0 4px 15px rgba(206, 175, 132, 0.3);
}

.btn-accept:hover {
    background: linear-gradient(180deg, #fff 0%, #ceaf84 100%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.btn-decline {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(206, 175, 132, 0.4);
    color: #ceaf84;
}

.btn-decline:hover {
    background: rgba(181, 41, 35, 0.15);
    border-color: #b52923;
    color: #fff;
    box-shadow: 0 0 15px rgba(181, 41, 35, 0.3);
    transform: translateY(-1px);
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-banner-text {
        text-align: center;
    }
    
    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}

/* Rules table container height constraint to prevent overflow overlap */
.rules-content-box {
    max-height: calc(100vh - 330px) !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: #ab9986 rgba(5, 5, 5, 0.9) !important;
    padding-right: 15px !important;
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

/* Custom scrollbar for rules box to match L2 premium theme */
.rules-content-box::-webkit-scrollbar {
    width: 6px !important;
}
.rules-content-box::-webkit-scrollbar-track {
    background: rgba(5, 5, 5, 0.5) !important;
    border-radius: 3px !important;
}
.rules-content-box::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ceaf84, #847769) !important;
    border-radius: 3px !important;
    border: 1px solid rgba(0, 0, 0, 0.5) !important;
}
.rules-content-box::-webkit-scrollbar-thumb:hover {
    background: #ceaf84 !important;
}