:root {
    --text-brown: #4A3B32;
    --matte-warm: #f6e7d4; 
    --matte-warm-dark: #BFA890;
    --wood-primary: #A98467;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: 'Engine';
  src: url('../assets/Engine-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('../assets/quicksand.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap; 
}

body, html {
    height: 100%;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Engine', sans-serif;
  font-weight: normal;
}

p {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

.split-layout {
    display: flex;
    height: 100vh;
    width: 100%;
}

.left-col {
    width: 57%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block; 
}

.right-col {
    width: 43%;
    min-width: 520px;
    height: 100vh;
    background-color: var(--matte-warm);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    overflow-y: auto; 
    scrollbar-width: thin;
    scrollbar-color: var(--wood-primary) transparent;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    max-width: 640px;
    width: 100%;
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.game-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 25px;
}

.description {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-brown);
    margin-bottom: 35px;
    line-height: 1.6;
}

.platform-title {
    font-size: 2.0rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: rgba(74, 59, 50, 0.7);
    margin-bottom: 15px;
}

.platform-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.platform-link {
    display: block;
}

.platform-link:hover img {
    transform: scale(1.05);
}

.platform-link img {
    height: 35px;
    width: auto;
}

.platform-link.coming-soon {
  position: relative;
  display: inline-block;
  cursor: not-allowed;
  pointer-events: none;
}

.platform-link.coming-soon::after {
  content: 'Coming Soon';
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 10;

  font-family: 'Quicksand', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap; 
  color: #ffffff;
  background-color: #e60012;
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.platform-link.coming-soon picture {
  opacity: 0.6;
  filter: grayscale(30%);
  transition: opacity 0.3s ease;
}

.footer {
    text-align: center;
}

.company-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 15px;
}

.footer-logo {
    height: 50px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.2s ease;
    filter: drop-shadow(0px 1px 2px rgba(0,0,0,0.2));
}

.company-logos a:hover .footer-logo {
    opacity: 1;
    transform: scale(1.05);
}

.legals-text {
    font-size: 0.8rem;
    color: rgba(74, 59, 50, 0.6);
    font-weight: 600;
}

.legals-text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.legals-text a:hover {
    color: var(--text-brown);
}

.info-section {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.info-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(74, 59, 50, 0.7);
}

.info-link {
    display: inline-block;
    padding: 10px 24px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-brown);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid rgba(74, 59, 50, 0.2);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.info-link:hover {
    background-color: var(--text-brown);
    color: var(--matte-warm);
    border-color: var(--text-brown);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.lang-character-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: sans-serif;
}

#lang-character {
    width: 80px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
    filter: drop-shadow(0px 2px 6px rgba(0,0,0,0.4));
}
#lang-character:hover {
    transform: scale(1.05);
}

.speech-bubble {
    position: relative;
    background: #ffffff;
    border: 2px solid #333;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: none; /* Hidden by default */
    text-align: center;
    width: 180px;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 30px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #ffffff transparent;
    display: block;
    width: 0;
}
.speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -13px;
    right: 29px;
    border-width: 11px 11px 0;
    border-style: solid;
    border-color: #333 transparent;
    display: block;
    width: 0;
}

.bubble-title {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: bold;
    color: #555;
}

.lang-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lang-btn {
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s;
}

.lang-btn:hover {
    background: #e0e0e0;
}

.lang-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

.subtle-bounce {
    animation: gentle-bounce 2s ease-in-out infinite;
}

@keyframes gentle-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.globe-icon {
    font-size: 28px;
    margin-bottom: 4px;
    animation: spin-pulse 4s ease-in-out infinite;
}

.globe-hint {
    font-size: 11px;
    color: #666;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes spin-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}


@media (max-width: 1000px) {
    body, html {
        overflow: auto; 
    }
    .split-layout {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    .left-col {
        width: 100%;
        height: auto;
        aspect-ratio: 9 / 16;
    }
    .right-col {
        width: 100%;
        min-width: auto; 
        height: auto;
        padding: 60px 20px;
    }

    .platform-bar a img {
        height: 50px;
    }

    #lang-character {
        width: 50px;
    }
}