/* 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;
}

::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #fff;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(0deg,#89640b,#aa753c);
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(0deg,#684f16,#ff8400);
  }

body {
    font-family: 'AdelonBook', Times New Roman, Times, serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Add this line to hide the horizontal scrollbar */
    top: 0px !important;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgb(41 34 34 / 52%);
    color: #fff;
    padding: 20px 0px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
    z-index: 9999;
}

.logo {
    max-width: 65px; /* Adjust the maximum width as needed */
    width: 100%;
    padding: 10px;
}

.logo:hover {
    animation: navLogo 0.3s ease forwards;
}

nav {
    text-align: center;
    margin-left: 20%;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 10px;
    display: inline-block;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    transition: .5s;
}

nav ul li a:hover {
    position: relative;
    z-index: 1;
    color: #dfad50;
    transition: background-color 0.3s ease;
}

#hero-section {
    background-image: url('../img/bg3.png');
    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;
}

#hero-section h2 {
    font-size: 36px;
    z-index: 2;
    color: #cf8b28;
    text-transform: uppercase;
    height: 0;
}

#hero-section p {
     z-index: 2;
     max-width: 650px;
     color: #fff;
}

.cta-button {
    display: inline-block;
    padding: 20px 36px;
    background: linear-gradient(0deg,#89640b,#db8934);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: .2s;
    height: 100%;
    font-size: 18px;
    text-transform: uppercase;
    width: 200px;
}

.cta-button:hover {
    filter: brightness(130%);
    text-shadow: 1px 1px rgba(0,0,0,.5);
}

.cta-button2 {
    display: inline-block;
    padding: 18px 36px;
    background: url(../img/aden-button.png) no-repeat 50%/100% auto;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: .2s;
    font-size: 24px;
    border: none;
    outline: none;
    cursor: pointer;
    margin-top: 20px;
    text-shadow: 0 0 10px rgba(206,111,0,.8);
    z-index: 999;
    width: 200px;
}

.cta-button2:hover {
    filter: brightness(130%);
}

#features-section {
    background-image: url('../img/bg2.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px;
    text-align: center;
    height: 630px;
    position: relative;
    z-index: 1; /* Ensure the section is above the blurred background */
}

#features2-section {
    background-color: #efebe2;
    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;
}

.blurry-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/bg2.jpg');
    background-size: cover;
    filter: blur(10px); /* 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 */
}

#features-section h2 {
    font-size: 32px;
    margin: 50px;
    color: white;
    text-transform: uppercase;
}

#features-section a {
    text-decoration: none;
}

#features-section a:hover {
    transform: scale(1.1);
}

#features-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

#features-section li {
    margin: 0 10px;
}

.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;
}

#community-section {
    background-image: url('../img/footage/l2-illust08.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px;
    text-align: center;
    height: 630px;
    position: relative;
    z-index: 1; /* Ensure the section is above the blurred background */
}

.blurry-bg-community {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/footage/l2-illust08.jpg');
    background-size: cover;
    filter: blur(10px); /* 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 */
}

#community-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

#download-section {
    background-image: url('../img/footage/l2-illust29-sd-valakas.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px;
    text-align: center;
    height: 630px;
    position: relative;
    z-index: 1; /* Ensure the section is above the blurred background */
}

.blurry-bg-download {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/footage/l2-illust29-sd-valakas.jpg');
    background-size: cover;
    filter: blur(10px); /* 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 */
}

#download-section h2 {
    font-size: 32px;
    margin: 50px;
    color: white;
    text-transform: uppercase;
}

#download-section p {
    font-size: 18px;
    color: #a49478;
    margin-top: 100px;
}

footer {
    background-color: #333;
    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 p {
    font-size: 16px; /* Adjust the font size as needed */
    margin: 0;
}

.smoke {
    position: absolute;
    left: 0;
    right: 0;
    height: 923px;
    width: 100%;
    background-image: url(../img/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-bottom: -20px;
    z-index: 999;
}

/* logotype */

.logotype {
	display: block;
    width: 100%;
	max-width: 400px;
	position: relative;
	z-index: 0;
}

.logotype__img {
	display: block;
	max-width: 100%;
}

.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; 
  }

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1e1d1d;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

#preloader.hide {
    opacity: 0;
    pointer-events: none;
}

