/* ---------------------------
   getbuddyfjord.today - Dragon Roll Game
   Modern Tech/Cyberpunk Theme
   Colors:
     background: #0a0e27 (dark navy)
     primary: #00d9ff (neon cyan)
     accent: #00ff88 (neon lime)
     text: #e0e6ff (light lavender)
     dark-text: #0a0e27
   Fonts: Montserrat (headings), Poppins (body)
   Prefix for classes: buddy-*
   --------------------------- */

/* === RESET & BASE === */
:root {
  --bg: #0a0e27;
  --bg-secondary: #0f1419;
  --primary: #00d9ff;
  --accent: #00ff88;
  --text: #e0e6ff;
  --text-dark: #0a0e27;
  --card-bg: #1a1f3a;
  --border: #2a3f5f;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

/* === HEADINGS === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

h1,
.buddy-hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
}

h2,
.buddy-section-title {
  font-size: 2.2rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  h1,
  .buddy-hero-title {
    font-size: 2.2rem;
  }
  h2,
  .buddy-section-title {
    font-size: 1.6rem;
  }
}

/* === NAVBAR === */
.buddy-nav {
  background: linear-gradient(90deg, rgba(10, 14, 39, 0.95) 0%, rgba(15, 20, 41, 0.95) 100%);
  border-bottom: 2px solid var(--primary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.2);
  backdrop-filter: blur(10px);
}

.buddy-logo {
  height: 50px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.4));
}

.buddy-logo:hover {
  transform: scale(1.1) rotate(-2deg);
  filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.6));
}

.buddy-nav .nav-link {
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 12px;
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.buddy-nav .nav-link:hover,
.buddy-nav .nav-link.active {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

.buddy-nav .nav-link::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px var(--primary);
}

.buddy-nav .nav-link:hover::before,
.buddy-nav .nav-link.active::before {
  transform: translateX(-50%) scaleX(1);
}

.navbar-toggler {
  border: none;
  background: transparent;
  color: var(--primary);
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

@media (max-width: 991px) {
  .buddy-nav .navbar-collapse {
    background: var(--bg-secondary);
    border-top: 2px solid var(--primary);
    padding: 1rem 0;
  }

  .buddy-nav .nav-link {
    display: block;
    padding: 10px 0;
    margin: 4px 0;
  }

  .buddy-nav .nav-link::before {
    display: none;
  }
}

/* === HERO SECTION === */
.buddy-hero {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
  color: var(--text);
  padding: 140px 20px;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.buddy-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}

.buddy-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse 5s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.buddy-hero .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.buddy-hero-title {
  color: var(--primary);
  font-size: 3.8rem;
  margin-bottom: 25px;
  font-weight: 900;
  text-shadow: 0 0 30px rgba(0, 217, 255, 0.5), 0 0 60px rgba(0, 255, 136, 0.2);
  animation: glitch 0.3s ease;
}

@keyframes glitch {
  0% {
    text-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 40px rgba(0, 255, 136, 0.4);
  }
  100% {
    text-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
  }
}

.buddy-hero-sub {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(224, 230, 255, 0.9);
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.buddy-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text-dark);
  padding: 15px 40px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.4), inset 0 0 20px rgba(0, 255, 136, 0.1);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.buddy-btn:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.6), inset 0 0 20px rgba(0, 217, 255, 0.2);
}

/* === DISCLAIMER SECTION (Home) === */
.buddy-disclaimer {
  background: linear-gradient(135deg, #0f1419 0%, #1a1f3a 100%);
  padding: 80px 20px;
  border-top: 2px solid var(--primary);
  border-bottom: 2px solid var(--accent);
  position: relative;
  overflow: hidden;
}

.buddy-disclaimer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 217, 255, 0.05) 50%, transparent 100%);
  pointer-events: none;
}

