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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #f3f3f3;
  background-color: #0f0f0f;
}

/* Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
}

h2 {
  font-size: 2rem;
}

section {
  padding: 4rem 0;
  position: relative;
  overflow-x: hidden;
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: #ffd369;
}
.logo i {
  margin-right: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffd369;
}

.burger {
  background: #0f0f0f;
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.burger span {
  width: 24px;
  height: 2px;
  background: #ffd369;
  transition: transform 0.3s ease;
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  min-height: 90vh;
  background: linear-gradient(120deg, rgba(34, 32, 27, 0.4), rgba(77, 3, 48, 0.3)), url('image/banner.jpeg') no-repeat center center / cover;
  position: relative;
  padding-top: 5rem;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(255, 211, 105, 0.15), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255, 120, 200, 0.1), transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100vh - 5rem);
}
.hero-title {
  font-size: 3rem;
  color: #ffd369;
  margin-bottom: 0.5rem;
}
.hero-subtitle {
  max-width: 600px;
  margin-bottom: 1.5rem;
  color: #ddd;
}
.hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-right: 0.8rem;
}
.primary-btn {
  background: #ffd369;
  color: #0f0f0f;
}
.primary-btn:hover {
  background: #ffca3a;
}
.secondary-btn {
  background: transparent;
  border: 2px solid #ffd369;
  color: #ffd369;
}
.secondary-btn:hover {
  background: #ffd369;
  color: #0f0f0f;
}
.scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #ffd369;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* About Section */
.about-section {
  background: #141414;
}
.about-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.about-text h2 {
  color: #ffd369;
  margin-bottom: 0.5rem;
}

/* -------- Guides Page Styles -------- */

/* Guides Hero */
.guide-hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6rem;
  background: linear-gradient(135deg, rgba(34, 32, 27, 0.2), rgba(77, 3, 48, 0.3)), url('image/bannerr2.jpeg') no-repeat center center / cover;
  overflow: hidden;
}

.guide-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(255, 211, 105, 0.15), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255, 120, 200, 0.1), transparent 50%);
  z-index: 1;
}

.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.guide-title {
  font-size: 2.8rem;
  color: #ffd369;
  margin-bottom: 0.5rem;
}

.guide-subtitle {
  font-size: 1.1rem;
  color: #ddd;
  max-width: 700px;
  margin: 0 auto;
}

/* Deep Dive */
.deep-dive-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.deep-text {
  flex: 1;
  color: #ddd;
}

.deep-text h2 {
  color: #ffd369;
  margin-bottom: 1rem;
}

.deep-image {
  flex: 1;
}

.deep-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Tips Section */
.tips-section {
  background: #141414;
}

.tips-accordion {
  margin-top: 2rem;
}
.tip-item {
  border-bottom: 1px solid #2a2a2a;
}
.tip-question {
  width: 100%;
  background: transparent;
  color: #ffd369;
  font-size: 1.1rem;
  padding: 1rem 0;
  text-align: left;
  cursor: pointer;
  border: none;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tip-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-bottom: 0;
}
.tip-item.open .tip-answer {
  max-height: 400px;
  padding-bottom: 1rem;
}
.tip-answer p {
  color: #ccc;
  padding-left: 0.5rem;
}

/* Mosaic Section */
.mosaic-section {
  background: #0f0f0f;
}
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.mosaic-item:hover img {
  transform: scale(1.08);
}