.preloader-logo {
    max-width: 200px; /* Adjust the maximum width as needed */
    width: 100%;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    animation: spin 0.6s infinite alternate ease-in-out;
}

@keyframes spin {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1.3);
    }
}

/* 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;
}

.container-bar {
    width: 100%;
    max-width: 90px;
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}
  
  #btn-social {
    display: none;
  }
  
  .icon-social {
    transition: all 0.4s;
    transform: translateX(0%);
  }
  
  .container-bar a {
    width: 50px;
    height: 50px;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
    position: relative;
    transition: all 500ms ease;
    color: #3b5998;
    z-index: 100;
    opacity: 0.5;
  }
  
  .container-bar a:hover {
    transform: scale(1.2);
    opacity: 1;
  }
  
  .container-bar a::before {
    content: attr(data-title);
    position: absolute;
    left: 50%;
    transform: translateX(70px);
    background: #ffffff;
    padding: 0 8px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 3px;
    font-size: 15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .container-bar a:hover::before {
    opacity: 1;
    visibility: visible;
  }
  
  .fa-play {
    cursor: pointer;
    transition: all 0.4s;
    font-size: 12px;
    margin-bottom: 5px;
    display: inline-block;
    transform: rotate(180deg);
    color: #49b0e6;
  }

  .header_menu_item a {
    font-size: 16px;
    align-items: center;
    text-transform: uppercase;
    transition: 0.3s all;
    position: relative;
    z-index: 0;
    cursor: pointer;
    vertical-align: -webkit-baseline-middle;
}

  .header_menu_item img {
    margin-right: 8px;
    transition: 0.2s all;
    pointer-events: none;
}

.header_menu_item:hover img {
    animation: navImg 0.3s ease forwards;
}
.subnav {
	position: absolute;
	top: calc(100% + 15px);
	background-color: #fff;
	border-radius: 6px;
	padding: 5px 0;
	opacity: 0;
	visibility: hidden;
	transition: 0.3s all;
	filter: drop-shadow(0 8px 10px rgba(5, 5, 5, 0.6));
}

.header_menu_item:hover .subnav {
	opacity: 1;
	visibility: visible;
}

.subnav:before {
	display: block;
	content: "";
	height: 15px;
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	background-color: transparent;
}

.subnav:after {
	display: block;
	content: "";
	border: 5px solid transparent;
	border-bottom: 4px solid #fff;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 100%;
}

.subnav-item {
	text-decoration: none;
	display: flex;
	justify-content: center;
	align-items: center;
    padding: 10px 35px;
	white-space: nowrap;
	font-size: 14px;
	color: #939393;
	font-family: var(--font-1);
	transition: 0.3s all;
}

.subnav-item:hover {
	color: #5a5a5a;
	background-color: rgba(26, 26, 26, 0.07);
}

.skiptranslate {
    display: none !important;
}

/* Убираем подсветку ссылок */

.goog-text-highlight {
    background-color: inherit;
    box-shadow: none;
    box-sizing: inherit;
}

/* language */

.language {
    right: 10px;
    z-index: 999;
  }
  
  .language__img {
    cursor: pointer;
    transition: .2s all;
    box-shadow: 0 0 8px 2px #fff;
    border-radius: 50%; /* Add border-radius to create a rounded shape */
  }
  
.language__img:hover{
    box-shadow: 0 0 8px 2px #ffd76a;
}

  .language__img:hover,
  .language__img_default {
    opacity: 1;
  }

  .language__img.language__img_active {
    /* Add your styles here */
    border: 2px solid #ff9900; /* For example, add a border to the active icon */
}
  
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .dropdown ul.active {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  
  .dropdown ul li {
    list-style: none;
    padding: 5px;
    transition: background-color 0.2s ease;
  }
  
  .dropdown ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    transition: .2s all;
  }

  .dropdown ul li a:hover {
    box-shadow: 0 0 8px 2px #fff;
    border-radius: 50%; /* Add border-radius to create a rounded shape */
  }
  
  /* Add this CSS to make the icons fill the entire dropdown width */
  .dropdown ul li a img {
    height: auto;
  }
  
  /* Add animation for language change */
  .language__img_default {
    animation: scaleIn 0.3s ease;
  }

  .dec-line_bottom {
	top: 100%;
}

