/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Font Custom */
@font-face {
  font-family: 'FontArt';
  src: url('/font/fontart.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #00409a 0%, #000b57 100%);
  color: #f9f9f9;
}
/* Ad Banner */
.ad-banner { 
    background: rgba(255,255,255,0.1); 
    border: 1px dashed #fff; 
    padding: 1rem; 
    text-align: center; 
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Responsive untuk iklan */
@media (max-width: 768px) { 
    .ad-banner {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
}
/* Heading Font */
h1, h2, h3 {
  font-family: 'FontArt', sans-serif;
}
h1 {
  font-size: 50px;
}

/* Neon Text */
.neon-span {
  font-family: 'FontArt', sans-serif;
  color: #bfe2ff;
}

/* Play Store Button */
.play-store-btn {
  background: linear-gradient(45deg, #34a853, #0f9d58);
  transition: all 0.3s ease;
}
.play-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(52, 168, 83, 0.4);
}

/* Floating Animation */
.floating {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

/* Feature Card */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* App Icon */
.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Screenshot */
.screenshot {
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.screenshot:hover {
  transform: scale(1.05);
}

/* Game Card */
.game-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 30, 0.85);
  backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.active {
  display: flex;
  opacity: 1;
}
.modal-content {
  background: linear-gradient(135deg, #003073 0%, #001a4d 100%);
  margin: auto;
  padding: 2rem;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  color: #f9f9f9;
  box-shadow: 0 25px 50px rgba(0,0,0,0.6);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.modal.active .modal-content {
  transform: scale(1);
}

/* Buttons */
.login-btn {
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: #fff;
  transition: all 0.3s ease;
}
.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
}

.register-btn {
  background: linear-gradient(45deg, #00c6ff, #0072ff);
  color: #fff;
  transition: all 0.3s ease;
}
.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 114, 255, 0.4);
}

/* Input */
.input-field {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.input-field:focus {
  border-color: #007bff;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
}

/* Social Login */
.social-login {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #f9f9f9;
  transition: all 0.3s ease;
}
.social-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.2);
}

/* AdSense / Banner */
.ad-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}
.ad-label {
  color: #00c6ff;
}
.ad-content {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 15px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

/* Breadcrumb */
.breadcrumb {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 1rem 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}
.breadcrumb a {
  color: #00c6ff;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
/* Fix Material Icons */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px; /* Ukuran sesuai kebutuhan */
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    width: 1em;
    height: 1em;
    overflow: hidden;
    vertical-align: middle;
    -webkit-font-feature-settings: 'liga';
    -moz-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}
/* Notifikasi styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 300px;
    transform: translateX(120%);
    transition: transform 0.3s ease-out;
}

.notification.show {
    transform: translateX(0);
}

.notification-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-content {
    flex-grow: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.notification-message {
    font-size: 14px;
    opacity: 0.9;
}

.notification-close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.notification-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.notification.new {
    animation: pulse 0.5s ease-in-out;
}
/* Fallback jika Material Icons gagal */
.material-icons::before {
    content: attr(data-fallback) !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
}

/* Pagination button fix */
.pagination-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

 .article-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }
    
    .article-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    .article-card a {
      text-decoration: none;
      color: inherit;
      display: block;
      height: 100%;
    }
    
    .article-card img {
      transition: transform 0.3s ease;
    }
    
    .article-card:hover img {
      transform: scale(1.05);
    }
    
    .pagination {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 2rem;
    }
    
    .pagination a {
      padding: 0.5rem 1rem;
      background-color: #ffffff10;
      border-radius: 0.5rem;
      text-decoration: none;
      color: #ffffff;
      transition: background-color 0.3s ease;
    }
    
    .pagination a:hover {
      background-color: #ffffff30;
    }
    
    .pagination .active {
      background-color: #3b82f6;
    }
    
    .pagination .disabled {
      background-color: #ffffff10;
      color: #ffffff80;
      cursor: not-allowed;
    }
    
    @font-face {
      font-family: 'Neotech';
      src: url('/fonts/Neotech.otf') format('opentype');
      font-weight: normal;
      font-style: normal;
    }
    .neotech {
      font-family: 'Neotech', sans-serif;
    }
  