/* Timeline Section */
.timeline-section {
  background: #141414;
}
.timeline {
  position: relative;
  margin-top: 2rem;
  padding-left: 2rem;
  border-left: 2px solid #ffd369;
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-icon {
  position: absolute;
  left: -1.1rem;
  top: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #ffd369;
  color: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.timeline-content h3 {
  color: #ffd369;
  margin-bottom: 0.3rem;
}
.timeline-content p {
  color: #ccc;
}

/* Guide CTA */
.guide-cta {
  text-align: center;
  background: #1e1f2f;
}
.cta-wrapper {
  max-width: 600px;
}
.guide-cta h2 {
  color: #ffd369;
  margin-bottom: 0.5rem;
}
.guide-cta p {
  color: #ddd;
  margin-bottom: 1.5rem;
}
.guide-cta .btn {
  margin: 0 auto;
  display: block;
  max-width: 200px;
  text-align: center;
  background: #ffd369;
  color: #0f0f0f;
  border-color: #ffd369;
  transition: background 0.3s ease, color 0.3s ease;
  margin-bottom: 2rem;
  margin-top: 1rem;
  border-radius: 30px;
  padding: 0.8rem 2rem;
}
.guide-cta .btn:hover {
  background: #0f0f0f;
  color: #ffd369;
}

/* Responsive Adjustments for Guides */
@media (max-width: 768px) {
  .deep-dive-wrapper {
    flex-direction: column;
  }
  .guide-title {
    font-size: 2.4rem;
  }
}

/* === Guides Page Styles === */
.guides-hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding-top: 5rem;
  background: linear-gradient(120deg, rgba(34, 32, 27, 0.2), rgba(77, 3, 48, 0.3)), url('image/bannerr2.jpeg') no-repeat center center / cover;
  overflow: hidden;
}
.guides-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.guides-hero-content h1 {
  font-size: 3rem;
  color: #ffd369;
  margin-bottom: 0.5rem;
}
.guides-hero-content p {
  color: #ccc;
  max-width: 600px;
  margin: 0 auto;
}

/* Guides overlay can be used for additional effects */
.guides-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url('image/bannerr2.jpeg');
  /* placeholder for future textures */
}

/* Guides section common styling */
.guides-section .section-title {
  font-size: 2rem;
  color: #ffd369;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Timeline */
.timeline {
  position: relative;
  margin: 2rem 0;
  padding-left: 2rem;
  border-left: 3px solid #4f4f4f;
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-icon {
  position: absolute;
  left: -1.4rem;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffd369;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f0f0f;
}
.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  color: #ffd369;
}
.timeline-content p {
  color: #ccc;
  line-height: 1.4;
}

/* Tips & Tricks */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.tip-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}
.tip-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.tip-content {
  padding: 1rem;
}
.tip-content h3 {
  font-size: 1.2rem;
  color: #ffd369;
  margin-bottom: 0.5rem;
}
.tip-content p {
  color: #ccc;
  line-height: 1.4;
}

/* Advanced strategies accordion */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item + .accordion-item {
  margin-top: 1rem;
}
.accordion-header {
  width: 100%;
  background: #1a1a1a;
  color: #ffd369;
  padding: 1rem 1.5rem;
  font-size: 1.2rem;
  border: none;
  border-radius: 8px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}
.accordion-header:hover {
  background: #2a2a2a;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #0f0f0f;
  border-radius: 0 0 8px 8px;
  padding: 0 1.5rem;
  transition: max-height 0.3s ease;
}
.accordion-content p {
  padding: 1rem 0;
  color: #ccc;
  line-height: 1.5;
}
.accordion-item.open .accordion-content {
  max-height: 200px;
}

.about-text p {
  color: #ccc;
}

/* Gameplay Highlights */
.gameplay-section {
  background: #1c1c1c;
}
.highlights-slider {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  margin-top: 2rem;
}
.highlight-item {
  min-width: 260px;
  margin-right: 1rem;
  background: #222222;
  border-radius: 12px;
  padding: 1.2rem;
  flex-shrink: 0;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
.icon-circle {
  width: 60px;
  height: 60px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background: #ffd369;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f0f0f;
  font-size: 1.5rem;
}
.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
.slider-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  color: #ffd369;
  font-size: 1.5rem;
  cursor: pointer;
  margin: 0 0.5rem;
}

.slider-btn:hover {
  color: #ffca3a;
}

/* Character Section */
.character-section {
  background: #141414;
}
.character-wrapper {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.character-text {
  flex: 1;
  min-width: 280px;
}
.character-card {
  width: 260px;
  height: 350px;
  perspective: 1000px;
  position: relative;
}
.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  backface-visibility: hidden;
  transition: transform 0.8s ease;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.card-back {
  transform: rotateY(180deg);
  color: #fff;
  text-align: center;
}
.character-card:hover .card-front {
  transform: rotateY(180deg);
}
.character-card:hover .card-back {
  transform: rotateY(0);
}

/* Power-Ups Section */
.powerups-section {
  background: #1c1c1c;
}
.powerups-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}
.powerup-card {
  background: #222222;
  flex: 1 1 260px;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
.powerup-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: #ffd369;
}
.powerup-card h3 {
  color: #ffd369;
  margin-bottom: 0.4rem;
}
.powerup-card p {
  color: #bbb;
}

