/* General Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
  font-family: Arial, sans-serif; 
  background: #111; 
  color: #fff; 
  transition: all 0.3s ease;
}

* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Dark theme (default) */
body.dark-theme { background: #111; color: #fff; }
body.dark-theme header { background: #222; }
body.dark-theme nav { background: #222; }
body.dark-theme .banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('Image/banner.png') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 120px 20px;
    position: relative;
  }
body.dark-theme .btn-download { background: #dc2626; color: #fff; }
body.dark-theme .btn-download:hover { background: #b91c1c; }
body.dark-theme .reviews { background: #1a1a1a; }
body.dark-theme .rating-box { background: #222; border: 1px solid #333; }
body.dark-theme .comment-item { background: #222; border: 1px solid #333; }
body.dark-theme footer { background: #222; color: #fff; }
body.dark-theme .dropdown-menu { background: #333; color: #fff; }
body.dark-theme .dropdown-menu a { color: #fff; }

/* Light theme */
body.light-theme { background: var(--bg-primary-light); color: var(--text-primary-light); }
body.light-theme header { background: var(--bg-primary-light); color: var(--text-primary-light); }
body.light-theme nav { background: var(--bg-primary-light); color: var(--text-primary-light); }
body.light-theme nav a { color: var(--text-primary-light); }
body.light-theme .logo-text { color: var(--text-primary-light) !important; }
body.light-theme .banner { background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)); color: var(--text-primary-light); }
body.light-theme .banner h1 { color: var(--text-primary-light); }
body.light-theme .banner p { color: var(--text-secondary-light); }
body.light-theme .btn-download { background: var(--accent-color); color: var(--text-primary-light); }
body.light-theme .btn-download:hover { background: var(--accent-hover); }
body.light-theme .reviews { background: var(--bg-secondary-light); color: var(--text-primary-light); }
body.light-theme .reviews h2 { color: var(--text-primary-light); }
body.light-theme .rating-box { background: var(--bg-primary-light); border: 1px solid var(--border-light); color: var(--text-primary-light); }
body.light-theme .comment-item { background: var(--bg-primary-light); border: 1px solid var(--border-light); color: var(--text-primary-light); }
body.light-theme .comment-header { color: var(--text-primary-light); }
body.light-theme .comment-date { color: var(--text-muted-light); }
body.light-theme .comment-text { color: var(--text-secondary-light); }
body.light-theme footer { background: var(--bg-primary-light); color: var(--text-primary-light); }
body.light-theme .dropdown-menu { background: var(--bg-primary-light); color: var(--text-primary-light); }
body.light-theme .dropdown-menu a { color: var(--text-primary-light); }
body.light-theme .stars { color: var(--star-color); }

/* Center login page */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Login Required Messages */
.login-required {
  background: #333;
  border: 1px solid #555;
  border-radius: 5px;
  padding: 15px;
  margin: 10px 0;
  text-align: center;
}

.login-required a {
  color: #ff3333;
  text-decoration: none;
  font-weight: bold;
}

.login-required a:hover {
  text-decoration: underline;
}

/* Reviews Page Styles */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.rating-summary {
  background: #222;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  text-align: center;
}

.rating-summary h2 {
  color: #ff3333;
  margin: 0;
}

.reviews-section {
  margin: 20px 0;
}

.comment-item {
  background: #222;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 20px;
  margin: 15px 0;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.user-rating {
  color: #ffd700;
  font-size: 18px;
}

.comment-date {
  color: #888;
  font-size: 14px;
  margin-left: auto;
}

.comment-text {
  line-height: 1.6;
  margin-bottom: 15px;
}

.admin-replies {
  margin-top: 15px;
  padding-left: 20px;
  border-left: 3px solid #ff3333;
}

.admin-reply {
  background: #333;
  padding: 15px;
  border-radius: 5px;
  margin: 10px 0;
}

.reply-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.reply-date {
  color: #888;
  font-size: 14px;
  margin-left: auto;
}

.reply-text {
  line-height: 1.5;
  color: #ddd;
}

.back-link {
  text-align: center;
  margin: 30px 0;
}

.back-link a {
  color: #ff3333;
  text-decoration: none;
  font-size: 18px;
  padding: 10px 20px;
  border: 1px solid #ff3333;
  border-radius: 5px;
  transition: all 0.3s;
}

.back-link a:hover {
  background: #ff3333;
  color: #fff;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  padding: 15px 50px;
}
/* --- Logo Image Fix for Header --- */
header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  height: 45px;      /* ✅ sakto lang sa header height */
  width: auto;       /* keep proportion */
  object-fit: contain;
  border-radius: 8px; /* optional, soft edges */
  transition: transform 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.05); /* small hover animation */
}

header nav ul { list-style: none; display: flex; gap: 20px; }
/* Ibaba ng konti ang nav links */
header nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
    top: 10px; /* adjust kung gaano kalalim gusto mo (3px–6px usually okay) */
  }
  
header nav ul li a:hover { color: #ff3333; }

/* Account Icon (bilog) */
.account-icon {
  width: 40px;
  height: 40px;
  background: #000000; /* Black background */
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.account-icon:hover {
  background: #333333; /* Dark gray on hover */
  border-color: #ff3333;
}

/* White Profile Icon for GUEST users */
.profile-icon {
  width: 24px;
  height: 24px;
  color: #ffffff; /* White color */
}

.account-icon:hover .profile-icon {
  color: #ff3333; /* Red on hover */
}

/* Profile Image for LOGGED-IN users */
.profile-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.account-icon:hover .profile-img {
  transform: scale(1.1);
  border: 2px solid #ff3333;
}

/* Profile Placeholder for LOGGED-IN users with no profile picture */
.profile-placeholder {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.account-icon:hover .profile-placeholder {
  transform: scale(1.1);
  background: linear-gradient(135deg, #764ba2, #667eea);
}
  
  /* Dropdown */
  .dropdown {
    position: relative;
  }
  .dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 50px;
    background: #222;
    border-radius: 5px;
    list-style: none;
    padding: 10px 0;
    min-width: 150px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.5);
    z-index: 999;
  }
  .dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
  }
  
  .dropdown-menu.show {
    display: block;
  }  
  
/* Banner */
.banner {
    background: url('banneraoer.png') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align content to the right */
    text-align: right;
    position: relative;
    padding-right: 8%; /* space from right edge */
  }
  
  .banner .overlay {
    background: rgba(0,0,0,0.6);
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
  }
  .download-count {
    margin-top: 15px;   /* dagdag space sa taas */
    font-size: 1rem;
    color: #fff;
    font-style: italic;
  }
  .banner h1 {
    font-size: 3rem;
    color: #ff3333;
    margin-bottom: 10px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  }
  
  .banner p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  }
  
  .download-free {
    font-size: 1.1rem;
    color: #ff3333;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    padding: 10px 20px;
    border: 2px solid #ff3333;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.3s ease;
    background: rgba(255, 51, 51, 0.1);
  }
  
  .download-free:hover {
    background: rgba(255, 51, 51, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 51, 51, 0.3);
  }
  
.btn-download {
  display: inline-block; /* Binago mula block para hindi laging 100% width */
  min-width: 200px;      /* Siguradong may sapat na lapad */
  max-width: 280px;      /* Para hindi masyadong mahaba sa desktop */
  width: 100%;           /* Susunod sa container pero hanggang max-width lang */
  padding: 12px 24px;    /* Mas makapal na padding para sa daliri ng user */
  margin: 10px auto;     /* Centered margin */
  border: none;
  border-radius: 8px;    /* Mas modernong kanto */
  background: #007bff;
  color: #fff;
  font-weight: bold;
  text-decoration: none; /* Para sa mga <a> tags */
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s; /* Smooth hover effect */
}

.btn-download:hover {
  background: #0056b3;
  transform: translateY(-2px); /* Umaangat nang kaunti pag nira-hover */
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
  
  

/* Trailer */
.trailer {
  padding: 60px 20px;
  text-align: center;
}
.trailer h2 {
  margin-bottom: 20px;
  color: #ff3333;
  font-size: 2rem;
}
.trailer video {
  width: 80%;
  max-width: 900px;
  border: 3px solid #444;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  header { padding: 15px 20px; }
  header nav ul { gap: 10px; flex-wrap: wrap; }
  .banner h1 { font-size: 2rem; }
  .banner p { font-size: 1rem; }
  .trailer video { width: 100%; }
}
.section-box {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 15px;
    padding: 40px;
    margin: 0 auto;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
  }
  
  .section-box:hover {
    border-color: #ff3333;
    box-shadow: 0 12px 40px rgba(255, 51, 51, 0.2);
  }

.about {
    padding: 60px 20px;
    background: #111;
    text-align: center;
  }
  .about h2 {
    color: #ff3333;
    margin-bottom: 20px;
    font-size: 2rem;
  }
  .about p {
    max-width: 100%;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.6;
  }

.download-section {
    padding: 60px 20px;
    background: #111;
    text-align: center;
  }
  
  .download-section h2 {
    color: #ff3333;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: bold;
  }

.team-section {
    padding: 60px 20px;
    background: #111;
    text-align: center;
  }
  
  .team-section h2 {
    color: #ff3333;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: bold;
  }
  
  .team-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .carousel-container {
    position: relative;
    height: 300px;
    overflow: hidden;
  }
  
  .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }
  
  .carousel-slide.active {
    opacity: 1;
  }
  
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 51, 51, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
  }
  
  .carousel-btn:hover {
    background: rgba(255, 51, 51, 1);
    transform: translateY(-50%) scale(1.1);
  }
  
  .carousel-btn.prev {
    left: 10px;
  }
  
  .carousel-btn.next {
    right: 10px;
  }
  
  .carousel-dots {
    text-align: center;
    margin-top: 20px;
  }
  
  .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #666;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .dot.active, .dot:hover {
    background: #ff3333;
    transform: scale(1.2);
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ff3333;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .team-photo:hover {
    border-color: #ff6666;
    box-shadow: 0 0 30px rgba(255, 51, 51, 0.6);
    transform: scale(1.05);
  }
  
  .carousel-slide h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 8px;
  }
  
  .carousel-slide p {
    color: #ccc;
    font-size: 1rem;
  }
  
/* Reviews */
.reviews {
    padding: 40px;
    background: #1a1a1a;
  }
  .reviews h2 { color: #ff3333; margin-bottom: 20px; }
  .review-list p { margin-bottom: 10px; }
  #reviewForm { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
  #reviewForm input, #reviewForm textarea {
    padding: 10px; border: none; border-radius: 5px;
  }
  #reviewForm button {
    padding: 10px; background: #ff3333; border: none; color: #fff; border-radius: 5px;
    cursor: pointer; font-weight: bold;
  }
  #reviewForm button:hover { background: #cc0000; }
  #newReviews { margin-top: 20px; }
  .comment-item { padding: 10px 12px; background:#151515; border-radius:6px; margin-bottom:10px; }
  .admin-reply { margin-left: 12px; color:#bbb; font-size:.95rem; }
  .see-all-link { display:inline-block; margin-top:8px; color:#ff3333; }
  .see-all-wrap { margin-top: 8px; }
  
  /* FAQ */
  .faq {
    padding: 40px;
    background: #222;
  }
  .faq h2 { color: #ff3333; margin-bottom: 20px; }
  .faq-item { margin-bottom: 15px; }
  .faq-item h3 { color: #fff; margin-bottom: 5px; }
  .faq-item p { color: #ccc; }
  
  /* Rating Stars */
.rating-box {
    margin-bottom: 20px;
  }
  .stars {
    font-size: 2rem;
    color: #444;
    cursor: pointer;
  }
  .stars span {
    margin: 0 5px;
    transition: color 0.3s;
  }
  .stars span.active {
    color: gold;
  }
  #avgRating {
    margin-top: 10px;
    font-weight: bold;
    color: #ff3333;
  }
  .rating-dist { margin-top: 12px; display: grid; gap: 8px; }
  .rating-row { display: grid; grid-template-columns: 16px 1fr 40px; align-items: center; gap: 8px; }
  .r-label { color: #ccc; }
  .r-bar { background:#2a2a2a; border-radius: 8px; height: 10px; overflow:hidden; }
  .r-fill { background:#6ea8fe; height: 100%; }

/* Auth & Admin basic styling */
.auth-container, .admin-container, .reviews-page, .download-container {
  max-width: 700px; margin: 40px auto; background: #1b1b1b; padding: 20px; border-radius: 10px;
}
.auth-container form input, .auth-container form button, .reply-form input, .reply-form button {
  width: 100%; padding: 10px; margin: 8px 0; border-radius: 6px; border: none;
}

/* reCAPTCHA styling */
.g-recaptcha {
  margin: 15px 0;
  display: flex;
  justify-content: center;
}

.g-recaptcha > div {
  transform: scale(0.9);
  transform-origin: center;
}
.auth-container form button, .reply-form button, .page-btn {
  background:#ff3333; color:#fff; cursor:pointer; font-weight:bold;
}
.error-box { background:#3b1a1a; color:#ffb3b3; padding:10px; border-radius:6px; margin-bottom:10px; }
.pagination { display:flex; gap: 12px; align-items:center; margin-top: 12px; }
.page-btn { padding: 6px 12px; border-radius: 6px; text-decoration:none; }
  

    :root { --primary:#667eea; --accent:#764ba2; --bg:#0f172a; --text:#0b1020; }
    body { transition: background 0.4s ease, color 0.4s ease; }
    body.dark { background:#0b1020; color:#e5e7eb; }
    a, .btn-download { transition: transform .2s ease, box-shadow .2s ease, color .2s ease; }
    a:hover, .btn-download:hover { transform: translateY(-2px); box-shadow:0 10px 20px rgba(0,0,0,.15); }
    header { position:sticky; top:0; z-index:10; backdrop-filter:saturate(180%) blur(8px); }
    nav ul {
      list-style: none;
      display: flex;
      justify-content: flex-end;
      margin-right: 20px;
    }
    nav ul li {
      margin-left: 20px;
    }
    nav ul li a {
      color: #fff;
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s;
    }
    nav ul li a:hover {
      color: #ff6600;
    }
    .banner .overlay { animation: fadeUp .8s ease both; }
    .reviews h2, .about h2, .trailer h2 { position:relative; }
    .reviews h2::after, .about h2::after, .trailer h2::after { content:""; display:block; width:60px; height:4px; background:linear-gradient(45deg, var(--primary), var(--accent)); border-radius:4px; margin-top:8px; animation: grow .6s ease; }
    .dropdown:hover .dropdown-menu { display:block; }
    .dropdown-menu { max-height:70vh; overflow:auto; }
    .btn { cursor:pointer; }
    .account-icon { background:none; border:none; cursor:pointer; border-radius:50%; overflow:hidden; transition:transform .2s ease, box-shadow .2s ease; }
    .account-icon:hover { transform:scale(1.1); box-shadow:0 0 20px rgba(220,38,38,0.3); }
    .profile-img { width:40px; height:40px; object-fit:cover; border-radius:50%; }
    .profile-placeholder { width:40px; height:40px; background:linear-gradient(135deg, #667eea, #764ba2); color:white; display:flex; align-items:center; justify-content:center; font-weight:bold; font-size:1.2rem; }
    @keyframes fadeUp { from{opacity:0; transform: translateY(20px);} to{opacity:1; transform:none;} }
    @keyframes grow { from{width:0} to{width:60px} }
    
    /* Settings Modal Styles */
    #settingsModal { display:none; position:fixed; inset:0; background:rgba(0,0,0,.6); align-items:center; justify-content:center; z-index:1000; }
    .settings-content { background:#fff; max-width:800px; width:95%; border-radius:16px; overflow:hidden; box-shadow:0 25px 50px rgba(0,0,0,.3); animation:modalSlide .3s ease; }
    .settings-header { background:linear-gradient(135deg, var(--primary), var(--accent)); color:#fff; padding:20px; display:flex; justify-content:space-between; align-items:center; }
    .settings-body { padding:24px; max-height:70vh; overflow-y:auto; }
    .settings-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:20px; }
    .form-group { margin-bottom:20px; }
    .form-group label { display:block; font-weight:600; margin-bottom:8px; color:#374151; }
    .form-group input, .form-group select { width:100%; padding:12px 16px; border:2px solid #e5e7eb; border-radius:8px; font-size:14px; transition:border-color .2s ease; }
    .form-group input:focus, .form-group select:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(102,126,234,.1); }
    .settings-actions { display:flex; gap:12px; margin-top:24px; flex-wrap:wrap; }
    .btn-primary { background:var(--primary); color:#fff; padding:12px 20px; border-radius:8px; border:none; font-weight:600; cursor:pointer; transition:all .2s ease; }
    .btn-secondary { background:#6b7280; color:#fff; padding:12px 20px; border-radius:8px; border:none; font-weight:600; cursor:pointer; transition:all .2s ease; }
    .btn-danger { background:#ef4444; color:#fff; padding:12px 20px; border-radius:8px; border:none; font-weight:600; cursor:pointer; transition:all .2s ease; }
    .btn-outline { background:transparent; color:#6b7280; padding:12px 20px; border-radius:8px; border:1px solid #d1d5db; font-weight:600; cursor:pointer; transition:all .2s ease; text-decoration:none; display:inline-block; }
    .btn:hover { transform:translateY(-2px); box-shadow:0 8px 16px rgba(0,0,0,.15); }
    @keyframes modalSlide { from{opacity:0; transform:scale(.9) translateY(-20px);} to{opacity:1; transform:scale(1) translateY(0);} }
    
    footer { background: #111827; color:#c7d2fe; padding:40px 15px; margin-top:40px; }
    footer a { color:#a5b4fc; }
    .footer-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(250px, 1fr)); gap:30px; max-width:1200px; margin:0 auto; }
    .footer-section h4 { color:#fff; margin-bottom:16px; font-size:18px; }
    .footer-section p { margin-bottom:8px; line-height:1.6; }
    .footer-bottom { text-align:center; margin-top:30px; padding-top:20px; border-top:1px solid #374151; font-size:14px; opacity:.8; }


    /* ✅ Download Buttons Section - Added Only (No Edits to Existing Code) */
.download-buttons {
  display: flex;
  flex-wrap: wrap;     
  justify-content: center;
  gap: 15px;           
  padding: 20px;
}

.download-buttons .btn-download {
  background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
  color: #fff;
  padding: 18px 35px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  min-width: 250px;
  text-align: center;
  border: 2px solid transparent;
}

.download-buttons .btn-download:hover {
  background: linear-gradient(135deg, #ff1744 0%, #a00000 100%);
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
  transform: translateY(-3px);
  border-color: #ff3333;
}

/* ✅ Responsive Layout for Smaller Devices */
@media (max-width: 600px) {
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .download-buttons .btn-download {
    width: 80%;
    text-align: center;
  }
}



/* =========================================================
   ✅ RESPONSIVE ENHANCEMENTS (Desktop / Tablet / Phone)
   ========================================================= */

/* --- Large Desktop (1440px and up) --- */
@media (min-width: 1440px) {
  .container, .auth-container, .download-container {
    max-width: 1100px;
  }
  .banner h1 { font-size: 3.5rem; }
  .banner p { font-size: 1.5rem; }
}

/* --- Laptops and Tablets Landscape (769px–1439px) --- */
@media (max-width: 1439px) and (min-width: 769px) {
  header { padding: 15px 40px; }
  .banner { height: 75vh; padding-right: 6%; }
  .banner .overlay { max-width: 500px; padding: 30px; }
  .banner h1 { font-size: 2.6rem; }
  .banner p { font-size: 1.1rem; }
  .trailer video { width: 90%; }
}

/* --- Tablets Portrait (600px–768px) --- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 25px;
  }

  header nav ul {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
  }

  .banner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    height: auto;
  }

  .banner .overlay {
    max-width: 90%;
    padding: 25px;
  }

  .banner h1 { font-size: 2.2rem; }
  .banner p { font-size: 1rem; }

  .trailer video {
    width: 100%;
    max-width: 100%;
  }

  .about p { font-size: 1rem; padding: 0 10px; }

  .download-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .download-buttons .btn-download {
    width: 90%;
    font-size: 15px;
  }
}

/* --- Mobile Phones (Up to 599px) --- */
@media (max-width: 599px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
  }

  header .logo img {
    height: 40px;
  }

  header nav ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .banner {
    height: auto;
    text-align: center;
    justify-content: center;
    padding: 30px 15px;
  }

  .banner .overlay {
    padding: 20px;
    max-width: 100%;
  }

  .banner h1 { font-size: 1.8rem; }
  .banner p { font-size: 0.95rem; }

  .btn-download {
    font-size: 15px;
    padding: 10px 20px;
  }

  .reviews, .about, .faq, .trailer {
    padding: 30px 15px;
  }

  .reviews h2, .about h2, .faq h2 {
    font-size: 1.6rem;
  }

  .comment-item, .admin-reply {
    padding: 12px;
    font-size: 0.95rem;
  }

  footer {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-section {
    margin-bottom: 20px;
  }
}


.logo {
  display: flex;
  align-items: center;
  gap: 10px; /* space between logo and text */
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 50px; /* adjust as needed */
}

.logo-text {
  font-size: 0.80em;
  font-weight: 550;
  color: #fff; /* or your theme color */
  letter-spacing: 1px;
}

/* Announcement Button - Professional Styling */
.announce-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1000;
  background: linear-gradient(135deg, #00a8ff 0%, #0097e6 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 168, 255, 0.3);
  transition: all 0.3s ease;
  text-transform: none;
  letter-spacing: 0.3px;
}

.announce-btn:hover {
  background: linear-gradient(135deg, #0097e6 0%, #0088d4 100%);
  box-shadow: 0 6px 16px rgba(0, 168, 255, 0.4);
  transform: translateY(-2px);
}

.announce-btn:active {
  transform: translateY(0);
}

.announce-btn.back-mode {
  background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.announce-btn.back-mode:hover {
  background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
  box-shadow: 0 6px 16px rgba(108, 117, 125, 0.4);
}

.announce-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12z'/%3E%3Cpath d='M7 9h2v2H7zm4 0h6v2h-6zm-4 4h2v2H7zm4 0h6v2h-6z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.announce-btn.back-mode .announce-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z'/%3E%3C/svg%3E");
}

.announce-text {
  display: inline-block;
}

.announce-btn.fixed {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
}

/* Announcement Slider */
.announcement-slider {
  position: relative;
  width: 100%;
}

.announcement-slide {
  display: none;
  animation: fade 0.6s ease;
}

.announcement-slide.active {
  display: block;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================== Index Announcement (design only) ===================== */

/* Announcement Content Wrapper */
.announcement-content-wrapper {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* Announcement Card – box layout, corner triangle accent */
.announcement-card {
  position: relative;
  background: #2a2d32;
  border: 1px solid #3d4046;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  overflow: visible;
  padding: 28px 28px 24px;
}

/* Small triangle accent on top-right corner */
.announcement-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 42px 42px 0;
  border-color: transparent #4a4e55 transparent transparent;
  border-top-right-radius: 12px;
  pointer-events: none;
}

/* 1. Title – top, bold, clear hierarchy */
.announcement-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e8eaed;
  margin: 0 0 20px 0;
  line-height: 1.35;
  letter-spacing: -0.02em;
  padding-right: 24px;
}

/* 2. Image – full-width inside card, responsive */
.announcement-image-container {
  width: 100%;
  margin: 0 0 20px 0;
  border-radius: 8px;
  overflow: hidden;
  background: #1e2024;
}

.announcement-image {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  display: block;

}

/* 3. Description – clean paragraph spacing, readable line height */
.announcement-description {
  font-size: 1rem;
  line-height: 1.65;
  color: #b8bcc4;
  margin: 0 0 20px 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.announcement-description p {
  margin: 0 0 0.75em 0;
}

.announcement-description p:last-child {
  margin-bottom: 0;
}

/* 4. Date – small, muted text at bottom */
.announcement-meta {
  padding-top: 16px;
  border-top: 1px solid #3d4046;
  font-size: 0.8125rem;
  color: #8b8f97;
}

.announcement-date,
.announcement-posted {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238b8f97'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Optional badge (if present in markup) */
.announcement-body {
  position: relative;
}

.announcement-badge {
  display: inline-block;
  background: #4a4e55;
  color: #e8eaed;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

/* Responsive – announcement card */
@media (max-width: 768px) {
  .announcement-content-wrapper {
    padding: 16px 12px;
  }

  .announcement-card {
    padding: 20px 20px 18px;
  }

  .announcement-card::after {
    border-width: 0 32px 32px 0;
  }

  .announcement-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
  }

  .announcement-image-container {
    margin-bottom: 16px;
  }

  .announcement-image {
    max-height: 280px;
  }

  .announcement-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .announcement-meta {
    padding-top: 12px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .announcement-content-wrapper {
    padding: 12px 10px;
  }

  .announcement-card {
    padding: 16px 16px 14px;
  }

  .announcement-card::after {
    border-width: 0 24px 24px 0;
  }

  .announcement-title {
    font-size: 1.125rem;
    margin-bottom: 14px;
  }

  .announcement-image {
    max-height: 220px;
  }

  .announcement-description {
    font-size: 0.875rem;
  }
}

/* ===================== Announcements ===================== */ 