.dec-line {
	height: 9px;
	width: 100vw;
	position: absolute;
	left: 50%;
	transform: translate(-50%, -50%);
	box-sizing: border-box;
	border-bottom: 5px solid rgba(193, 180, 159, 0.3);
}

.dec-line2 {
    height: 11px;
    width: 100vw;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    box-sizing: border-box;
    border-top: 3px solid rgba(193, 180, 159, 0.3);
    border-bottom: 3px solid rgba(193, 180, 159, 0.3);
    z-index: 99;
}


.server {
    position: relative;
    z-index: 999;
    background-color: transparent;
    background-image: url(../img/icons/bg.png);
    background-size: contain;
    background-position: center center;
    border-radius: 4px;
    background-repeat: no-repeat;
    width: 200px;
    height: 66px;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    padding-left: 70px;
    box-sizing: border-box;
    cursor: default;
    margin-bottom: 75px;
}


.server__ico {
    background-color: transparent;
    background-image: url(../images/server/ico-1.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    width: 70px;
    height: 85px;
    position: absolute;
    top: -13px;
    left: 6px;
    z-index: 1;
    pointer-events: none;
}

.server__title {
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-1);
}

.server__progress {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 2px;
    margin-left: 3px;
    padding: 2px 0;
    box-sizing: border-box;
}

.server__progress-item {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    transform: rotate(45deg);
    box-shadow: 0 0 0 1px #c1cdd0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.server__progress-item:before {
    display: block;
    content: "";
    width: 8px;
    height: 8px;
    background: #ffd76a;
    margin: 1px;
    border-radius: 2px;
}

.server__tip {
    --width: 180px;
    width: var(--width);
    box-sizing: border-box;
    padding: 8px 10px;
    position: absolute;
    top: 100%;
    left: calc(50% - var(--width) / 2);
    background-color: #fff;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.06), 0 0 25px rgba(255, 255, 255, 0.32), inset 0 0 14px rgba(163, 161, 147, 0.33);
    border-radius: 6px;
    opacity: 1;
    transform: translateY(5px);
    transition: 0.3s all;
}

.server__tip::after {
    display: block;
    content: "";
    border: 5px solid transparent;
    border-bottom: 4px solid #f1f1ee;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;
}

/* life */

.life__title {
	color: rgb(156, 158, 159);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
}

.life__timer {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 7px;
	color: rgb(154, 110, 86);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}
.server__tip::after {
    display: block;
    content: "";
    border: 5px solid transparent;
    border-bottom: 4px solid #f1f1ee;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;
}

.border {
    width: 100%;
    height: 44px;
    background: url(../img/icons/border_line.png) center center repeat-x;
    margin: -16px auto;
    position: relative;
    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(../img/aden-button.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(../img/server-button.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 {
  position: fixed;
  bottom: 70px;
  right: 30px;
  display: none;
  z-index: 99;
}

#back-to-top-btn a {
  display: block;
  padding: 10px 15px;
  background: url(../img/aden-button.png) no-repeat 50%/100% auto;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  transition: .2s;
  text-transform: uppercase;
}

#back-to-top-btn a:hover {
   filter: brightness(130%);
}

.newsBlock-title {
    max-width: 370px;
    font-size: 32px;
    margin-bottom: 25px;
}

.feature-icon {
    width: 32px;
    margin: -18px 10px -15px 0;
    vertical-align: middle;
    border-radius: 50%;
    margin: -18px 10px -15px 0;
    border: solid 2px;
}

.desc-icon {
    border-radius: 50%;
    padding: 0px;
    margin: 2px;
    box-shadow: 0px 0px 6px;
    border: solid 1px #fbd181;
    width: 26px;
    vertical-align: middle;
}

#article-section {
    margin-top: 60px;
    display: flex;
    justify-content: space-between; /* To create space between the two containers */
}