/* Challenges Section */
.challenges-section {
  background: #141414;
}
.challenges-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}
.challenge-item {
  flex: 1 1 260px;
  background: #222;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
.challenge-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  color: #ffd369;
}
.challenge-item h3 {
  color: #ffd369;
  margin-bottom: 0.4rem;
}
.challenge-item p {
  color: #bbb;
}

/* Visuals Section */
.visuals-section {
  background: #1c1c1c;
}
.visuals-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}
.visual-card {
  flex: 1 1 260px;
  background: #222;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
.visual-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  color: #ffd369;
}
.visual-card h3 {
  color: #ffd369;
  margin-bottom: 0.4rem;
}
.visual-card p {
  color: #bbb;
}

/* Download Section */
.download-section {
  background: #141414;
  text-align: center;
}
.download-wrapper h2 {
  color: #ffd369;
}
.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}
.store-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  background: #222;
  color: #ffd369;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #ffd369;
  transition: background 0.3s ease;
}
.store-button:hover {
  background: #ffd369;
  color: #0f0f0f;
}
.coming-soon {
  color: #888;
  font-size: 0.9rem;
}

/* Community Section */
.community-section {
  background: #1c1c1c;
  text-align: center;
}
.community-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.community-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 30px;
  background: #222;
  color: #ffd369;
  text-decoration: none;
  transition: background 0.3s ease;
  border: 1px solid #ffd369;
}
.community-link:hover {
  background: #ffd369;
  color: #0f0f0f;
}

/* Gallery Section */
.gallery-section {
  background: #141414;
  text-align: center;
}
.gallery-carousel {
  display: flex;
  overflow: hidden;
  margin-top: 2rem;
}
.gallery-item {
  min-width: 100%;
  transition: transform 0.5s ease;
}
.gallery-item img {
  width: 90%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

/* FAQ Section */
.faq-section {
  background: #1c1c1c;
}
.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid #333;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #ffd369;
  font-size: 1.1rem;
  text-align: left;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  padding: 0 0 1rem 0;
  color: #ccc;
}
.faq-question .toggle-icon {
  margin-left: 1rem;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 200px;
}
.faq-item.open .toggle-icon {
  transform: rotate(45deg);
}

/* Contact Section */
.contact-section {
  background: #141414;
  text-align: center;
}
.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
}
.contact-form {
  margin-top: 2rem;
}
.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.contact-form input,
.contact-form textarea {
  flex: 1;
  padding: 0.8rem;
  background: #222;
  border: 1px solid #333;
  border-radius: 8px;
  color: #fff;
}
.contact-form textarea {
  resize: vertical;
}
.privacy-row {
  justify-content: center;
}
.contact-form button {
  margin-top: 1rem;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  background: #222;
  color: #ffd369;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #ffd369;
  transition: background 0.3s ease;
}
.contact-form button:hover {
  background: #ffd369;
  color: #0f0f0f;
}
a {
  color: #ffd369;
  text-decoration: none;
}
/* Footer */
.site-footer {
  background: #0f0f0f;
  padding: 2rem 0 1rem 0;
  color: #777;
  font-size: 0.9rem;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-logo {
  color: #ffd369;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-links a {
  color: #777;
  margin-right: 1rem;
  text-decoration: none;
}
.footer-links a:hover {
  color: #ffd369;
}
.footer-social a {
  color: #777;
  margin-left: 0.7rem;
  font-size: 1.2rem;
}
.footer-social a:hover {
  color: #ffd369;
}
.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #555;
}

/* Responsive */
@media (max-width: 900px) {
  .about-wrapper,
  .character-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .nav-links {
    padding-left: 1rem;
    position: fixed;
    top: 67px;
    right: -100%;
    flex-direction: column;
    background: #0f0f0f;
    width: 70%;
    height: calc(100vh - 70px);
    padding-top: 2rem;
    transition: right 0.3s ease;
    z-index: 999;
  }
  .nav-links a {
    margin: 1rem 0;
    font-size: 1.1rem;
  }
  .nav-links.open {
    right: 0;
  }
  .burger {
    display: flex;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .highlights-slider {
    overflow-x: scroll;
  }
  .highlight-item {
    min-width: 80%;
  }
  .gallery-item img {
    max-height: 260px;
  }
}