/* ==========================================================================
CSS Variables & Theming
========================================================================== */
:root {
  /* Brand Colors */
  --brand-50: #f0f9ff;
  --brand-100: #e0f2fe;
  --brand-500: #0ea5e9;
  --brand-600: #0284c7;
  --brand-700: #0369a1;
  --brand-900: #0c4a6e;
  --brand-950: #082f49;

  /* Grayscale Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Other Colors */
  --blue-50: #eff6ff;
  --blue-600: #2563eb;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  /* Layout */
  --max-width: 1280px;
  --spacing-container: 1rem;

  --sc-bg-color: #0b0f19;
  --sc-text-color: #ffffff;
  --sc-accent-color: #00f0ff;
  --sc-accent-glow: rgba(0, 240, 255, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--gray-800);
  background-color: var(--gray-50);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-container);
}

@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ==========================================================================
  Navigation
  ========================================================================== */
.navbar {
  background-color: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem; /* 80px */
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo-icon {
  background-color: var(--brand-600);
  color: #ffffff;
  padding: 0.5rem;
  border-radius: 0.5rem;
  margin-right: 0.75rem;
  display: flex;
}

.logo-text {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  color: var(--gray-900);
}

.desktop-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .desktop-menu {
      display: flex;
  }
}

.nav-link {
  color: var(--gray-600);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--brand-600);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  color: #ffffff;
  background-color: var(--brand-600);
  transition: background-color 0.2s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  background-color: var(--brand-700);
}

.btn-primary svg {
  margin-right: 0.5rem;
  width: 1rem;
  height: 1rem;
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.375rem;
  color: var(--gray-400);
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
  color: var(--gray-500);
  background-color: var(--gray-100);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
      display: none;
  }
}

.mobile-menu {
  display: none;
  background-color: #ffffff;
  border-top: 1px solid var(--gray-100);
  position: absolute;
  width: 100%;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mobile-menu.is-open {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu.is-open {
      display: none; /* Hide on desktop even if toggled */
  }
}

.mobile-menu-inner {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.2s ease;
}

.mobile-link:hover {
  color: var(--gray-900);
  background-color: var(--gray-50);
}

.mobile-link.highlight {
  color: var(--brand-600);
}

/* ==========================================================================
Hero Section
========================================================================== */
.hero, .hero-slim {
  position: relative;
  background-color: var(--brand-950);
  background-image: linear-gradient(rgba(10, 30, 43, 0.75), rgba(6, 20, 29, 0.9)), url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.hero {
  padding: 6rem 0 8rem;
}

.hero-slim {
  padding: 3rem 0 3rem;
}

@media (min-width: 1024px) {
    .hero {
        padding: 8rem 0 10rem;
    }
    .hero-slim {
        padding: 4rem 0 4rem;
    }
}

.hero-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 48rem;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: var(--brand-900);
    border: 1px solid var(--brand-600);
    color: var(--brand-100);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 2rem;
}

@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }

.hero-title span {
    color: var(--brand-500);
}

.hero-title br {
    display: none;
}
@media (min-width: 640px) {
    .hero-title br { display: block; }
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 2.5rem;
    line-height: 1.625;
    max-width: 42rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

.btn-large {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.btn-white {
    background-color: #ffffff;
    color: var(--brand-950);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background-color: var(--gray-100);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid var(--brand-600);
}

.btn-outline:hover {
    background-color: rgba(2, 132, 199, 0.2); /* brand-600 at 20% opacity */
}

.btn-large svg {
    margin-right: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
}

/* ==========================================================================
  Page Section
  ========================================================================== */

.section-padding, .mdsection-padding {
  padding: 6rem 0;
}

.mdsection-padding {
  padding: 3rem 0;
}

.mdsection-padding p {
  padding: 0.5em 0;
}

.services-section {
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--brand-600);
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.section-title {
  margin-top: 0.5rem;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--gray-900);
  line-height: 1.2;
}

@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }

.section-desc {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--gray-500);
}

.markdown-content {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
}

