body {
    font-family: 'Roboto', sans-serif;
}

.uk-container {
    max-width: 1300px;
}

#section1 {
    position: relative;
    height: 100vh;
    background: url(images/section1-bg.jpg) no-repeat center center/cover;
}

#videoBG {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.section1-content {
    position: relative;
    z-index: 222;
}

.logo {
    position: absolute;
    top: 17px;
    left: 44px;
}

.menu-top {
    width: 291px;
    height: 42px;
    background: url(images/top-links-bg.png) no-repeat center center/contain;
    position: absolute;
    top: 0;
    left: 104px;
}

.menu-top a {
    display: inline-block;
    width: 33%;
    text-align: center;
    font-size: 0;
}

.times-box {
    position: absolute;
    left: 0;
    top: 61vh;
}

.btnscroll {
    position: absolute;
    left: 50%;
    bottom: 20px;
    top: auto;
    transform: translateX(-50%);
    animation: ic-arrow 3s 0ms infinite ease-in-out;
}

@keyframes ic-arrow {
    50% {
        transform: translate(-50%, 7px);
    }
}

.main-menu {
    background: url(images/main-menu-bg.png) no-repeat center center/cover;
    height: 97px;
    position: absolute;
    bottom: 1px;
    left: 0;
    right: 0;
    width: 100%;
}

.main-menu ul {
    list-style: none;
    padding-left: 0;
}

.main-menu ul li {
    display: inline-block;
    margin: 0 50px;
    transition: all .2s ease;
}

.main-menu ul li:hover {
    -webkit-animation: flash 1.5s;
    animation: flash 1.5s;
}

@-webkit-keyframes flash {
    0% {
        opacity: .4;
    }
    100% {
        opacity: 1;
    }
}

@keyframes flash {
    0% {
        opacity: .4;
    }
    100% {
        opacity: 1;
    }
}

#section2 {
    background: url(images/bg-section2.jpg) no-repeat center top/cover;
    padding-bottom: 15px;
}

#server-info {
    padding-top: 36px;
    padding-bottom: 90px;
}

.btn-server-info {
    width: 299px;
    height: 50px;
    background: url(images/btn-server-info.png) no-repeat center center;
    border: none;
    outline: none;
    font-size: 0;
}

.text-intro {
    position: relative;
}

.audio-icon {
    margin-top: 185px;
    margin-left: -85px;
}

.inline-block {
    display: inline-block;
}

.relative {
    position: relative;
}

a.btn-back {
    position: absolute;
    top: -4px;
    right: -17px;
}

section#phucloi {
    padding-bottom: 15px;
}

.phucloi-box-img-items {
    position: absolute;
    left: 290px;
    top: 117px;
    z-index: 2;
}

.phucloi-box-img-character {
    position: absolute;
    right: -166px;
    top: -99px;
}

.eventNew-items-inner a {
    margin: 0 31px;
}

#eventNew {
    padding-bottom: 20px;
}

#section3 {
    background: url(images/bg-section3.jpg) no-repeat center top/cover;
}

#sukienduatop {
    padding-bottom: 20px;
}

.icon-kiem {
    position: absolute;
    left: -365px;
    top: 60px;
}

.sukienduatop-right {
    background: url(images/bg_text_eventduatop.png) no-repeat center top/cover;
    max-width: 510px;
    padding-top: 154px;
}

.sukienduatop-inner>div {
    margin: 0 8px;
}

.sukienduatop-text {
    padding: 0 5px;
}

.sukienduatop-text p {
    font-size: 24px;
    line-height: 31px;
    color: #f4e5c7;
    margin-bottom: 0;
    margin-top: 0px;
}

.sukienduatop-text p span {
    font-weight: bold;
    color: #c7691d;
}

.gallery-slider img {
    margin: auto;
}

.gallery-slider .slick-track {
    display: flex;
    align-items: center;
}

#game-gallery {
    padding-bottom: 20px;
}

.gallery-slider-item {
    padding-left: 123px;
}

.core-values__arrow {
    position: absolute;
    top: 55%;
    left: 25px;
    transform: translateY(-50%);
    cursor: pointer;
}

.core-values__arrow.core-values__arrow--right {
    left: auto;
    right: 25px;
}

#timeline {
    padding-bottom: 20px;
}

#footer {
    background: url(images/bg-footer.png) no-repeat center top/cover;
}

.footer-inner p {
    margin: 0;
    font-size: 18px;
    color: #FFF;
}

.footer-inner {
    padding-top: 50px;
}

#fixed-nav {
    width: 148px;
    height: 503px;
    background: url(images/nav-fixed.png) no-repeat center center/contain;
    display: inline-block;
    position: fixed;
    top: 45%;
    transform: translateY(-50%);
    left: 0;
    padding-top: 125px;
    box-sizing: border-box;
    z-index: 999;
}

#fixed-nav a {
    padding: 12px 0;
    display: inline-block;
    text-indent: -9999px;
    /* font-size: 0; */
}

#fixed-nav a:last-child {
    margin-top: 40px;
}

/* News Section Styles */
#news-section {
    background: url(images/bg-section2.jpg) center/cover no-repeat;
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

#news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.news-header {
    position: relative;
    z-index: 2;
    padding: 40px 0 20px;
}

.news-header img {
    max-height: 80px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.news-header img:hover {
    transform: scale(1.05);
}

.news-container {
    position: relative;
    z-index: 2;
}

.news-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
    width: 100%;
    /* Override UIKit flex classes */
    flex-direction: unset !important;
    flex-wrap: unset !important;
    justify-content: unset !important;
}

.news-item {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.news-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.news-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.news-date .day {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 12px;
    line-height: 1;
    margin-top: 2px;
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    color: #2c3e50;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 12px;
}

.news-category {
    background: #3498db;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.news-views {
    color: #95a5a6;
}

.news-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.news-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.view-more-btn {
    display: inline-block;
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    padding: 15px 40px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.3);
}

.view-more-btn:hover {
    background: linear-gradient(45deg, #229954, #27ae60);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 20px;
    }
    
    .news-item {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    #news-section {
        padding: 60px 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
        padding: 0 15px;
    }
    
    .news-item {
        max-width: 100%;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .news-item {
        max-width: 100%;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .view-more-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}
/* Server Info Content Styles */
.server-info-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

.server-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

.server-details h3 {
    color: #2c3e50;
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.detail-item {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    font-size: 14px;
}

.detail-item strong {
    color: #2c3e50;
}

.server-features {
    margin-bottom: 25px;
}

.server-features h4 {
    color: #27ae60;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.server-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.server-features li {
    background: #e8f6f3;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #2c3e50;
}

.server-schedule h4 {
    color: #e74c3c;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.schedule-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.schedule-item {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 150px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.schedule-item .time {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.schedule-item .event {
    display: block;
    font-size: 0.9em;
    opacity: 0.9;
}

/* Responsive for server info */
@media (max-width: 768px) {
    .server-info-content {
        padding: 20px;
        margin: 0 15px;
    }
    
    .server-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        margin-bottom: 15px;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .server-features ul {
        grid-template-columns: 1fr;
    }
    
    .schedule-grid {
        flex-direction: column;
    }
}