/* =======================================
   PLAY NORD — GLOBAL STYLES
   ======================================= */

:root {
  --primary-color: #39ff14;
  --secondary-color: #ff006e;
  --accent-color: #00ffff;
  --dark-bg: #0a0a0a;
  --light-text: #ffffff;
  --muted-text: #b0b0b0;
  --success-color: #39ff14;
  --error-color: #ff006e;
}

body.playnord-platform {
  font-family: "Poppins", sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* =======================================
   NAVBAR
   ======================================= */
.playnord-nav {
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.98) 0%, rgba(20, 10, 30, 0.98) 100%);
  padding: 1rem 0;
  border-bottom: 2px solid var(--primary-color);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.playnord-nav .navbar-logo {
  height: 50px;
  width: 50px;
  border-radius: 8px;
  object-fit: cover;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

.playnord-nav .navbar-logo:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.6);
}

.playnord-nav .brand-text {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.playnord-nav .nav-link {
  color: var(--light-text) !important;
  font-weight: 600;
  margin: 0 0.75rem;
  position: relative;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.playnord-nav .nav-link:hover,
.playnord-nav .nav-link.active {
  color: var(--primary-color) !important;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.playnord-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.playnord-nav .nav-link:hover::after,
.playnord-nav .nav-link.active::after {
  width: 100%;
}

.playnord-nav .navbar-toggler {
  border: 2px solid var(--primary-color);
}

.playnord-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2339ff14' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =======================================
   HERO SECTION
   ======================================= */
.playnord-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(57, 255, 20, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

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

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--muted-text);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* =======================================
   BUTTONS
   ======================================= */
.playnord-btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.95rem;
}

.playnord-btn-primary {
  background: var(--primary-color);
  color: #0a0a0a;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}

.playnord-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.6);
  color: #0a0a0a;
}

.playnord-btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.playnord-btn-secondary:hover {
  background: var(--primary-color);
  color: #0a0a0a;
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.5);
}

/* =======================================
   NOTICE SECTION
   ======================================= */
.playnord-notice-section {
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.05) 0%, rgba(255, 0, 110, 0.05) 100%);
  border-top: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--secondary-color);
  box-shadow: inset 0 0 30px rgba(57, 255, 20, 0.1);
}

.notice-card {
  background: rgba(57, 255, 20, 0.08);
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.2);
  transition: all 0.3s ease;
}

.notice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.3);
  border-color: var(--secondary-color);
}

.notice-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

.notice-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

.notice-text {
  font-size: 1rem;
  color: var(--muted-text);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* =======================================
   ABOUT SECTION
   ======================================= */
.playnord-about {
  background: linear-gradient(135deg, #1a0a2e 0%, #16213e 100%);
  padding: 6rem 0;
}

.about-image {
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: translateY(-5px);
}

.about-subtitle {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

.about-text {
  color: var(--muted-text);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* =======================================
   PLAY SECTION
   ======================================= */
.playnord-play {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 100%);
  padding: 6rem 0;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

.game-card {
  background: rgba(57, 255, 20, 0.05);
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.1);
}

.game-card:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.2);
  transform: translateY(-3px);
}

.game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.game-title {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin: 0;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

.game-badge {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: #0a0a0a;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.game-description {
  color: var(--muted-text);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.playnord-game-frame {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.2);
  margin: 0 auto;
}

.playnord-game-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* =======================================
   FEATURES SECTION
   ======================================= */
.playnord-features {
  background: linear-gradient(135deg, #1a0a2e 0%, #16213e 100%);
  padding: 6rem 0;
}

.feature-card {
  background: rgba(57, 255, 20, 0.08);
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.1);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary-color);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.2);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

.feature-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--light-text);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--muted-text);
  line-height: 1.6;
}

/* =======================================
   REVIEWS SECTION
   ======================================= */
.playnord-reviews {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 100%);
  padding: 6rem 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background: rgba(57, 255, 20, 0.08);
  border: 2px solid var(--primary-color);
  border-radius: 10px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.1);
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.2);
}