/* ==========================================================================
  Services Section
  ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background-color: var(--gray-50);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--brand-100);
}

.service-icon-wrap {
  background-color: #ffffff;
  width: 5rem;
  height: 5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  color: var(--brand-600);
  transition: all 0.3s ease;
  margin: 0 auto 2rem auto;
}

.service-card:hover .service-icon-wrap {
  background-color: var(--brand-600);
  color: #ffffff;
}

.service-icon-wrap svg {
  display: block;
  width: 3rem;
  height: 3rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--gray-600);
  line-height: 1.625;
}

/* ==========================================================================
  Support Section
  ========================================================================== */
.section-content {
  background-color: var(--brand-50);
  border-top: 1px solid var(--brand-100);
  border-bottom: 1px solid var(--brand-100);
}

.support-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .support-layout {
      flex-direction: row;
      align-items: center;
  }
}

.support-content {
  width: 100%;
}

@media (min-width: 1024px) {
  .support-content {
      width: 33.333333%;
  }
}

.support-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.support-desc {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.how-it-works-box {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
}

.hiw-header {
  display: flex;
  align-items: center;
  color: var(--brand-600);
  margin-bottom: 0.75rem;
}

.hiw-header svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
}

.hiw-header h4 {
  font-weight: 700;
  font-size: 1.125rem;
}

.hiw-list {
  list-style-type: decimal;
  list-style-position: inside;
  color: var(--gray-600);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.support-tools-wrapper {
  width: 100%;
}

@media (min-width: 1024px) {
  .support-tools-wrapper {
      width: 66.666667%;
  }
}

.tools-card {
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.tools-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  background-color: var(--gray-50);
}

.tools-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-800);
}

.tools-grid {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .tools-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

.tool-link {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.tool-link:hover {
  border-color: var(--brand-500);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.tool-icon-blue {
  background-color: var(--blue-50);
  color: var(--blue-600);
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-right: 1rem;
  transition: all 0.2s ease;
}

.tool-icon-gray {
  background-color: var(--gray-100);
  color: var(--gray-700);
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-right: 1rem;
  transition: all 0.2s ease;
}

.tool-link:hover .tool-icon-blue {
  background-color: var(--blue-600);
  color: #ffffff;
}

.tool-link:hover .tool-icon-gray {
  background-color: var(--gray-800);
  color: #ffffff;
}

.tool-icon-blue svg, .tool-icon-gray svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.tool-info span.title {
  display: block;
  font-weight: 600;
  color: var(--gray-900);
}

.tool-info span.desc {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ==========================================================================
  Footer
  ========================================================================== */
.site-footer {
  background-color: var(--brand-950);
  color: var(--gray-300);
  padding-top: 4rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--brand-900);
}

@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-brand .logo-text {
  color: #ffffff;
}

.footer-brand p {
  color: var(--gray-400);
  max-width: 24rem;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand-500);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.contact-item svg[data-lucide="map-pin"] {
  margin-top: 0.25rem;
}

.contact-item a {
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: #ffffff;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.links-list a {
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.links-list a:hover {
  color: #ffffff;
}

.links-list svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  color: var(--brand-600);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--gray-500);
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .footer-bottom {
      flex-direction: row;
      gap: 0;
  }
}

/* ==========================================================================
  Hidden Game
  ========================================================================== */
/* Standard webpage body isolated by ID */
#sc-body {
  margin: 0;
  padding: 0;
  background-color: #121212;
  color: var(--sc-text-color);
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Button to open the modal */
#sc-open-modal-btn {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    background-color: var(--sc-accent-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 15px var(--sc-accent-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

#sc-open-modal-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--sc-accent-glow);
}

/* Modal Overlay */
#sc-game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

#sc-game-modal.sc-active {
    display: flex;
}

/* Modal Content / Game Area */
#sc-game-container {
    position: relative;
    width: 90vw;
    height: 85vh;
    max-width: 1000px;
    max-height: 700px;
    background-color: var(--sc-bg-color);
    background-image: radial-gradient(circle at center, #1b2735 0%, #090a0f 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1);
    perspective: 1000px;
}

/* Close Button */
#sc-close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 200;
    transition: background 0.2s;
}

#sc-close-modal-btn:hover {
    background: rgba(255, 51, 102, 0.8);
}

