/* --- Global CSS --- */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

/* --- Progress Bar --- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #00ff00, #008800);
  z-index: 9999;
  transition: width 0.3s ease;
}

/* --- Header & Navigation --- */
header {
  background: rgba(0, 0, 0, 0.95);
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #00ff00;
  box-shadow: 0 2px 10px rgba(0, 255, 0, 0.1);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #00ff00;
}

.logo svg {
  color: #00ff00;
}

.logo span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00ff00;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00ff00;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00ff00;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #00ff00;
  transition: all 0.3s ease;
}

/* --- Ad Container --- */
.ad-container {
  max-width: 1400px;
  margin: 80px auto 20px;
  padding: 0 2rem;
  text-align: center;
}

.ad-label {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ad-slot {
  background: #1a1a1a;
  border: 1px dashed #00ff00;
  color: #444;
  padding: 20px;
  display: inline-block;
  min-width: 728px;
  min-height: 90px;
  margin: 0 auto;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .ad-slot {
    min-width: 300px;
    min-height: 250px;
  }
}

/* --- Main Content --- */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

/* Hero Section */
.hero {
  padding: 120px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  color: #00ff00;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  color: #cccccc;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #00ff00, #008800);
  color: #000;
  padding: 15px 40px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #00ff00;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 255, 0, 0.3);
}

/* Games Grid */
.featured-games {
  padding: 60px 0;
}

.featured-games h2 {
  text-align: center;
  font-size: 2rem;
  color: #00ff00;
  margin-bottom: 2rem;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 255, 0, 0.2);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
}

.game-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
  transform: scale(1.1);
}

.game-content {
  padding: 1.5rem;
}

.game-content h3 {
  color: #00ff00;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.game-content p {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* About Section */
.about-section {
  padding: 60px 0;
  text-align: center;
}

.about-section h2 {
  font-size: 2rem;
  color: #00ff00;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.about-section p {
  max-width: 900px;
  margin: 0 auto 1rem;
  color: #cccccc;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Blog Header */
.blog-header {
  padding: 120px 0 60px;
  text-align: center;
}

.blog-header h1 {
  font-size: 2.5rem;
  color: #00ff00;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.blog-header p {
  font-size: 1.2rem;
  color: #cccccc;
}

/* Posts List */
.posts-list {
  padding: 60px 0;
}

.post-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 2rem;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
}

.post-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  padding: 1.5rem;
}

.post-content h2 {
  color: #00ff00;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.post-content h2 a {
  color: #00ff00;
  text-decoration: none;
  transition: text-shadow 0.3s ease;
}

.post-content h2 a:hover {
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.post-date {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.post-meta {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
  color: #666;
  font-size: 0.9rem;
}

.post-meta span {
  background: rgba(0, 255, 0, 0.1);
  padding: 3px 8px;
  border-radius: 3px;
}

/* Blog Post */
.blog-post {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 0;
}

.post-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.post-header h1 {
  font-size: 2.2rem;
  color: #00ff00;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: #888;
  font-size: 0.9rem;
}

.post-meta span {
  color: #666;
}

.featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin: 2rem 0;
  border: 2px solid rgba(0, 255, 0, 0.3);
}

.post-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.post-content h2 {
  color: #00ff00;
  margin: 2.5rem 0 1rem;
  font-size: 1.5rem;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.post-content ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: #cccccc;
  line-height: 1.8;
}

.post-content li {
  margin-bottom: 0.5rem;
}

blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(0, 255, 0, 0.1);
  border-left: 4px solid #00ff00;
  border-radius: 4px;
  font-style: italic;
  color: #eeeeee;
}

/* Related Posts */
.related-posts {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 255, 0, 0.2);
}

.related-posts h2 {
  text-align: center;
  color: #00ff00;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card-small {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 255, 0, 0.2);
}

.post-card-small:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 255, 0, 0.2);
}

.post-card-small a {
  text-decoration: none;
  color: inherit;
}

.post-card-small img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card-small h3 {
  padding: 1rem;
  color: #00ff00;
  font-size: 1.1rem;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  color: #888;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #00ff00;
}

