/* Base styles */
html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
    scrollbar-color: rgb(55, 55, 55) black;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: white;
    background: #000;
}

/* Navbar styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
}

.logo-wrapper {
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
}

.logo {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo:hover {
    opacity: 0.9;
}

.logo-image {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

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

.nav-link {
    color: white;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: white;
}

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

/* Active state for current page */
.nav-link[aria-current="page"] {
    font-weight: bold;
}

.play-button {
    background: white;
    color: black;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Active state for play button */
.play-button[aria-current="page"] {
    background: rgba(255, 255, 255, 0.9);
}

/* Hero styles */
.hero {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #000;
    color: white;
    text-align: center;
    padding: 120px 1rem 200px 1rem;
    overflow: hidden;
}

.image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 600px;
    height: 1000px;
    z-index: 0;
    aspect-ratio: 1/1;
    background: #000;
    background-image: url('public/images/hero-bg-gradient.webp');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    contain: layout paint;
    border-radius: 10px;
}

.container {
    max-width: 1400px;
    width: 60%;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 0rem;
    margin-top: 0rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.cta-button {
    background: white;
    color: black;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.price {
    font-size: 2rem;
    font-weight: 700;
}


.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: white;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* Responsive styles */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .logo-wrapper {
        height: 30px;
    }
    
    .nav-links {
        display: none;
    }
    
    .title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .cta {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Clues Section */
.clues {
    background-color: var(--dark-bg);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.clues .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.clues .image-section {
    height: fit-content;
    order: 2;
    position: relative;
}

.clues-image {
    position: relative;
    width: 100%;
    height: 600px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background-image: url('public/images/clues-bg.png');
    background-size: cover;
    background-position: center;
}

.clues .content {
    color: var(--text-light);
    order: 1;
}

.clues .title {
    font-family: 'Inter', sans-serif;
    margin-bottom: 25px;
    color: white;
    position: relative;
}

.clues .subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.clues .timeline {
    position: relative;
    padding-left: 30px;
}

.clues .timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 3px;
}

.clues .timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.clues .timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.clues .timeline-content:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.clues .timeline-content time {
    color: white;
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 15px;
    display: block;
    opacity: 0.9;
}

.clues .timeline-content h3 {
    color: white;
    font-size: 1.4em;
    margin: 15px 0;
}

.clues .timeline-content p {
    opacity: 0.8;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Media Queries */
@media (max-width: 1024px) {
    .game-info .container,
    .clues .container {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 20px;
    }

    .game-screenshot,
    .clues-image {
        height: 500px;
    }

    .game-info .content,
    .clues .content {
        text-align: center;
    }

    .clues .timeline {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .game-info,
    .clues {
        padding: 60px 0;
    }

    .game-screenshot,
    .clues-image {
        height: 400px;
        border-radius: 15px;
    }


    .clues .timeline {
        padding-left: 20px;
    }

    .clues .timeline-content {
        padding: 20px;
    }
}

/* Game Info Section */
.game-info {
    background-color: #000;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.game-info .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.game-info .content {
    text-align: center;
    margin-bottom: 120px;
    position: relative;
    z-index: 2;
}

.game-info .subtitle {
    margin-bottom: 60px;
    opacity: 0.9;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.table-scene {
    position: relative;
    width: 100%;
    height: 600px;
    background-image: url('public/images/table.png');
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
    margin-top: -200px;
}

.feature-cards {
    position: absolute;
    width: 100%;
    top: 45%;
    left: 0;
    display: flex;
    justify-content: center;
    transform: translateY(-60%);
    z-index: 1;
    gap: 5rem;
}

.feature-card {
    background: #ebebeb;
    padding: 20px;
    border-radius: 2%;
    /* Base card size with A4 ratio (1:1.4142) */
    width: 150px;
    height: 212px;
    transform: rotate(-8deg);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
}

.feature-card:first-child {
    transform: translateY(40px) translateX(2.5rem) rotate(-8deg);
    z-index: 2;
    margin-right: -50px;
    margin-top: 10px;
}

.feature-card:nth-child(2) {
    transform: translateY(10px)rotate(0deg);
    z-index: 1;
}

.feature-card:nth-child(3) {
    transform: translateY(-5px) translateX(-2.5rem) rotate(12deg);
    z-index: 2;
    margin-left: -50px;
}

.feature-card:hover {
    transform: translateY(-10px) rotate(0deg);
    z-index: 3;
}

.feature-card h3 {
    font-size: 1em;
    margin: 0px;
    color: #000;
    font-weight: 600;
    text-align: center;
    font-weight: bold;
}

.feature-card p {
    font-size: 0.9em;
    line-height: 1.5;
    color: #333;
    text-align: center;
}

/* Media Queries */
@media (max-width: 1200px) {
    .feature-card {
        width: 150px;
        height: 212px;
        padding: 18px;
    }

    .feature-card:first-child {
        transform: translateX(-20px) rotate(-8deg);
        z-index: 2;
        transform: translateY(-5px) translateX(-2.5rem) rotate(12deg);
    z-index: 2;
    margin-left: -50px;
    }

    .feature-card:nth-child(2) {
        transform: translateY(0) rotate(0deg);
        z-index: 1;
    }

    .feature-card:nth-child(3) {
        transform: translateX(20px) rotate(8deg);
        z-index: 2;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .feature-card {
        width: 130px;
        height: 184px;
        padding: 15px;
    }

    .feature-card h3 {
        font-size: 0.95em;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 0.85em;
        line-height: 1.4;
        margin-top: 0px;
    }

    .feature-card:first-child {
        transform: translateX(-15px) rotate(-5deg);
    }

    .feature-card:nth-child(3) {
        transform: translateX(15px) rotate(5deg);
    }
}

/* Support Section */
.support {
    background-color: var(--dark-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.support .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.support .content {
    text-align: center;
    margin-bottom: 40px;
}

.support .title {
    font-family: 'Inter', sans-serif;
    font-size: 2.5em;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.support .subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.8;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.support-item {
    position: relative;
    display: flex;
}

.support-content {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.support-content:hover {
    transform: translateY(-5px);
}

.support-content h3 {
    color: var(--accent-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.support-content p {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.support-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: color 0.3s ease;
    margin-top: auto;
}

.support-link:hover {
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: #000;
    padding: 60px 0 20px;
    color: var(--text-light);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-logo-image {
  height: 40px;
}

.footer-logo p {
  opacity: 0.7;
  font-size: 0.9em;
  margin-top: 2px;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-column {
  
  min-width: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column h4 {
  font-family: 'Inter', sans-serif;
  color: var(--accent-color);
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.footer-column a {
  color: var(--text-light);
  text-decoration: none;
  margin-bottom: 10px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.footer-column a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.6;
  font-size: 0.9em;
}

/* Media Queries for Support and Footer */
@media (max-width: 768px) {
  .support-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links {
    width: 100%;
  }

  .footer-column {
    min-width: 100%;
  }
}

/* Shop Section */
.shop {
    background-color: var(--dark-bg);
    padding: 80px 0 0 0;
    min-height: 800px;
}

.shop .title {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: white;
}

.shop .subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    text-align: center;
    opacity: 0.8;
    color: white;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
}

.game-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gray-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.game-card:hover .game-cover {
    transform: scale(1.05);
}

.game-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    font-family: 'Inter', sans-serif;
}

.game-info {
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.game-title-wrapper {
    margin-bottom: 20px;
}

.game-price-wrapper {
    width: 100%;
    margin-top: auto;
}

.game-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.game-price {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    font-family: 'Inter', sans-serif;
}

.buy-button {
    width: 100%;
    padding: 12px 24px;
    background: white;
    color: black;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    
    text-decoration: none;
    display: block;
    text-align: center;
    box-sizing: border-box;
}

.buy-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.notify-button {
    width: 100%;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: not-allowed;
    font-family: 'Inter', sans-serif;
}

.game-card.coming-soon {
    opacity: 0.7;
}

/* Media Queries for Shop Section */
@media (max-width: 768px) {
    .shop {
        padding: 80px 0;
    }

    .shop .title {
        font-size: 2.2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
}

/* How It Works Section */
.how-it-works {
    background-color: var(--dark-bg);
    
    color: white;
}

.how-it-works .title {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.step {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: white;
    color: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    font-family: 'Inter', sans-serif;
}

.step h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: white;
}

.step p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
}

.step .play-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.step .play-link:hover {
    opacity: 0.8;
}

.faq-link {
    text-align: center;
    margin-top: 40px;
    font-family: 'Inter', sans-serif;
}

.faq-link a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.faq-link a:hover {
    opacity: 0.8;
}

/* Media Queries for How It Works Section */
@media (max-width: 768px) {
    .how-it-works {
        padding: 60px 0;
    }

    .how-it-works .title {
        font-size: 2rem;
    }

    .steps {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
}

/* Checkout Section */
.checkout {
    background-color: var(--dark-bg);
    padding: 80px 0;
    min-height: calc(100vh - 200px);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.game-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    height: fit-content;
}

.game-details .game-image {
    position: relative;
    margin-bottom: 20px;
}

.game-details .game-cover {
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.game-details h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.game-details .game-description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.8;
}

.game-details .game-price {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.checkout-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
}

.checkout-form h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: white;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 8px;
    color: white;
}

.form-group input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
}

.form-help {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    margin-top: 8px;
    opacity: 0.7;
    color: white;
}

.card-element {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.card-errors {
    color: #ff5252;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: white;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
}

.checkbox-label a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.checkbox-label a:hover {
    opacity: 0.8;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: white;
    color: black;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.button-loading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: black;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.payment-methods {
    margin-top: 30px;
    text-align: center;
}

.payment-methods p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: white;
    opacity: 0.8;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.payment-icons img {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

/* Media Queries for Checkout Section */
@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .checkout {
        padding: 60px 0;
    }

    .game-details,
    .checkout-form {
        padding: 20px;
    }
}

/* Dialog Styles */
.dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dialog.show {
    opacity: 1;
    visibility: visible;
}

.dialog-content {
    background: #000;
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.dialog.show .dialog-content {
    transform: translateY(0);
    opacity: 1;
}

.dialog-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dialog-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.dialog h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 600;
}

.dialog p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 25px;
    color: white;
    opacity: 0.8;
    line-height: 1.6;
}

.dialog-form {
    margin-top: 20px;
}

.dialog-form .form-group {
    margin-bottom: 20px;
}

.dialog-form label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: white;
    font-weight: 500;
}

.dialog-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.dialog-form input[type="email"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.form-message {
    margin: 15px 0;
    padding: 12px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.form-message.error {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

.dialog-form .submit-button {
    width: 100%;
    padding: 12px 24px;
    background: white;
    color: black;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.dialog-form .submit-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.dialog-form .button-text {
    display: block;
    transition: opacity 0.3s ease;
}

.dialog-form .button-loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.dialog-form .button-loading[hidden] {
    display: none;
}

.dialog-form .button-text[hidden] {
    display: none;
}

.dialog-form .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: black;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Media Queries for Dialog */
@media (max-width: 480px) {
    .dialog-content {
        padding: 20px;
    }

    .dialog h2 {
        font-size: 1.5rem;
    }
}

/* FAQ Section */
.faq {
    background-color: var(--dark-bg);
    padding: 80px 0;
    min-height: calc(100vh - 200px);
}

.faq .title {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: white;
}

.faq .subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: white;
    opacity: 0.8;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-category h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question {
    width: 100%;
    padding: 15px 20px;
    background: none;
    border: none;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question .icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: white;
    opacity: 0.8;
    padding: 15px 0;
    margin: 0;
}

.faq-answer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.faq-answer a:hover {
    opacity: 0.8;
}

/* Media Queries for FAQ Section */
@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }

    .faq .title {
        font-size: 2rem;
    }

    .faq .subtitle {
        font-size: 1rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-category {
        padding: 20px;
    }
}

/* Legal Content Styles */
.legal-content {
    padding: 4rem 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

.legal-content .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.legal-content .last-updated {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.legal-section h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-color);
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-section ul,
.legal-section ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.legal-section a:hover {
    opacity: 0.8;
    text-decoration: none;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 5rem 0;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .legal-section h3 {
        font-size: 1.1rem;
    }
}

/* Verification Page */
.verification {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: #000;
}

.verification .container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.verification h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.verification .subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.verification .subtitle a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.verification-form {
    max-width: 400px;
    margin: 0 auto;
}

.verification-form input {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.verification-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

/* Game Settings Page */
.game-body {
    background: #000;
    color: #fff;
    min-height: 100vh;
}

.game-ambience {
    position: relative;
    min-height: 100vh;
    background: url('public/images/hero-bg-gradient.webp') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

.fog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.8)),
        url('public/images/noise.png') repeat;
    opacity: 0.5;
    pointer-events: none;
    animation: fogAnimation 30s linear infinite;
}

.vignette-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.8));
    pointer-events: none;
}

@keyframes fogAnimation {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

.game-settings {
    position: relative;
    z-index: 1;
}

.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
    letter-spacing: -0.02em;
}

.case-file {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.case-number {
    font-family: 'Inter', monospace;
    font-size: 0.875rem;
    color: #FFD700;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.case-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.mode-selector {
    max-width: 1000px;
    margin: 0 auto;
}

.mode-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.game-modes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.mode-option {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.mode-option:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.mode-option.selected {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFD700;
}

.mode-content {
    padding: 2rem;
    text-align: center;
}

.mode-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: #FFD700;
}

.mode-icon svg {
    width: 100%;
    height: 100%;
}

.mode-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.mode-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 100px;
    font-size: 0.875rem;
    color: #FFD700;
}

.mode-description {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
}

.description-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

.description-icon {
    width: 32px;
    height: 32px;
    color: #FFD700;
}

.description-icon svg {
    width: 100%;
    height: 100%;
}

.description-header h3 {
    font-size: 1.25rem;
    color: #fff;
    margin: 0;
}

.description-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 215, 0, 0.3);
}

.description-content p:last-child {
    margin-bottom: 0;
}

.continue-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 1rem 2rem;
    background: #FFD700;
    color: #000;
    border: none;
    border-radius: 100px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.continue-button svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.continue-button:hover {
    background: #FFF;
    transform: translateY(-2px);
}

.continue-button:hover svg {
    transform: translateX(4px);
}

.continue-button.loading {
    background: #4A4A4A;
    cursor: wait;
}

.continue-button.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@media (max-width: 768px) {
    .game-header h1 {
        font-size: 3rem;
    }

    .case-details {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .game-modes {
        grid-template-columns: 1fr;
    }

    .mode-content {
        padding: 1.5rem;
    }
} 