/* primary: #ff9600 secondary orange:#b06802 */
@import url('https://fonts.googleapis.com/css2?family=Mouse+Memoirs&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Slackey&display=swap');
body {
	font-family: "Mouse Memoirs", system-ui;
	font-weight: 400;
	font-style: normal;
	font-size:1.3rem;
	background-color:#99ffe3;
	color:black;
}

a {
	text-decoration:none;
	color:#ff9600;
}
a:hover {
	text-decoration:none;
	color:#ff9600;
}

.btn-primary {
	background-color:#ff9600;
	border-color:#ff9600;
	color:#111;
}
.btn-primary:hover {
	background-color:#ff8400;
	border-color:#ff8400;
	color:#111;
}

.number {
	font-family: "Slackey", sans-serif;
	font-weight: 800;
	text-transform: uppercase;
	font-style: normal;
}

.fc-orange {
	color:#ff9600;
}

.avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ff9600;
  background-color: #f8f8f8; /* fallback if image missing */
}

.avatar-sm {
  width: 40px;
  height: 40px;
}

.avatar-md {
  width: 80px;
  height: 80px;
}

.avatar-lg {
  width: 120px;
  height: 120px;
}

.die {
    width: 55px;
    height: 55px;

    border-radius: 16px;

    background: white;

    border: 3px solid #222;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    font-weight: bold;

    cursor: pointer;

    user-select: none;

    transition: all 0.2s ease;
}

.die:hover {
    transform: translateY(-2px);
}

.die.locked {
    border-color: #b541a4;
    background: #f8e8f5;
}

.die.selectable {
    border-color: #198754;
    cursor: pointer;
}

.die.selected {
    background: #198754;
    color: white;
    transform: scale(1.05);
}

.die.locked {
    background: #999;
    border-color: #666;
    color: white;

    opacity: 0.7;

    cursor: not-allowed;
}

.dice-face {

    width: 48px;
    height: 48px;

    border-radius: 10px;

    background: #f8f9fa;
    border: 2px solid #dee2e6;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    font-weight: bold;
}

.stat-box {
	border-style:solid;
	border-width:2px;
	border-color:#3f5c58;
	background-color: #3f5c58;
	border-radius:5px;
	color:#FFF;
}

.stat-blue {
	color: rgb(0, 219, 255);
}

/* landing page */
/* ===== HERO BASE (MOBILE FIRST) ===== */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;

  background: linear-gradient(
    135deg,
    #7a4c2a 0%,
    #4a4f73 40%,
    #2f7f7b 100%
  );

  color: white;
}

.hero-manual {
  padding:30px 0;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    #7a4c2a 0%,
    #4a4f73 40%,
    #2f7f7b 100%
  );
  color: white;
}

.hero-inner {
  width: 100%;
  max-width: 680px; /* mobile constraint */
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  flex-direction: column; /* mobile first */
  align-items: center;
  text-align: center;
  gap: 24px;
}


/* ===== CONTENT ===== */

.hero-content {
  max-width: 100%;
}

.hero-small {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: 2.4rem; /* mobile size */
  font-weight: 800;
  line-height: 1.2;
}

.hero h1 span {
  color: #99ffe3;
}

.hero p {
  margin-top: 12px;
  color: #ddd;
  font-size: 1rem;
}


/* ===== BUTTONS ===== */

.hero-buttons {
  margin-top: 20px;
  display: flex;
  flex-direction: column; /* full width mobile */
  gap: 10px;
  width: 100%;
}

.hero-buttons .btn {
  width: 100%;
}


/* ===== LOGO ===== */

.hero-visual {
  order: -1; /* logo on top mobile */
}

.hero-visual img {
  width: 180px;
  max-width: 100%;
}


/* ===== TABLET ===== */