/* About Page */
.about-header {
  padding: 120px 0 60px;
  text-align: center;
}

.about-header h1 {
  font-size: 2.5rem;
  color: #00ff00;
  text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.about-header p {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2rem;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-image {
  width: 100%;
  margin-bottom: 2rem;
}

.about-text h2 {
  color: #00ff00;
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.about-text h2:first-child {
  margin-top: 0;
}

.about-text p {
  margin-bottom: 1rem;
  color: #cccccc;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-text ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.about-text li {
  margin-bottom: 0.5rem;
  color: #cccccc;
}

/* Contact Page */
.contact-header {
  padding: 120px 0 60px;
  text-align: center;
}

.contact-header h1 {
  font-size: 2.5rem;
  color: #00ff00;
  text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.contact-header p {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2rem;
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 0, 0.2);
}

.contact-info h2 {
  color: #00ff00;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgba(0, 255, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #00ff00;
}

.contact-text h3 {
  color: #00ff00;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-text p {
  color: #cccccc;
}

.contact-text a {
  color: #00ff00;
  text-decoration: none;
}

.contact-text a:hover {
  text-decoration: underline;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 0, 0.2);
}

.contact-form h2 {
  color: #00ff00;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #00ff00;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #00ff00;
  border-radius: 5px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.submit-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #00ff00, #008800);
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 255, 0, 0.3);
}

/* Privacy Page */
.privacy-header {
  padding: 120px 0 60px;
  text-align: center;
}

.privacy-header h1 {
  font-size: 2.5rem;
  color: #00ff00;
  text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.privacy-header p {
  color: #888;
  font-size: 1.2rem;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h2 {
  color: #00ff00;
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.privacy-content p {
  margin-bottom: 1rem;
  color: #cccccc;
  line-height: 1.8;
  font-size: 1.05rem;
}

.privacy-content ul {
  margin-bottom: 1rem;
  padding-left: 2rem;
  color: #cccccc;
}

.privacy-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

/* Footer */
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.footer-section h3 {
  color: #00ff00;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.footer-section p {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
  color: #cccccc;
}

.footer-section ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #00ff00;
}

.footer-bottom {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-size: 0.9rem;
}

/* WhatsApp Button */
.whatsapp-button.float {
  position: fixed;
  right: 22px;
  bottom: 32px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
  transform: scale(1);
  animation: pulse 2s infinite;
  z-index: 1000;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-button.float:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* Cookies Bar */
#cookieBar {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;
  background: #333;
  color: #fff;
  padding: 15px 20px;
  text-align: center;
  transition: bottom 0.5s ease;
  z-index: 9998;
  border-top: 2px solid #00ff00;
}

#cookieBar.show {
  bottom: 0;
}

#cookieBar.hide {
  bottom: -100px;
}

#cookieBar button {
  background: #00ff00;
  color: #000;
  border: none;
  padding: 8px 20px;
  margin: 0 10px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#cookieBar button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

#cookieBar a {
  color: #00ff00;
  text-decoration: none;
  border-bottom: 1px dashed #00ff00;
  padding-bottom: 1px;
}

#cookieBar a:hover {
  text-decoration: none;
  border-bottom: 1px solid #00ff00;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .ad-slot {
    min-width: 728px;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 1rem;
  }

  .nav-links {
    margin-top: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .blog-header h1 {
    font-size: 2rem;
  }

  .post-header h1 {
    font-size: 1.8rem;
  }

  .blog-post {
    padding: 30px 0;
  }

  .about-header h1,
  .contact-header h1,
  .privacy-header h1 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .ad-slot {
    min-width: 300px;
    min-height: 250px;
  }

  #cookieBar {
    padding: 15px;
    text-align: center;
  }

  #cookieBar button {
    display: block;
    margin: 10px auto;
    width: 80%;
  }

  .about-content,
  .privacy-content {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .post-image,
  .post-card-small img {
    height: 150px;
  }

  .post-card {
    margin-bottom: 1.5rem;
  }
}