.header {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(to bottom, rgba(21,23,27,0) 10%, #15171B 100%), url("https://vylis.net/resource/wikimg/gen/background_dark.png");
    background-size: cover;
    background-position: center;
}

.top-leiste {
    display: flex;
    align-items: center;
    padding: 10px;
}

.top-leiste-text {
    color: white;
    font-size: 20px;
    padding-left: 10px;
    font-weight: 600;
    font-family: 'Open Sans',sans-serif;
}

.corner-logo {
    width: 70px;
    height: 70px;
    margin: 0 0 00px 350px;
}

.back-btn {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    background-color: transparent !important;
    color: #c0c0c0;
    border-color: transparent !important;
    border-width: 0;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 17px;
    text-decoration: none;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    display: inline-block;
}

.back-btn:hover {
    color: #ffffff;
}

.title-container {
    position: relative;
    text-align: center;
    padding: 130px;
}

.title-container h1 {
    color: white;
    font-size: 3em;
    margin: 0;
}

.text-grey {
    color: #c0c0c0;
}

.text {
    word-wrap: break-word;
    position: relative;
    margin: 0;
}

.text-datum {
    font-size: 15px;
    color: #ffffff90;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500
}
.text-news {
    font-size: 18px;
    color: #ffffff90;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 400
}

.text-small {
    font-size: 0.875rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

.align-center {
    text-align: center;
}

.main-news {
    padding: 50px 50px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 22px;
    line-height: 150%;
    font-weight: 400;
    letter-spacing: .5px;
    color: rgba(255,255,255,.8)
}

.u-footer {
    background-image: none;
  }
  
  .u-footer .u-sheet-1 {
    min-height: 120px;
  }
  
  
  .u-footer .u-icon-1 {
    width: 43px;
    height: 43px;
    margin: -32px 480px 39px auto;
    padding: 0;
  }

.background-grey {
  color: #ffffff;
  background-color: #1a1a1a;
}

.text-white {
  color: #ffffff !important;
}

.u-clearfix:after,
.u-clearfix:before {
  content: '';
  display: table;
}
.u-clearfix:after {
  clear: both;
}

.u-footer {
    background-image: none;
}
  
.u-footer .u-sheet-1 {
    min-height: 120px;
}

.u-sheet {
    position: relative;
    margin: 0 auto;
}
  
.u-text {
    margin: 49px 707px 0 17px;
    font-size: 0.875rem;
    line-height: inherit;
    text-transform: inherit;
    font-family: 'Open Sans',sans-serif;
}

/* Mobile footer improvements */
@media screen and (max-width: 800px) {
    .u-text {
        margin: 20px 0;
        text-align: center;
        font-size: 0.8rem;
    }
    .u-footer .u-sheet-1 {
        padding: 20px;
    }
}

.u-file-icon img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.u-icon {
    display: block;
    line-height: 0;
    border-width: 0px;
}

.content-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.content-container {
    display: flex;
    align-items: flex-start;
    transition: background-color 0.3s, box-shadow 0.3s;
    padding: 15px;
    border-radius: 8px;
}

.content-container:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.main-image {
    max-width: 42%;
    max-height: 42%;
    height: auto;
    margin-right: 20px;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    object-fit: cover;
}

.text-container {
    max-width: 70%;
    line-height: normal;
    font-size: 1.15rem;
}

.news-header {
    color: white;
    font-size: 2rem;
    margin: 0;
}

@media screen and (max-width: 1300px) {
    .header {
        width: 100%;
        height: 400px;
    }
    .top-leiste {
        padding: 5px;
    }
    .top-leiste-text {
        font-size: 20px;
        padding-left: 10px;
        font-weight: 600;
    }
    .corner-logo {
        align-items: center;
        width: 70px;
        height: 70px;
        margin: 0 0 00px 350px;
    }
    .title-container {
        padding: 130px;
    }
    .title-container h1 {
        font-size: 3em;
    }
    .u-footer .u-sheet-1 {
        min-height: 120px;
      }
      .u-footer .u-icon-1 {
        align-items: center;
        width: 43px;
        height: 43px;
        margin: -32px auto 39px auto;
        padding: 0;
      }
    .back-btn {
        margin-bottom: 30px;
        font-weight: 400;
        font-size: 19px;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    }
    .main-part {
        padding: 50px;
        max-width: 85%;
        font-size: 22px;
        line-height: 150%;
        font-weight: 400;
        letter-spacing: .5px;
    }
    .main-image {
        max-width: 60%;
        max-height: 60%;
        margin-right: 20px;
        margin-left: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .text-container {
        max-width: 70%;
        font-size: 0.975rem;
    }
    .news-header {
        font-size: 1.5rem;
    }
    .content-container {
        transition: background-color 0.3s, box-shadow 0.3s;
    }
    .content-container:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    .text-small {
        font-size: 0.8rem;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .u-text {
        align-items: center;
        text-align: center;
        margin: 40px 0 40px 0;
        font-size: 0.875rem;
    }
}

/* Tablet Styles */
@media screen and (max-width: 1024px) and (min-width: 801px) {
    .header {
        height: 300px;
    }
    .title-container {
        padding: 80px 40px;
    }
    .title-container h1 {
        font-size: 2.5em;
    }
    .corner-logo {
        width: 50px;
        height: 50px;
        margin: 0 0 0 200px;
    }
    .top-leiste-text {
        font-size: 16px;
    }
    .main-news, .main-updates {
        padding: 30px 30px;
        font-size: 18px;
        box-sizing: border-box;
        width: 100%;
    }
    .content-container {
        flex-direction: column;
        text-align: center;
    }
    .main-image {
        max-width: 80%;
        max-height: 300px;
        margin: 0 auto 20px auto;
    }
    .text-container {
        max-width: 100%;
        font-size: 1rem;
    }
    .news-header {
        font-size: 1.8rem;
    }
    .buttons-container {
        margin: 0 auto 30px auto;
        width: auto;
        max-width: 100%;
    }
    .action-buttons {
        padding: 12px 15px;
        width: auto;
        max-width: 100%;
    }
    .action-button {
        padding: 8px 40px;
        font-size: 20px;
    }
    /* Update entries optimization for tablet */
    .update-entry {
        padding: 25px;
        margin: 0 auto 30px auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }
    .update-title {
        font-size: 1.8em;
        margin-bottom: 25px;
        line-height: 1.3;
    }
    .update-section-title {
        font-size: 1.1em;
        margin: 25px 0 12px 0;
    }
    .update-list {
        margin: 0 0 15px 15px;
        padding-right: 10px;
    }
    .update-list li {
        margin-bottom: 10px;
        line-height: 1.6;
        word-wrap: break-word;
    }
}

/* Mobile Styles */
@media screen and (max-width: 800px) {
    .header {
        width: 100%;
        height: 250px;
    }
    .top-leiste {
        padding: 10px;
        justify-content: center;
    }
    .top-leiste-text {
        font-size: 14px;
        padding-left: 10px;
        font-weight: 600;
    }
    .corner-logo {
        width: 40px;
        height: 40px;
        margin: 0;
    }
    .title-container {
        padding: 40px 20px;
    }
    .title-container h1 {
        font-size: 2em;
    }
    .text-news {
        font-size: 12px;
        color: #ffffff90;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 400;
        margin-bottom: 10px;
    }
    .u-footer .u-sheet-1 {
        min-height: 80px;
    }
    .u-footer .u-icon-1 {
        width: 35px;
        height: 35px;
        margin: -10px auto 15px auto;
    }
    .back-btn {
        margin-bottom: 20px;
        font-weight: 400;
        font-size: 14px;
        text-shadow: 1px 1px 2.5px rgba(0, 0, 0, 0.5);
    }
    .main-news, .main-updates {
        padding: 20px 15px;
        font-size: 16px;
        line-height: 1.6;
        box-sizing: border-box;
        width: 100%;
    }
    .content-container {
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }
    .main-image {
        max-width: 100%;
        max-height: 200px;
        margin: 0 auto 15px auto;
        border-radius: 8px;
    }
    .text-container {
        max-width: 100%;
        font-size: 0.9rem;
        text-align: left;
    }
    .news-header {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    .text-datum {
        font-size: 11px;
        color: #ffffff90;
        text-align: left;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 500;
        margin-bottom: 5px;
    }
    .text-small {
        font-size: 0.8rem;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .u-text {
        text-align: center;
        margin: 20px 0;
        font-size: 0.8rem;
    }
    .buttons-container {
        margin: 0 auto 20px auto;
        width: auto;
        max-width: 100%;
    }
    .action-buttons {
        padding: 10px 15px;
        margin-top: 5px;
        width: auto;
        max-width: 100%;
    }
    .action-button {
        padding: 8px 20px;
        font-size: 16px;
        margin: 0 5px;
    }
    .update-entry {
        padding: 20px 15px;
        margin: 0 auto 20px auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }
    .update-title {
        font-size: 1.5em;
        margin-bottom: 15px;
        line-height: 1.3;
        word-wrap: break-word;
    }
    .update-section-title {
        font-size: 1em;
        margin: 15px 0 8px 0;
        line-height: 1.4;
    }
    .update-list {
        font-size: 0.9em;
        margin: 0 0 12px 12px;
        padding-right: 5px;
        list-style-position: inside;
    }
    .update-list li {
        margin-bottom: 8px;
        line-height: 1.5;
        word-wrap: break-word;
        padding-left: 5px;
    }
    .update-date {
        font-size: 11px;
        margin-bottom: 8px;
    }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
    .header {
        height: 200px;
    }
    .title-container {
        padding: 30px 15px;
    }
    .title-container h1 {
        font-size: 1.8em;
    }
    .main-news, .main-updates {
        padding: 15px 10px;
        font-size: 14px;
        box-sizing: border-box;
        width: 100%;
    }
    .news-header {
        font-size: 1.2rem;
    }
    .main-image {
        max-height: 150px;
    }
    .update-entry {
        padding: 15px 10px;
        margin: 0 auto 15px auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }
    .update-title {
        font-size: 1.3em;
        line-height: 1.2;
        margin-bottom: 12px;
        word-wrap: break-word;
    }
    .update-section-title {
        font-size: 0.9em;
        margin: 12px 0 6px 0;
        line-height: 1.3;
    }
    .update-list {
        font-size: 0.85em;
        margin: 0 0 10px 10px;
        padding-right: 3px;
        list-style-position: inside;
    }
    .update-list li {
        margin-bottom: 6px;
        line-height: 1.4;
        word-wrap: break-word;
        padding-left: 3px;
    }
    .update-date {
        font-size: 10px;
        margin-bottom: 6px;
    }
}

.server-info-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    position: relative;
    z-index: 2;
    margin: 20px auto auto auto;
    width: 100%;
    box-sizing: border-box;
}

.buttons-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px auto; /* Center horizontally */
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.action-buttons {
    background: rgba(44, 44, 44, 0.8);
    padding: 15px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin-top: 10px;
    border: 1px solid rgba(255, 159, 28, 0.1);
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.action-button {
    background: transparent;
    color: white;
    padding: 10px 65px;
    border: 2px solid #ff9f1c;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 25px;
    margin: 0 10px;
}

.action-button.active {
    background-color: transparent;
    color: white;
    border-color: #9c7200;
    cursor: default;
}

.action-button:hover {
    background-color: #ff9f1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.3);
}

/* Additional mobile button optimizations */
@media screen and (max-width: 480px) {
    .action-buttons {
        padding: 8px 12px;
        margin-top: 5px;
        flex-direction: column;
        gap: 10px;
        width: auto;
        max-width: 100%;
    }
    .action-button {
        padding: 10px 25px;
        font-size: 14px;
        margin: 0;
        width: 100%;
        max-width: 200px;
    }
    .buttons-container {
        margin: 0 auto 15px auto;
        flex-direction: column;
        align-items: center;
        width: auto;
        max-width: 100%;
    }
}

.main-updates {
    padding: 50px 50px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Open Sans', sans-serif; /* Assuming this font is used or similar */
    box-sizing: border-box;
}

.update-date {
    font-size: 13px;
    color: #ffffff90;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px;
}

.update-title {
    color: white;
    font-size: 2em; /* Larger font size as seen in the image */
    margin: 0 0 30px 0;
    font-weight: 700; /* Bold */
}

.update-section-title {
    color: #c5c5c5;
    font-size: 1.1em;
    text-transform: uppercase;
    margin: 30px 0 10px 0;
    font-weight: 600;
}

.update-list {
    color: #adadad;
    list-style-type: disc; /* Bullet points */
    margin: 0 0 20px 20px;
    padding: 0;
}

.update-list li {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 1em;
}

.update-entry {
    background-color: #1a1a1a; /* Dark background for each entry */
    border-radius: 8px; /* Rounded corners */
    padding: 30px;
    margin: 0 auto 40px auto; /* Center horizontally */
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.main-news, .main-updates {
    display: none; /* Hide sections by default, JavaScript will show the active one */
}