.buddy-disclaimer-card {
  max-width: 750px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.8) 0%, rgba(15, 20, 41, 0.8) 100%);
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 50px;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 217, 255, 0.2), inset 0 0 40px rgba(0, 255, 136, 0.05);
  animation: slideUp 0.6s ease;
  position: relative;
  z-index: 1;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.buddy-disclaimer-title {
  color: var(--accent);
  font-size: 1.9rem;
  margin-bottom: 25px;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.buddy-disclaimer-text {
  color: rgba(224, 230, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.buddy-small-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: var(--text-dark);
  padding: 12px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.buddy-small-btn:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 217, 255, 0.5);
}

/* === GAME SECTION === */
.buddy-game-section {
  padding: 100px 20px;
  background: var(--bg);
}

.buddy-section-title {
  text-align: center;
  margin-bottom: 70px;
  animation: fadeInDown 0.6s ease;
}

.buddy-game-wrap {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.buddy-video-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 217, 255, 0.3), inset 0 0 40px rgba(0, 255, 136, 0.05);
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}

.buddy-video-ratio:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 50px rgba(0, 217, 255, 0.5), inset 0 0 40px rgba(0, 255, 136, 0.1);
}

.buddy-video-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* === FEATURES GRID === */
.buddy-features {
  padding: 100px 20px;
  background: var(--bg-secondary);
}

.buddy-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.buddy-feature-card {
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.6) 0%, rgba(15, 20, 41, 0.6) 100%);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 35px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.buddy-feature-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.buddy-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.3), inset 0 0 30px rgba(0, 255, 136, 0.05);
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.9) 0%, rgba(15, 20, 41, 0.9) 100%);
}

.buddy-feature-card:hover::before {
  top: -30%;
  right: -30%;
}

.buddy-feature-icon {
  color: var(--accent);
  font-size: 2.8rem;
  margin-bottom: 18px;
  transition: all 0.3s ease;
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.buddy-feature-card:hover .buddy-feature-icon {
  transform: scale(1.2) rotate(10deg);
  color: var(--primary);
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.buddy-feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.buddy-feature-card p {
  color: rgba(224, 230, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* === ABOUT SECTION === */
.buddy-about {
  padding: 100px 20px;
  background: var(--bg);
}

.buddy-about-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.buddy-about-image {
  text-align: center;
  animation: fadeInLeft 0.6s ease;
}

.buddy-about-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}

.buddy-about-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(0, 217, 255, 0.5);
}

.buddy-about-text {
  animation: fadeInRight 0.6s ease;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.buddy-about-text h2 {
  margin-bottom: 25px;
}

.buddy-about-text p {
  color: rgba(224, 230, 255, 0.9);
  font-size: 1.02rem;
  line-height: 1.9;
  margin-bottom: 18px;
}

.buddy-about-btn {
  margin-top: 30px;
}

@media (max-width: 768px) {
  .buddy-about-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* === REVIEWS SECTION === */
.buddy-reviews {
  padding: 100px 20px;
  background: var(--bg-secondary);
}

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

.buddy-review-card {
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.6) 0%, rgba(15, 20, 41, 0.6) 100%);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 35px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.buddy-review-card::before {
  content: "★★★★★";
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--accent);
  font-size: 1.2rem;
  opacity: 0.5;
}

.buddy-review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.9) 0%, rgba(15, 20, 41, 0.9) 100%);
}

.buddy-review-text {
  color: rgba(224, 230, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.buddy-reviewer {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* === CONTACT SECTION === */
.buddy-contact {
  padding: 100px 20px;
  background: var(--bg);
}

.buddy-contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.buddy-contact-info {
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.8) 0%, rgba(15, 20, 41, 0.8) 100%);
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.2);
  animation: fadeInLeft 0.6s ease;
}

.buddy-contact-heading {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.buddy-contact-info p {
  color: rgba(224, 230, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.9;
  margin-bottom: 15px;
}

.buddy-contact-form {
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.8) 0%, rgba(15, 20, 41, 0.8) 100%);
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
  animation: fadeInRight 0.6s ease;
}

.buddy-contact-form input,
.buddy-contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 18px;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: rgba(10, 14, 39, 0.6);
  color: var(--text);
}

.buddy-contact-form input:focus,
.buddy-contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
  background: rgba(10, 14, 39, 0.8);
}