.article-content {
    margin: 0 auto;
}

.article-content h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.article-content p {
    font-size: 16px;
    color: #666;
    margin-left: 15px;
    max-width: 600px;
}

.article-content h4 {
    font-size: 16px;
    color: #9f7334;
    max-width: 600px;
}

.article-content p::before {
    content: "\2022"; /* Unicode character for bullet (•) */
    position: relative;
    left: -10px; /* Adjust the distance between bullet and text */
    top: 50%; /* Position the bullet vertically in the middle */
    transform: translateY(-50%);
}

.article-content .extra-details::before {
    content: "-"; /* Use a hyphen as the content */
    position: relative;
    left: -10px; /* Adjust the distance between bullet and text */
    top: 50%; /* Position the bullet vertically in the middle */
    transform: translateY(-50%);
    margin-left: 20px;
}

.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: 10px; /* 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 */
}

.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 10px;
}

.mobile-nav li a {
    color: #fff;
    text-decoration: none;
}

@media only screen and (max-width: 1380px) {
    
    nav ul li {
        margin: 15px 0; /* Add spacing between navigation items */
    }
}
  /* Mobile Styles */
@media only screen and (max-width: 768px) {

    #features-section {
        height: 100%;
    }
    
    #download-section {
        height: 100%;
    }

    .cards-container ul {
        display: flex;
        flex-direction: column; /* Stack the cards vertically */
        gap: 20px; /* Add some spacing between cards */
    }
    
    .feature-card {
        width: 100%; /* Make the cards take full width of the container */
    } 

    .download-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .discord-widget {
        width: 100%;
    }

    header {
        padding: 10px 0px; /* Reduce the header padding for smaller screens */
        height: 60px; /* Reduce the header height for smaller screens */
    }

    .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 */
    }

    .language {
        margin-right: 50px;
    }

    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;
    }

    #hero-section h2 {
        font-size: 24px; /* Reduce the font size for smaller screens */
    }

    #hero-section p {
        font-size: 14px; /* Reduce the font size for smaller screens */
    }

    .cta-button {
        font-size: 18px; /* Reduce the font size for smaller screens */
        width: 150px; /* Reduce the button width for smaller screens */
        padding: 10px 36px;
        line-height: 2.5;
    }

    .cta-button2 {
        font-size: 18px; /* Reduce the font size for smaller screens */
        width: 180px; /* Reduce the button width for smaller screens */
    }
    
    .hamburger-icon {
        display: block;
        margin-right: auto;
    }

    /* Show the mobile navigation */
    .mobile-nav {
        display: block;
        background-color: #333;
        padding: 20px;
        position: absolute;
        top: 80px;
        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;
    }

    /* 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 */
    }

    #article-section .article-content img {
        max-width: 100%; /* Make images responsive within their containers */
        height: auto;
      }
    
    .category-container {
        width: 100%;
    }

    .categories-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .category-container h2 {
     font-size: 20px; /* Adjust font size for better mobile readability */
    }

    .category-container p,
    .category-container h4 {
     font-size: 14px; /* Adjust font size for better mobile readability */
    }

    .category-container .extra-details {
     font-size: 12px; /* Adjust font size for extra details */
    }

    .raid-boss {
        flex-direction: column; /* Stack raid boss info below the image */
        align-items: center;
    }

    .raid-boss-info {
        text-align: center;
        margin-top: 10px;
    }

    .raid-boss img {
        max-width: 100%; /* Make raid boss images responsive */
        height: auto;
    }

    .border {
        display: none; /* Hide border between sections for mobile */
    }

    #article-section {
        margin-top: 80px;
    }
}

.raid-boss {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    margin-right: 20px;
}

.raid-boss-info {
    max-width: 300px;
}


