@font-face {
    font-family: 'Suisse International Book';
    src: url('fonts/Suisse_Intl_Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    background: #000;
    min-height: 100vh;
    font-family: 'Suisse International Book', sans-serif;
    color: #fff;
    overflow-x: hidden;
}

/* Layout Utilities */
.container-narrow {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

/* Fixed Background Video */
.video-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.4) 100%);
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px 0;
    position: relative;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.studio-logo img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.lang-switcher {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lang-switcher a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: #fff;
}

.lang-switcher span {
    color: rgba(255, 255, 255, 0.1);
}

.game-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.central-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    width: 100%;
}

.video-frame {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    box-shadow: none;
    border: none;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}

.custom-video-player {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.main-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.custom-video-player:hover .video-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.play-center-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.custom-video-player:hover .play-center-btn {
    opacity: 1;
    transform: scale(1);
}

.play-center-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) !important;
}

.play-center-btn svg {
    width: 40px;
    height: 40px;
}

.mute-corner-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mute-corner-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.mute-corner-btn svg {
    width: 20px;
    height: 20px;
}

/* Steam Official Widget Styling */
.steam-official-widget {
    margin: 30px auto 50px;
    width: 100%;
    max-width: 646px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.steam-official-widget iframe {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    background: #1b2838;
}

.steam-official-widget iframe:not([src]) {
    display: none;
}

.steam-official-widget iframe[src]+.steam-widget-placeholder {
    display: none;
}

.steam-widget-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 4px;
    background: #1b2838;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.steam-widget-placeholder:hover {
    background: #24384d;
}

@media (max-width: 700px) {
    .steam-official-widget {
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }

    .steam-official-widget iframe {
        width: 100% !important;
        height: 190px !important;
        border: none;
    }
}

.scroll-down {
    display: flex;
    justify-content: center;
    cursor: pointer;
    animation: bounce 2s infinite;
    padding: 20px 0;
    background: none;
    border: 0;
    color: inherit;
    width: 100%;
}

.scroll-down svg {
    width: 40px;
    height: 40px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* News Section */
.news-section {
    padding: 100px 0;
    background: transparent;
}

.section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 40px;
    text-align: left;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.news-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.news-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffaa00;
    margin-bottom: 20px;
}

.news-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.news-brand-logo {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.news-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.news-card p {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 800px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: gap 0.3s ease;
}

.news-link:hover {
    gap: 15px;
}

/* Devlog Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.video-card {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

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

.video-title {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.video-card:hover .video-title {
    color: #fff;
}

.devlog-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
}

.devlog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .devlog-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-card:hover .play-overlay {
    opacity: 1;
    background: #fff;
    color: #000;
}

/* About Section */
.about-section-new {
    padding: 120px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* Subtle star particles background */
.about-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255, 220, 150, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 20%, rgba(255, 220, 150, 0.3) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 40% 70%, rgba(255, 220, 150, 0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 60%, rgba(255, 220, 150, 0.3) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 10% 80%, rgba(255, 220, 150, 0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 85%, rgba(255, 220, 150, 0.3) 0%, transparent 100%);
    animation: starTwinkle 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes starTwinkle {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.about-container {
    position: relative;
    z-index: 1;
}

.about-container h1 {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -2px;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 220, 150, 0.9) 50%, #fff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.sub-title-main {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
}

.about-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 80px;
    position: relative;
}

.about-description::before {
    content: '✦';
    position: absolute;
    left: -40px;
    top: 0;
    color: rgba(255, 220, 150, 0.6);
    font-size: 20px;
    animation: starPulse 3s ease-in-out infinite;
}

@keyframes starPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.faq-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item summary {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    padding: 24px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: '✧';
    color: rgba(255, 220, 150, 0.7);
    font-size: 14px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.faq-item summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: rgba(255, 220, 150, 0.7);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item[open] summary::before {
    transform: rotate(72deg);
    color: rgba(255, 220, 150, 1);
}

.faq-item summary:hover {
    color: #fff;
}

.faq-item summary:hover::before,
.faq-item summary:hover::after {
    color: rgba(255, 220, 150, 1);
}

.faq-item p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    padding: 0 0 24px 29px;
    margin: 0;
}

/* Keep old grid styles for backward compatibility */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 60px;
}

.faq-grid .faq-item h3 {
    font-size: 14px;
    text-transform: uppercase;
    color: rgba(255, 220, 150, 0.9);
    margin-bottom: 16px;
    letter-spacing: 2px;
    font-weight: 600;
}

.faq-grid .faq-item p {
    padding: 0;
}

/* Gallery Section */
.gallery-section-new {
    padding: 60px 0;
}

.photo-gallery {
    display: flex;
    overflow-x: hidden;
    gap: 20px;
    padding: 20px 0;
}

.photo-gallery img {
    width: 500px;
    height: 280px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
    filter: brightness(0.6);
    transition: all 0.4s ease;
    cursor: pointer;
}

.photo-gallery img:hover {
    filter: brightness(1);
    transform: translateY(-5px);
}

/* Footer Section */
.minimal-footer {
    padding: 100px 0 40px 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
}

.footer-top-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-col h3 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.footer-col p,
.footer-col a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #fff;
}

.social-links-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links-footer a {
    position: relative;
    width: fit-content;
}

.social-links-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

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

/* removed address-col flex class */

.logo-col {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.studio-name {
    font-size: 10px;
    letter-spacing: 2px;
    color: #555;
    font-weight: 700;
}

.footer-bottom-row {
    padding-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

.privacy-link {
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.privacy-link:hover {
    opacity: 0.7;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox .close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .container-narrow {
        padding: 0 40px;
    }

    .about-container h1 {
        font-size: 48px;
    }

    .sub-title-main {
        font-size: 24px;
    }

    .faq-grid {
        gap: 40px;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container-narrow {
        padding: 0 20px;
    }

    .hero-section {
        padding: 40px 0;
        min-height: auto;
    }

    .header-nav {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .studio-logo img {
        height: 30px;
    }

    .game-logo img {
        height: 50px;
    }

    .video-frame {
        aspect-ratio: 16 / 9;
        /* Standard ratio for mobile */
    }

    .news-section {
        padding: 60px 0;
    }

    .news-card {
        padding: 30px 20px;
    }

    .news-card h3 {
        font-size: 22px;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-container h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .sub-title-main {
        font-size: 20px;
    }

    .about-description::before {
        display: none;
    }

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

    .footer-top-row {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .social-links-footer {
        align-items: center;
    }

    .social-links-footer a {
        width: auto;
    }

    .logo-col {
        margin-left: 0;
        align-items: center;
    }

    .footer-bottom-row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-divider {
        display: none;
    }

    .photo-gallery img {
        width: 260px;
        height: 160px;
    }

    .play-overlay {
        width: 40px;
        height: 40px;
        opacity: 1;
        /* Always visible on touch */
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

@media (max-width: 480px) {
    .about-container h1 {
        font-size: 28px;
    }

    .news-card h3 {
        font-size: 20px;
    }

    .back-home-btn {
        padding: 12px 20px;
        font-size: 12px;
    }
}