.review-stars {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.review-text {
  color: var(--muted-text);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  color: var(--primary-color);
  font-weight: 700;
  margin: 0;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
}

/* =======================================
   CONTACT SECTION
   ======================================= */
.playnord-contact {
  background: linear-gradient(135deg, #1a0a2e 0%, #16213e 100%);
  padding: 6rem 0;
}

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

.contact-info h4 {
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.contact-info p {
  color: var(--muted-text);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.contact-info a {
  color: var(--primary-color);
}

.contact-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted-text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(57, 255, 20, 0.08);
  border: 2px solid var(--primary-color);
  border-radius: 6px;
  color: var(--light-text);
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  outline: none;
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(57, 255, 20, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--secondary-color);
  background: rgba(57, 255, 20, 0.12);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.form-status {
  font-size: 0.95rem;
  min-height: 20px;
}

/* =======================================
   FOOTER
   ======================================= */
.playnord-footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 100%);
  border-top: 2px solid var(--primary-color);
  padding: 4rem 0;
  box-shadow: 0 -5px 30px rgba(57, 255, 20, 0.1);
}

.footer-logo {
  height: 60px;
  width: 60px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
  transition: transform 0.3s ease;
  border: 2px solid var(--primary-color);
}

.footer-logo:hover {
  transform: scale(1.1);
}

.footer-brand {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  text-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

.footer-notice {
  background: rgba(57, 255, 20, 0.08);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
  color: var(--muted-text);
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.1);
}

.notice-heading {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
}

.footer-notice p {
  line-height: 1.7;
  margin: 0;
}

.footer-links {
  gap: 1.5rem;
}

.footer-links a {
  color: var(--light-text);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

.footer-copy {
  color: var(--muted-text);
  font-size: 0.95rem;
}

.crafted-credit {
  color: var(--muted-text);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.text-accent {
  color: var(--accent-color);
  text-decoration: underline;
}

/* =======================================
   LEGAL SECTIONS
   ======================================= */
.playnord-legal {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 100%);
  padding: 4rem 0;
  min-height: 80vh;
}

.legal-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--muted-text);
  line-height: 1.8;
}

.legal-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.legal-content h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
}

.legal-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* =======================================
   DISCLAIMER POPUP
   ======================================= */
.disclaimer-popup {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.disclaimer-popup.active {
  visibility: visible;
  opacity: 1;
}

.popup-content {
  background: linear-gradient(135deg, #1a0a2e 0%, #16213e 100%);
  border: 2px solid var(--primary-color);
  padding: 3rem;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 40px rgba(57, 255, 20, 0.3);
  animation: popupFadeIn 0.6s ease forwards;
}

.popup-content h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

.popup-content p {
  color: var(--muted-text);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.popup-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.popup-btn {
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.popup-btn.accept {
  background: var(--primary-color);
  color: #0a0a0a;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
}

.popup-btn.accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.6);
}

.popup-btn.exit {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

.popup-btn.exit:hover {
  background: var(--primary-color);
  color: #0a0a0a;
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.4);
}

@keyframes popupFadeIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* =======================================
   SCROLL TO TOP BUTTON
   ======================================= */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #0a0a0a;
  border: none;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
}

#scrollTopBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.6);
}

/* =======================================
   RESPONSIVE
   ======================================= */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .game-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .popup-content {
    padding: 2rem;
  }

  .popup-buttons {
    flex-direction: column;
  }

  .popup-btn {
    width: 100%;
  }

  .playnord-nav .brand-text {
    font-size: 1.5rem;
  }

  .playnord-nav .nav-link {
    margin: 0.5rem 0;
  }

  .about-subtitle {
    font-size: 1.8rem;
    margin-top: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .notice-card {
    padding: 2rem 1.5rem;
  }

  .game-card {
    padding: 1.5rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  #scrollTopBtn {
    bottom: 20px;
    right: 20px;
    height: 45px;
    width: 45px;
  }
}
