:root {
  --yellow: #FFE599;
  --blue: #9FC5F8;
  --header-bg: #FDF6EC;
  --text-main: #222;
  --btn-yellow: #FFE599;
  --btn-blue: #9FC5F8;
  --btn-hover: #e6cc8a;
  --feedback-bg: #FFE599;
  --feedback-text: #222;
  --about-back: #F89F9F;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Josefin Sans', Arial, sans-serif;
  background: var(--header-bg);
  color: var(--text-main);
  min-height: 100vh;
  box-sizing: border-box;
}

.cps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 12px 24px;
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.cps-logo {
  height: 112px;
  width: auto;
}
.cps-nav {
  display: flex;
  gap: 12px;
}
.cps-btn {
  font-family: 'Josefin Sans', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 8px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  box-shadow: none;
  outline: none;
  display: inline-block;
}
.cps-about {
  background: var(--btn-blue);
  color: var(--text-main);
}
.cps-contact {
  background: var(--btn-yellow);
  color: var(--text-main);
}
.cps-btn:hover {
  background: var(--btn-hover);
}

.spellitaire-logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  margin-bottom: 12px;
}
.spellitaire-logo {
  width: 260px;
  max-width: 90vw;
  height: auto;
  display: block;
}
.intro-text {
  text-align: center;
  margin-bottom: 24px;
}
.intro-text .release {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.intro-text .subtitle {
  font-size: 1.1rem;
  margin-bottom: 0;
}
.carousel-section {
  width: 100vw;
  max-width: 100vw;
  overflow-x: auto;
  margin: 0 auto 32px auto;
  padding: 0 0 8px 0;
}

/* Desktop Carousel Slideshow */
.carousel-slideshow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
}

.carousel-main-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 20px;
}

.carousel-main-image {
  height: 400px;
  width: auto;
  max-width: 70vw;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  background: #fff;
}

.carousel-chevron {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  color: #333;
}

.carousel-chevron:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.05);
}

.carousel-chevron:active {
  transform: scale(0.95);
}

.carousel-image-number {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 12px;
}

.carousel-thumbnails {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.carousel-thumbnail {
  height: 60px;
  width: auto;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
  border: 2px solid transparent;
}

.carousel-thumbnail:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.carousel-thumbnail.active {
  opacity: 1;
  border-color: var(--btn-blue);
}

/* Mobile Carousel */
.carousel {
  display: none;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 24px;
}

.carousel img {
  height: 320px;
  width: auto;
  max-width: 90vw;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  scroll-snap-align: start;
  background: #fff;
}

@media (max-width: 600px) {
  .carousel-slideshow,
  .carousel-image-number,
  .carousel-thumbnails {
    display: none;
  }
  
  .carousel {
    display: flex;
  }
  
  .carousel img {
    height: 180px;
  }
}
.how-it-works-section {
  max-width: 600px;
  margin: 0 auto 32px auto;
  padding: 0 16px;
}
.how-it-works-section h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.how-it-works-section p {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.prototype-section {
  max-width: 600px;
  margin: 0 auto 32px auto;
  padding: 0 16px;
  text-align: center;
}
.centered {
  text-align: center;
  margin-bottom: 12px;
}
.game-embed-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 600px;
  background: #eaeaea;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto 0 auto;
}
.game-embed {
  width: 450px;
  height: 900px;
  min-width: 320px;
  min-height: 600px;
  border: none;
  background: #FDF6EC;
  display: block;
}
@media (max-width: 600px) {
  .game-embed {
    width: 100vw;
    height: 90vw;
    min-width: 0;
    min-height: 320px;
    max-width: 100vw;
    max-height: 90vw;
  }
  .game-embed-wrapper {
    min-height: 320px;
  }
}
.features-section {
  max-width: 600px;
  margin: 0 auto 32px auto;
  padding: 0 16px;
}
.features-section h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.features-section ul {
  margin: 0 0 8px 0;
  padding-left: 20px;
}
.features-section li {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.features-section p {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.feedback-bar {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0 24px 0;
}
.feedback-btn {
  background: var(--feedback-bg);
  color: var(--feedback-text);
  font-family: 'Josefin Sans', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  box-shadow: none;
  outline: none;
  display: inline-block;
}
.feedback-btn:hover {
  background: var(--btn-hover);
}

/* Privacy Policy Link */
.privacy-link-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 5;
}

.privacy-link {
  font-family: 'Josefin Sans', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #666;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.15s;
}

.privacy-link:hover {
  color: var(--text-main);
}

@media (max-width: 600px) {
  .privacy-link-container {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px 0 24px 0;
  }
}

/* About Page Styles */
.about-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 12px 24px;
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.back-btn {
  background: var(--about-back);
  color: var(--text-main);
  font-family: 'Josefin Sans', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 8px 22px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  box-shadow: none;
  outline: none;
  display: inline-block;
}
.back-btn:hover {
  background: #e88f8f;
}
.about-title {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Josefin Sans', Arial, sans-serif;
}
.about-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}
.about-logo {
  width: 160px;
  max-width: 60vw;
  margin: 32px 0 12px 0;
  display: block;
}
.about-tagline {
  font-size: 1.5rem;
  font-weight: 700;
  color: #C6A13F;
  margin: 0 0 8px 0;
  text-align: center;
}
.about-subtagline {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0 0 24px 0;
  text-align: center;
}
.about-desc {
  max-width: 600px;
  margin: 0 auto 24px auto;
  text-align: left;
}
.about-desc ul {
  margin: 0 0 8px 0;
  padding-left: 20px;
}
.about-desc li {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.about-desc p {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.about-team {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
  margin: 24px 0 32px 0;
  flex-wrap: wrap;
}
.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 180px;
}
.team-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
  border: 4px solid var(--btn-blue);
  background: #fff;
}
.team-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 2px;
  text-align: center;
}
.team-email {
  font-size: 0.95rem;
  color: #666;
  text-align: center;
  word-break: break-all;
}
@media (max-width: 600px) {
  .about-team {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .team-member {
    max-width: 100%;
  }
}

/* Privacy Policy Page Styles */
.privacy-content {
  max-width: 700px;
  margin: 0 auto 32px auto;
  text-align: left;
  padding: 0 16px;
}

.privacy-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 32px 0 16px 0;
  text-align: center;
}

.privacy-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 24px 0 12px 0;
  color: var(--text-main);
}

.privacy-content p {
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.privacy-content .last-updated {
  font-style: italic;
  text-align: center;
  margin-bottom: 24px;
  color: #666;
}

.privacy-content ul {
  margin: 0 0 12px 0;
  padding-left: 24px;
}

.privacy-content li {
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 6px;
} 