@media (min-width: 768px) {

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-inner {
    max-width: 1000px;
    flex-direction: row;
    align-items: center;
    text-align: left;
    justify-content: center;
    gap: 40px;
  }

  .hero-content {
    max-width: 420px;
  }

  .hero-buttons {
    flex-direction: row;
    width: auto;
  }

  .hero-buttons .btn {
    width: auto;
  }

  .hero-visual {
    order: 0;
  }

  .hero-visual img {
    width: 300px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
}


/* ===== DESKTOP ===== */

@media (min-width: 1200px) {
  .hero {
	  min-height:600px;
  }
  .hero-inner {
    max-width: 1100px;
    gap: 60px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-visual img {
    width: 400px;
	max-width: 95%;
  }
}


/* BUTTONS */

.btn-main {
  background: #b541a4;
  color: white;
  padding: 12px 28px;
  border-radius: 10px;
  margin-right: 10px;
  border: none;
}

.btn-white {
  background: white;
  color: #ff9600;
  padding: 12px 28px;
  border-radius: 10px;
  border: none;
}


/* ===== BUTTONS ===== */

.btn-main {
  background: linear-gradient(135deg, #b06802, #ff9600);
  border: none;
  color: white;
  padding: 12px 28px;
  font-weight: bold;
  border-radius: 12px;
}

.btn-outline-main {
  border: 2px solid #b06802;
  color: #b06802;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: bold;
}


/* ===== STATS ===== */

.stats {
  background: #b06802;
  color: white;
  padding: 20px 0 30px;
  position: relative;
}

.stat-number {
  font-family: "Slackey", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 2.4rem;
  line-height: 1;
  color: #ffffff;
}

.stat-label {
  margin-top: 6px;
  font-size: 0.9rem;
  opacity: 0.85;
}

.stat-icon {
  font-size: 1.6rem;
}

@media (max-width: 768px) {
  .stats {
    padding: 50px 0;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (min-width: 768px) {
  .stats-inner {
    max-width: 900px;
    margin: 0 auto;
  }
}

/* ===== INSTALL SECTION ===== */

@media (min-width: 768px) {
  .install-inner {
    max-width: 800px;
    margin: 0 auto;
  }
}

.install-section {
  padding: 80px 0;
  background-color:#b541a4;
  color:white;
}

.install-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.install-content {
  flex: 1;
}

.install-content h2 {
  font-size: 2.4rem;
  font-weight: 800;
}

.install-content p {
  color:white;
}

.install-lead {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 24px;
  color:white;
}

.install-step {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #b541a4, #7a2d91);
  color: #fff;

  font-size: 1.3rem;
}

.step-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
}

.step-text span {
  font-size: 0.95rem;
  color: #fff;
}

.install-note {
  margin-top: 20px;
  font-size: 1.3rem;
}

.install-media {
  flex: 1;
  display: flex;
  justify-content: center;
}

.install-media video {
  max-width: 260px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .install-inner {
    flex-direction: column;
  }

  .install-media {
    order: -1;
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) {
  .install-media {
    order: -1;
  }
}

.install-notification {
  flex: 1;
  display: flex;
  justify-content: center;
}

.install-notification video {
  max-width: 260px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {

  .install-notification {
    order: -1;
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) {
  .install-notification {
    order: 0;
  }
}


/* ===== INFO SECTIONS ===== */

.info {
  color: #111;
  text-align:center;
}

.footer {
  background-color:#b541a4;
  padding: 30px 0;
  color: #fff;
}
.footer-manual {
  background-color:#b541a4;
  padding: 30px 0;
  color: #fff;
}
.footer-index {
  background-color:#111;
  padding: 30px 0;
  color: #fff;
}

@media (max-width: 768px) {
  .footer {
    margin-bottom:70px;
  }
}
@media (max-width: 768px) {
  .footer-manual {
    margin-bottom:120px;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-visual {
    order: -1; /* logo on top */
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.feature-section {
  padding: 80px 0;
}

.feature-inner {
  display: flex;
  align-items: center;
  gap: 50px;
}

/* TEXT */

.feature-content {
  flex: 1;
}

.feature-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
}

@media (max-width: 768px) {
  .feature-content {
	max-width:70%;
  }
}

.feature-compete-content {
	text-align:right;
}

@media (max-width: 768px) {
  .feature-compete-content {
    text-align:center;
	max-width:70%;
  }
}

.feature-lead {
  margin-top: 12px;
  font-size: 1.1rem;
  font-weight: 500;
}

.feature-sub {
  margin-top: 10px;
  color: #555;
  font-size: 0.95rem;
}

/* IMAGE */

.feature-media {
  flex: 1;
  display: flex;
  justify-content: center;
}

.feature-image-wrap {
  position: relative;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.feature-image-wrap img {
  display: block;
  width: 260px;
  border-radius: 20px;
}

/* OVERLAY BADGE */

.feature-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;

  background: linear-gradient(135deg, #b541a4, #99ffe3);
  color: #111;

  padding: 6px 10px;
  border-radius: 10px;

  font-size: 0.8rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .feature-inner {
    max-width: 800px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .feature-inner {
    flex-direction: column;
    text-align: center;
  }

  .feature-media {
    order: -1;
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) {
  .feature-compete-media {
    order: -1;
  }
}

.feature-callout {
  position: absolute;

  background: linear-gradient(135deg, #b541a4, #7a2d91);
  color: #fff;

  font-size: 1.3rem;
  font-weight: 700;

  padding: 12px 16px;

  border-radius: 16px;

  box-shadow: 0 10px 25px rgba(181,65,164,0.4);

  animation: floatIn 0.5s ease;
}

.feature-callout::after {
  content: "";
  position: absolute;

  width: 0;
  height: 0;

  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid #7a2d91;

  bottom: -10px;
  left: 40%;
}

.callout-chat {
  bottom: 80px;   /* tweak */
  right: -30px;    /* tweak */
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-header {
  margin-bottom: 40px;
}

.feature-title {
  font-size: 2.4rem;
  font-weight: 800;
}

@media (max-width: 768px) {
  .feature-title {
    font-size: 2rem;
  }

  .feature-header {
    margin-bottom: 25px;
  }
}

.callout-leaderboard {
  top: 40px;   /* tweak based on screenshot */
  right: -20px;
}

.feature-compete {
  position: relative;
  background: #b06802;
  color: white;
  overflow: hidden;
}

.feature-compete .feature-lead,
.feature-compete .feature-sub {
  color: rgba(255,255,255,0.9);
}

.feature-compete h2,
.feature-compete .feature-title {
  color: #fff;
}

.feature-compete::before {
  content: "";
  position: absolute;

  width: 400px;
  height: 400px;

  background: rgba(255,255,255,0.1);

  top: -100px;
  left: -100px;

  border-radius: 50%;
}

.feature-compete::after {
  content: "";
  position: absolute;

  width: 450px;
  height: 450px;

  background: rgba(255,255,255,0.2);

  bottom: -90px;
  right: -90px;

  border-radius: 50%;
}

.feature-compete::before,
.feature-compete::after {
  z-index: 0;
}

.feature-compete .container {
  position: relative;
  z-index: 2;
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  padding: 12px;
  background: rgba(153, 255, 227,0.5);
  backdrop-filter: blur(10px);

  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  justify-content: center;

  transform: translateY(100%);
  transition: transform 0.3s ease;

  z-index: 9999;
}

/* buttons full width */
.sticky-cta .btn {
  flex: 1;
  text-align: center;
}

/* visible state */
.sticky-cta.active {
  transform: translateY(0);
}

.cta-buttons {
  display: flex;
  gap: 10px;
}

/* buttons still full width */
.cta-buttons .btn {
  flex: 1;
  text-align: center;
}

/* hide on desktop */
@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

.manual-inner {
	margin: 0 auto;
	max-width:600px;
}
@media (min-width: 768px) {
	.manual-basics {
		padding:50px 0;
	}
}
@media (max-width: 768px) {
	.manual-basics {
		padding:100px 0;
	}
}
@media (min-width: 768px) {
	.manual-top {
		padding:50px 0;
		background-color:#b06802;
		color:#FFF;
	}
}
@media (max-width: 768px) {
	.manual-top {
		padding:100px 0;
		background-color:#b06802;
		color:#FFF;
	}
}
@media (min-width: 768px) {
	.manual-bottom {
		padding:50px 0;
	}
}
@media (max-width: 768px) {
	.manual-bottom {
		padding:100px 0;
	}
}
@media (min-width: 768px) {
	.manual-columns {
		padding:50px 0;
		background-color:#b06802;
		color:#FFF;
	}
}
@media (max-width: 768px) {
	.manual-columns {
		padding:100px 0;
		background-color:#b06802;
		color:#FFF;
	}
}
@media (min-width: 768px) {
	.manual-tips {
		padding:50px 0;
	}
}
@media (max-width: 768px) {
	.manual-tips {
		padding:100px 0;
	}
}
@media (min-width: 768px) {
	.manual-cta {
		padding:50px 0;
		background: linear-gradient(
			135deg,
			#b06802 0%,
			#4a4f73 40%,
			#2f7f7b 100%
		);
		color:#FFF;
		text-align:center;
	}
}
@media (max-width: 768px) {
	.manual-cta {
		padding:100px 0;
		background: linear-gradient(
			135deg,
			#b06802 0%,
			#4a4f73 40%,
			#2f7f7b 100%
		);
		color:#FFF;
		text-align:center;
	}
}

.img-bckgrnd {
	background: linear-gradient(
		135deg,
		#b06802 0%,
		#4a4f73 40%,
		#2f7f7b 100%
	);
	border-radius:5px;
	padding:25px;
}

.img-placeholder {
	background-color:#99ffe3;
	padding:5px;
	border-radius:5px;
}
.img-placeholder img {
	max-width:90%;
}

.tip-frame-bg {
	background-color:#FFF;
	border-radius:5px;
}

.tip-frame {
	background: linear-gradient(
		135deg,
		rgba(176, 104, 2, 0.5),
		rgba(153, 255, 227, 0.5)
	);
	color:#111;
	border-radius:5px;
	border-style:solid;
	border-width:1px;
	border-color:#b541a4;
}