/* Starry Background Container */
#sc-stars {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.sc-star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: sc-twinkle infinite alternate ease-in-out;
}

@keyframes sc-twinkle {
    0% { opacity: 0.1; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 8px rgba(255,255,255,0.8); }
}

/* Glassmorphism Card - Centered absolutely inside the container */
.sc-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Base transform */
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 4rem;
    text-align: center;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    max-width: 85%;
    width: 350px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* 3D popped-out text replacing global H1 */
.sc-heading {
    font-size: 2.8rem;
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--sc-accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateZ(60px); 
    text-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Replacing global P */
.sc-paragraph {
    font-size: 1.1rem;
    color: #a0aabf;
    margin-bottom: 2rem;
    line-height: 1.5;
    transform: translateZ(40px);
}

/* Cursor Follower - Absolute relative to game-container */
#sc-rocket {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 2.5rem;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.4s ease, filter 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
    will-change: transform;
}

/* Powerup Visual Effects */
#sc-rocket.sc-shield-active {
    filter: drop-shadow(0 0 15px #00f0ff) drop-shadow(0 0 30px #00f0ff);
}
#sc-rocket.sc-magnet-active {
    filter: drop-shadow(0 0 15px #ff00ff) drop-shadow(0 0 30px #ff00ff);
}
#sc-rocket.sc-shield-active.sc-magnet-active {
    filter: drop-shadow(0 0 20px #00f0ff) drop-shadow(0 0 30px #ff00ff);
}

@keyframes sc-shieldFlash {
    0%, 100% { filter: drop-shadow(0 0 15px #00f0ff) drop-shadow(0 0 30px #00f0ff); }
    50% { filter: drop-shadow(0 0 2px #00f0ff); }
}
@keyframes sc-magnetFlash {
    0%, 100% { filter: drop-shadow(0 0 15px #ff00ff) drop-shadow(0 0 30px #ff00ff); }
    50% { filter: drop-shadow(0 0 2px #ff00ff); }
}
@keyframes sc-combinedFlash {
    0%, 100% { filter: drop-shadow(0 0 20px #00f0ff) drop-shadow(0 0 30px #ff00ff); }
    50% { filter: drop-shadow(0 0 2px #00f0ff) drop-shadow(0 0 2px #ff00ff); }
}

#sc-rocket.sc-shield-flashing { animation: sc-shieldFlash 0.25s infinite !important; }
#sc-rocket.sc-magnet-flashing { animation: sc-magnetFlash 0.25s infinite !important; }
#sc-rocket.sc-shield-flashing.sc-magnet-active,
#sc-rocket.sc-shield-active.sc-magnet-flashing,
#sc-rocket.sc-shield-flashing.sc-magnet-flashing {
    animation: sc-combinedFlash 0.25s infinite !important;
}

/* Game Entities - Absolute relative to game-container */
.sc-entity {
    position: absolute;
    font-size: 2rem;
    pointer-events: none;
    z-index: 50;
    transform: translate(-50%, -50%);
    will-change: transform, opacity, left, top;
    animation: sc-popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.sc-powerup-anim {
    animation: sc-popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, sc-float 1.5s infinite alternate ease-in-out !important;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.7));
    z-index: 40;
}

@keyframes sc-popIn {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

@keyframes sc-float {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -50%) scale(1.15); }
}

.sc-game-over-text {
    color: #ff3366 !important;
    text-shadow: 0 0 15px rgba(255, 51, 102, 0.5) !important;
}

@keyframes sc-scorePop {
    0% { transform: translateZ(50px) scale(1); }
    50% { transform: translateZ(70px) scale(1.2); color: #fff; }
    100% { transform: translateZ(50px) scale(1); }
}

.sc-pop-anim {
    animation: sc-scorePop 0.3s ease;
}

/* Demo page specific classes */
.sc-demo-heading {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.sc-demo-paragraph {
    margin-bottom: 30px;
}

@media (max-width: 600px) {
    .sc-card { padding: 2rem; width: 280px; }
    .sc-heading { font-size: 2.2rem; transform: translateZ(40px); }
    .sc-paragraph { transform: translateZ(25px); }
}