@media (max-width: 768px) {
  .buddy-contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* === FOOTER === */
.buddy-footer {
  background: linear-gradient(135deg, #0a0e27 0%, #0f1419 100%);
  color: var(--text);
  padding: 80px 20px 40px;
  border-top: 2px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.buddy-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 217, 255, 0.05) 50%, transparent 100%);
  pointer-events: none;
}

.buddy-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.buddy-footer-logo {
  max-width: 130px;
  height: auto;
  margin-bottom: 35px;
  filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.4));
  transition: all 0.3s ease;
}

.buddy-footer-logo:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.6));
}

.buddy-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

.buddy-footer-nav a {
  color: rgba(224, 230, 255, 0.9);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.buddy-footer-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--primary);
}

.buddy-footer-nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

.buddy-footer-nav a:hover::after {
  width: 100%;
}

/* === FOOTER DISCLAIMER CARD === */
.buddy-footer-disclaimer {
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.6) 0%, rgba(15, 20, 41, 0.6) 100%);
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 35px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.2);
  transition: all 0.3s ease;
}

.buddy-footer-disclaimer:hover {
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.8) 0%, rgba(15, 20, 41, 0.8) 100%);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
}

.buddy-footer-disclaimer h5 {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.buddy-footer-disclaimer p {
  color: rgba(224, 230, 255, 0.9);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.buddy-footer-copy {
  text-align: center;
  color: rgba(224, 230, 255, 0.7);
  font-size: 0.88rem;
  line-height: 1.7;
  border-top: 1px solid rgba(0, 217, 255, 0.2);
  padding-top: 25px;
}

.buddy-footer-copy a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.buddy-footer-copy a:hover {
  text-decoration: underline;
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

/* === POPUP DISCLAIMER (One-time, localStorage) === */
.buddy-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 39, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(8px);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.buddy-popup[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}

.buddy-popup-inner {
  background: linear-gradient(135deg, rgba(26, 31, 58, 0.95) 0%, rgba(15, 20, 41, 0.95) 100%);
  border-radius: 10px;
  padding: 55px;
  max-width: 580px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 60px rgba(0, 217, 255, 0.4), inset 0 0 40px rgba(0, 255, 136, 0.1);
  animation: popupSlideIn 0.5s ease;
  border: 2px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.buddy-popup-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  box-shadow: 0 0 20px var(--primary);
}

.buddy-popup-title {
  color: var(--accent);
  font-size: 1.9rem;
  margin-bottom: 20px;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.buddy-popup-text {
  color: rgba(224, 230, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.buddy-popup-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.buddy-popup-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text-dark);
  border: none;
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.buddy-popup-btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.buddy-popup-btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.buddy-popup-btn-secondary:hover {
  background: var(--primary);
  color: var(--text-dark);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

@keyframes popupSlideIn {
  from {
    transform: scale(0.9) translateY(-40px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* === SCROLL TO TOP === */
.buddy-scroll {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text-dark);
  border: none;
  border-radius: 6px;
  font-size: 22px;
  display: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 25px rgba(0, 217, 255, 0.4);
  font-weight: 700;
}

.buddy-scroll:hover {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--text-dark);
  transform: translateY(-5px);
  box-shadow: 0 0 35px rgba(0, 255, 136, 0.6);
}

/* === LEGAL PAGES === */
.buddy-legal {
  background: linear-gradient(135deg, #0a0e27 0%, #0f1419 100%);
  color: var(--text);
  padding: 100px 20px;
  min-height: 60vh;
}

.buddy-legal-content {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease;
}

.buddy-legal-text {
  color: rgba(224, 230, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.9;
  margin-bottom: 22px;
  text-align: justify;
}

.buddy-legal-subtitle {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 35px;
  margin-bottom: 18px;
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.buddy-legal a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  font-weight: 600;
}

.buddy-legal a:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}

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

  .buddy-hero-sub {
    font-size: 1rem;
  }

  .buddy-popup-inner {
    padding: 40px 25px;
  }

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

  .buddy-popup-btn,
  .buddy-popup-btn-secondary {
    width: 100%;
  }
}
