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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #ff9ecf 0%, #9ec5ff 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.header-nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.header-nav a:hover {
  color: #ff6bb3;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6bb3, #6bb3ff);
  transition: width 0.3s ease;
}

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

a.header-play-button {
  background: linear-gradient(135deg, #ff6bb3, #6bb3ff);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none !important;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

a.header-play-button::after {
  display: none !important;
}

a.header-play-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Main Content */
main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
}

/* Sections */
section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

section h1 {
  color: #ff6bb3;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ff6bb3, #6bb3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

section h2 {
  color: #ff6bb3;
  font-size: 2rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

section h3 {
  color: #6bb3ff;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  margin-top: 1.25rem;
}

section p {
  margin-bottom: 1rem;
  color: #444;
  font-size: 1.1rem;
}

section ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

section li {
  margin-bottom: 0.5rem;
  color: #444;
}

section strong {
  color: #ff6bb3;
}

/* Breadcrumbs */
.breadcrumbs {
  margin: 1.5rem 0 1rem 0;
  padding: 0;
}

.breadcrumbs-list {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}

.breadcrumbs-item {
  display: flex;
  align-items: center;
  color: #666;
}

.breadcrumbs-item:not(:last-child)::after {
  content: '/';
  margin: 0 0.5rem;
  color: #999;
  font-weight: 300;
}

.breadcrumbs-link {
  color: #4a5568;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.breadcrumbs-link:hover {
  color: #2d3748;
  text-decoration: underline;
}

.breadcrumbs-current {
  color: #2d3748;
  font-weight: 600;
}

/* Banner Images */
.banner-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.banner-image:hover {
  transform: scale(1.02);
}

/* Demo Game Container */
.demo-game-container {
  width: 100%;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.demo-game-iframe {
  width: 100%;
  border: none;
  border-radius: 10px;
  display: block;
}

/* Demo Overlay */
.demo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-radius: 10px;
  z-index: 10;
}

.demo-overlay-button {
  padding: 1rem 2.5rem;
  border-radius: 25px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  
}

.demo-play-button {
  background: linear-gradient(135deg, #ff6bb3, #6bb3ff);
  color: white;
}

.demo-play-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 179, 0.4);
}

.demo-demo-button {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.demo-demo-button:hover {
  background: white;
  color: #ff6bb3;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* PC - Desktop iframe height */
@media (min-width: 1025px) {
  .demo-game-iframe {
    height: 600px;
    min-height: 600px;
  }
}

/* Laptop - iframe height */
@media (max-width: 1024px) {
  .demo-game-iframe {
    height: 500px;
    min-height: 500px;
  }
}

/* Tablet - iframe height */
@media (max-width: 768px) {
  .demo-game-container {
    padding: 0.75rem;
    margin: 1.5rem 0;
  }
  
  .demo-game-iframe {
    height: 400px;
    min-height: 400px;
  }
  
  .demo-overlay {
    gap: 1rem;
  }
  
  .demo-overlay-button {
    padding: 0.85rem 2rem;
    font-size: 1rem;
  }
}

/* Mobile L - iframe height */
@media (max-width: 425px) {
  .demo-game-container {
    padding: 0.5rem;
    margin: 1rem 0;
  }
  
  .demo-game-iframe {
    height: 300px;
    min-height: 300px;
  }
  
  .demo-overlay {
    gap: 0.75rem;
    flex-direction: column;
  }
  
  .demo-overlay-button {
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    width: 80%;
    max-width: 200px;
  }
}

/* Mobile M - iframe height */
@media (max-width: 375px) {
  .demo-game-iframe {
    height: 280px;
    min-height: 280px;
  }
  
  .demo-overlay-button {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Mobile S - iframe height */
@media (max-width: 320px) {
  .demo-game-iframe {
    height: 250px;
    min-height: 250px;
  }
  
  .demo-overlay-button {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
  }
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  overflow: hidden;
}

table thead {
  background: linear-gradient(135deg, #ff6bb3, #6bb3ff);
  color: white;
}

table th,
table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

table tbody tr:hover {
  background: rgba(255, 182, 193, 0.2);
}

/* Footer Styles */
footer {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

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

.footer-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.footer-nav a:hover {
  color: #ff6bb3;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6bb3, #6bb3ff);
  transition: width 0.3s ease;
}

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

a.footer-play-button {
  background: linear-gradient(135deg, #ff6bb3, #6bb3ff);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none !important;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

a.footer-play-button::after {
  display: none !important;
}

a.footer-play-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-copyright{
  color: #666;
  font-size: 0.9rem;
  text-align: center;
  width: 100%;
  margin-top: 1rem;
}

.footer-disclaimer{
  color: #666;
  font-size: 0.9rem;
  text-align: center;
  width: 100%;
}


/* 404 Page Styles */
body.page-404 main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  text-align: center;
}

.page-404-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-404-content h1 {
  font-size: 6rem;
  background: linear-gradient(135deg, #ff6bb3, #6bb3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.page-404-content p {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 2rem;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 130px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff6bb3, #6bb3ff);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: all 0.3s ease;
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
  display: flex;
}

/* FAQ Accordion */
.faq-item {
  margin-bottom: 1rem;
}

.faq-question {
  cursor: pointer;
  padding: 1rem;
  background: rgba(255, 182, 193, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  padding-right: 3rem;
}

.faq-question:hover {
  background: rgba(255, 182, 193, 0.3);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff6bb3;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  content: '−';
  transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1rem;
}

.faq-answer.active {
  max-height: 500px;
  padding: 1rem;
}

/* Bottom Banner (Sticky) */
.bottom-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #ff6bb3, #6bb3ff);
  color: white;
  padding: 1rem 2rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 998;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.bottom-banner.visible {
  display: flex;
  transform: translateY(0);
}

.bottom-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: center;
}

.bottom-banner-text {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.bottom-banner-button {
  background: white;
  color: #ff6bb3;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.bottom-banner-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */

/* PC - min 1025px */
@media (min-width: 1025px) {
  main {
    padding: 3rem;
  }
  
  section {
    padding: 2.5rem;
  }
  
  section h1 {
    font-size: 3rem;
  }
  
  section h2 {
    font-size: 2.25rem;
  }
}

/* Laptop - max 1024px */
@media (max-width: 1024px) {
  main {
    padding: 2rem;
  }
  
  section {
    padding: 1.5rem;
  }
  
  section h1 {
    font-size: 2.25rem;
  }
  
  section h2 {
    font-size: 1.75rem;
  }
  
  .header-container,
  .footer-container {
    padding: 0 1rem;
  }
  
  .header-nav a:not(.header-play-button) {
    display: none;
  }
}

/* Tablet - max 768px */
@media (max-width: 768px) {
  header {
    padding: 1rem;
  }
  
  
  .header-nav {
    justify-content: center;
    gap: 1.5rem;
  }
  
  a.header-play-button {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .scroll-to-top {
    bottom: 110px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
  
  .bottom-banner {
    padding: 0.75rem 1.5rem;
  }
  
  .bottom-banner-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .bottom-banner-text {
    font-size: 1rem;
  }
  
  .bottom-banner-button {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
  }
  
  main {
    padding: 1.5rem;
  }
  
  section {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  section h1 {
    font-size: 2rem;
  }
  
  section h2 {
    font-size: 1.5rem;
  }
  
  section h3 {
    font-size: 1.25rem;
  }
  
  section p {
    font-size: 1rem;
  }
  
  footer {
    padding: 1.5rem;
  }
  
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-nav {
    justify-content: center;
    gap: 1.5rem;
  }
  
  a.footer-play-button {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
  }
  
  table {
    font-size: 0.9rem;
  }
  
  table th,
  table td {
    padding: 0.75rem;
  }
  
  .page-404-content h1 {
    font-size: 5rem;
  }
  
  .page-404-content p {
    font-size: 1.25rem;
  }
}

/* Mobile L - max 425px */
@media (max-width: 425px) {
  header {
    padding: 0.75rem;
  }
  
  .header-logo img {
    height: 40px;
  }
  
  .header-nav a {
    font-size: 0.95rem;
  }
  
  a.header-play-button {
    padding: 0.45rem 1.15rem;
    font-size: 0.9rem;
  }
  
  .scroll-to-top {
    bottom: 100px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .bottom-banner {
    padding: 0.75rem 1rem;
  }
  
  .bottom-banner-content {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .bottom-banner-text {
    font-size: 0.95rem;
  }
  
  .bottom-banner-button {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }
  
  main {
    padding: 1rem;
  }
  
  section {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  section h1 {
    font-size: 1.75rem;
  }
  
  section h2 {
    font-size: 1.35rem;
  }
  
  section h3 {
    font-size: 1.15rem;
  }
  
  section p {
    font-size: 0.95rem;
  }
  
  section ul {
    margin-left: 1.5rem;
  }
  
  footer {
    padding: 1rem;
  }
  
  .footer-logo img {
    height: 35px;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .footer-nav a {
    font-size: 0.9rem;
  }
  
  a.footer-play-button {
    padding: 0.6rem 1.1rem;
    font-size: 0.9rem;
  }
  
  table {
    font-size: 0.8rem;
    display: block;
    overflow-x: auto;
  }
  
  table th,
  table td {
    padding: 0.5rem;
  }
  
  .banner-image {
    margin: 1rem 0;
  }
  
  .breadcrumbs {
    margin: 1rem 0 0.75rem 0;
  }
  
  .breadcrumbs-list {
    font-size: 0.85rem;
    gap: 0.4rem;
  }
  
  .breadcrumbs-item:not(:last-child)::after {
    margin: 0 0.4rem;
  }
  
  .page-404-content {
    padding: 2rem 1.5rem;
  }
  
  .page-404-content h1 {
    font-size: 4rem;
  }
  
  .page-404-content p {
    font-size: 1.1rem;
  }
}

/* Mobile M - max 375px */
@media (max-width: 375px) {
  .header-logo img {
    height: 35px;
  }
  
  .header-nav a {
    font-size: 0.9rem;
  }
  
  a.header-play-button {
    padding: 0.4rem 1.1rem;
    font-size: 0.85rem;
  }
  
  .scroll-to-top {
    bottom: 95px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  
  .bottom-banner {
    padding: 0.65rem 0.75rem;
  }
  
  .bottom-banner-text {
    font-size: 0.9rem;
  }
  
  .bottom-banner-button {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
  }
  
  section h1 {
    font-size: 1.5rem;
  }
  
  section h2 {
    font-size: 1.25rem;
  }
  
  section h3 {
    font-size: 1.1rem;
  }
  
  section p {
    font-size: 0.9rem;
  }
  
  .footer-logo img {
    height: 30px;
  }
  
  .footer-nav a {
    font-size: 0.85rem;
  }
  
  a.footer-play-button {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
  }
  
  table {
    font-size: 0.75rem;
  }
  
  .page-404-content {
    padding: 1.5rem 1rem;
  }
  
  .page-404-content h1 {
    font-size: 3.5rem;
  }
  
  .page-404-content p {
    font-size: 1rem;
  }
}

/* Mobile S - max 320px */
@media (max-width: 320px) {
  header {
    padding: 0.5rem;
  }
  
  .header-logo img {
    height: 30px;
  }
  
  .header-nav a {
    font-size: 0.85rem;
    padding: 0.25rem 0;
  }
  
  a.header-play-button {
    padding: 0.5rem 1.1rem;

    font-size: 0.8rem;
  }
  
  .scroll-to-top {
    bottom: 90px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .bottom-banner {
    padding: 0.6rem 0.5rem;
  }
  
  .bottom-banner-text {
    font-size: 0.85rem;
  }
  
  .bottom-banner-button {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  main {
    padding: 0.75rem;
  }
  
  section {
    padding: 0.75rem;
  }
  
  section h1 {
    font-size: 1.35rem;
  }
  
  section h2 {
    font-size: 1.15rem;
  }
  
  section h3 {
    font-size: 1rem;
  }
  
  section p {
    font-size: 0.85rem;
  }
  
  section ul {
    margin-left: 1.25rem;
  }
  
  footer {
    padding: 0.75rem;
  }
  
  .footer-logo img {
    height: 28px;
  }
  
  .footer-nav a {
    font-size: 0.8rem;
    padding: 0.25rem 0;
  }
  
  a.footer-play-button {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }
  
  table {
    font-size: 0.7rem;
  }
  
  table th,
  table td {
    padding: 0.4rem;
  }
  
  .page-404-content {
    padding: 1.25rem 0.75rem;
  }
  
  .page-404-content h1 {
    font-size: 3rem;
  }
  
  .page-404-content p {
    font-size: 0.95rem;
  }
}


