/* --------------------------------------------------
   1) GLOBAL / RESETS
-------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    color: #f1f1f1;
}

/* The entire site background is background2.png, 
   fixed for a subtle parallax effect if you want. */
.bg-wrapper {
    background: url('background2025_2.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
#close-bar {
    margin-left: 15px;
    cursor: pointer;
    font-weight: bold;
}
#announcement-bar {
    background: #ffcc00; /* Yellow background */
    color: #000; /* Black text */
    text-align: center;
    font-weight: bold;
    padding: 10px;
    font-size: 16px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
body {
    padding-top: 50px; /* Prevents content from being hidden under the bar */
}

/* --------------------------------------------------
   2) HERO SECTION (WITH LOGO)
-------------------------------------------------- */
.hero-overlay {
    position: relative;
    text-align: center;
    padding: 60px 20px;
}
.hero-overlay::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6); 
    z-index: 1; /* overlay to ensure readability */
}
.hero-content {
    position: relative;
    z-index: 2; /* above overlay */
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    width: 240px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    color: #FFD700; /* gold highlight */
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-menu a {
    display: inline-block;
    margin: 0 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
    background: rgba(255, 255, 255, 0.1);
}
.hero-menu a:hover {
    background: #FFD700;
    color: #333;
}

/* --------------------------------------------------
   3) MAIN CONTAINER
-------------------------------------------------- */
.main-container {
    background: rgba(0, 0, 0, 0.6);
    margin: 30px auto;
    width: 90%;
    max-width: 1200px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    padding: 30px 20px;
}

/* --------------------------------------------------
   4) NEWS BOX
-------------------------------------------------- */
.newsbox {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
}
.newsbox h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #FFD700;
}
.newsbox p {
    font-size: 1rem;
    margin-bottom: 15px;
}
.news-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(90deg, #4CAF50, #008CBA);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s, box-shadow 0.3s;
}
.news-btn:hover {
    background: linear-gradient(90deg, #008CBA, #4CAF50);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------
   5) RECOMMENDATION
-------------------------------------------------- */
.recommendation {
    background: rgba(255, 165, 0, 0.85);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
    text-align: center;
}
.recommendation h2 {
    margin: 0;
    font-size: 1.6rem;
    color: #333;
}
.star {
    color: gold;
    margin-right: 5px;
}

/* --------------------------------------------------
   6) SERVER LIST / GRID
-------------------------------------------------- */
.section-heading {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.server-card {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    position: relative;
}
.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.7);
}
.recommended-card {
    border: 2px solid gold;
}

/* Header */
.card-header {
    margin-bottom: 15px;
}
.server-title {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #FFD700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}
.server-subtitle {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* Body */
.card-body {
    margin-bottom: 20px;
}
.server-badges img {
    margin: 5px 4px;
}

/* Footer */
.card-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* --------------------------------------------------
   7) BUTTONS & STATES
-------------------------------------------------- */
.server-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    color: #f1f1f1;
    border: 2px solid #f1f1f1;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    font-size: 1rem;
}
.server-btn:hover {
    background: #f1f1f1;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.coming-soon-btn {
    background: #555;
    border-color: #555;
    cursor: not-allowed;
}

.server-play-btn {
    background: linear-gradient(90deg, #4CAF50, #008CBA);
    border: none;
}
.server-play-btn:hover {
    background: linear-gradient(90deg, #008CBA, #4CAF50);
}

/* --------------------------------------------------
   8) SERVER TIME / COUNTDOWN
-------------------------------------------------- */
.serverTime {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    background-color: rgba(255, 165, 0, 0.9);
    padding: 8px 12px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.8);
}

.serverTime-upcoming {
    background: linear-gradient(135deg, #ffe259, #ffa751); /* Smooth gold-to-orange gradient */
    box-shadow: 0 4px 15px rgba(255, 183, 77, 0.6); /* Soft glow to add depth */
    color: #2c2c2c; /* Dark text for contrast */
    font-weight: bold; /* Bold text for emphasis */
    padding: 10px 15px; /* Slightly larger padding for a premium feel */
    border-radius: 12px; /* Rounded corners for a modern look */
    font-size: 1.1rem; /* Slightly larger font size */
    display: inline-flex; /* Flexbox for alignment */
    align-items: center; /* Center the content */
    justify-content: center; /* Center the content */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth animations */
}

.serverTime-upcoming:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
    box-shadow: 0 6px 20px rgba(255, 183, 77, 0.8); /* Enhanced glow on hover */
}


.serverTime .clock {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* --------------------------------------------------
   9) EXTRA TEXT
-------------------------------------------------- */
.advantages {
    margin-top: 20px;
    font-size: 1rem;
    color: #FFD700;
}
.coming-soon {
    margin-top: 10px;
}
.coming-soon-image {
    width: 150px;
    height: auto;
    margin: 5px 0;
}
.grand-opening-image {
    width: 130px;
    height: auto;
}
.newversion {
    width: 260px;
    height: auto;
}

/* --------------------------------------------------
   10) FOOTER
-------------------------------------------------- */
.footer {
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    font-size: 0.9rem;
    color: #bbb;
}

/* Shine effect */
.server-badge-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.4);
  transform: skewX(-25deg);
  transition: left 0.7s ease;
}
.server-badge-text:hover::before {
  left: 125%;
}

/* Hover lift */
.server-badge-text:hover {
  transform: translateY(-2px) scale(1.05);
}

/* Just Started (green) */
.badge-just-started {
  background: linear-gradient(135deg, #4ade80, #16a34a);
}

/* Starting Soon (amber) */
.badge-starting-soon {
  background: linear-gradient(135deg, #fbbf24, #d97706);
}
.server-badge-text {
  position: relative;
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.server-badge-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.4);
  transform: skewX(-25deg);
  transition: left 0.7s ease;
}
.server-badge-text:hover::before {
  left: 125%;
}
.server-badge-text:hover {
  transform: translateY(-2px) scale(1.05);
}

.badge-just-started {
  background: linear-gradient(135deg, #4ade80, #16a34a);
}
.badge-starting-soon {
  background: linear-gradient(135deg, #fbbf24, #d97706);
}