.raid-boss img {
    max-width: 300px;
    max-height: 300px;
    height: 150px;
}

.discord-widget {
    max-width: 500px;
    margin: auto;
}

/* ===== BOTÓN DE MÚSICA (REDONDO) ===== */
.music-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0,0,0,0.65);
    border: 2px solid #888;
    color: #fff;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 99999;
    backdrop-filter: blur(3px);
    transition: background 0.25s, transform 0.15s;
}

.music-btn:hover {
    background: rgba(0,0,0,0.85);
    transform: scale(1.05);
}

.music-btn:active {
    transform: scale(0.97);
}


/* ===== Chat flotante (WhatsApp / Messenger) ===== */
.chat-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    font-family: inherit;
}

/* Botón principal redondo */
.chat-toggle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: radial-gradient(circle at 30% 30%, #ffffff 0, #4b0082 35%, #000 100%);
    color: #fff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(0,0,0,0.7);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.chat-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 22px rgba(255, 0, 255, 0.7);
}

.chat-toggle:active {
    transform: scale(0.95);
}

/* Contenedor de opciones */
.chat-options {
    position: absolute;
    right: 0;
    bottom: 70px;
    display: none;
    flex-direction: column;
    gap: 8px;
}

/* Cuando está abierto */
.chat-options--open {
    display: flex;
}

/* Botones individuales */
.chat-option {
    min-width: 170px;
    padding: 8px 12px;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 0 12px rgba(0,0,0,0.7);
    transform: translateY(5px);
    opacity: 0;
    animation: chatSlideUp 0.18s forwards;
}

/* Colores específicos */
.chat-option--wa {
    background: #25D366;
}

.chat-option--msn {
    background: linear-gradient(45deg, #0084FF, #00C6FF);
}

.chat-option:hover {
    filter: brightness(1.08);
}

/* Animación de entrada */
@keyframes chatSlideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===== POPUP DE AYUDA ===== */
.chat-help-popup {
    position: fixed;
    right: 85px;
    bottom: 30px;
    background: rgba(30,30,30,0.92);
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    max-width: 220px;
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
    font-size: 14px;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    transition: all .35s ease;
    z-index: 9999;
}

/* Cuando se muestra */
.chat-help-popup.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chat-help-text strong {
    color: #ff66ff;
}

.chat-help-close {
    border: none;
    background: transparent;
    color: #bbb;
    font-size: 16px;
    cursor: pointer;
}

.chat-help-close:hover {
    color: #fff;
}

/* ===== ANIMACIÓN BOTÓN FLOTANTE ===== */
@keyframes pulseGlow {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 102, 255, 0.0); }
    50% { transform: scale(1.12); box-shadow: 0 0 12px rgba(255, 102, 255, 0.4); }
    100% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 102, 255, 0.0); }
}

.chat-toggle {
    animation: pulseGlow 2s infinite ease-in-out;
}


@keyframes helpBounce {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
    60% { transform: translateY(3px); }
}

.help-text-anim {
    animation: helpBounce 1.5s infinite ease-in-out;
}

/* Botón base */
.cta-button2 {
    position: relative;
    overflow: visible;
    display: inline-block;
    padding: 16px 50px;
}

/* ⭐ AURA DORADA (mantiene tu código original) */
.cta-button2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 180%;
    background: radial-gradient(circle, rgba(255,215,0,0.25) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    border-radius: 50%;
    animation: auraGlow 3s infinite ease-out;
    z-index: 0;
}

@keyframes auraGlow {
    0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
}

/* ⭐ RUNAS IZQUIERDA Y DERECHA */
.cta-button2 .runa {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    opacity: 0.9;
    animation: rotateRune 4s linear infinite;
    pointer-events: none; /* no tapa clics */
    z-index: 2;
}

/* Izquierda */
.cta-button2 .runa-left {
    left: -40px;
}

/* Derecha */
.cta-button2 .runa-right {
    right: -40px;
}

@keyframes rotateRune {
    from { transform: translateY(-50%) rotate(0deg); }
    to   { transform: translateY(-50%) rotate(360deg); }
}
