:root {
    --color-primary: #00E5FF;
    --color-secondary: #008F9B;
    --color-dark: #0D1117;
    --color-light: #F0F6FC;
    --color-text: #C9D1D9;
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --header-height: 80px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth !important;
    font-size: 16px;
}

body {
    background-color: var(--color-dark);
    color: var(--color-text);
    font-family: var(--font-secondary);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--color-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

section {
    scroll-margin-top: var(--header-height);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease;
    padding: 1rem 0;
}

.site-header.scrolled {
    background-color: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo-link .logo-img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--color-light);
    font-family: var(--font-primary);
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--color-primary);
}

.main-nav a:hover::after,
.main-nav a:focus::after {
    transform: scaleX(1);
    transform-origin: left;
}

.cta-button {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    color: var(--color-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.2);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.burger-icon {
    width: 30px;
    height: 21px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-light);
    border-radius: 3px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease;
}

.mobile-nav-toggle.is-active .burger-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-nav-toggle.is-active .burger-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.is-active .burger-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.hero {
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4rem;
    background: radial-gradient(circle at 50% 50%, rgba(0, 47, 51, 0.5) 0%, var(--color-dark) 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-image-wrapper .hero-app-icon {
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
    border: 2px solid var(--color-secondary);
}

.hero-details {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 4.5rem;
    letter-spacing: 2px;
    color: var(--color-light);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-developer {
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-meta {
    font-size: 0.9rem;
    color: var(--color-text);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 2.5rem;
    border-right: 1px solid rgba(201, 209, 217, 0.2);
}

.stat-item:last-child {
    border-right: none;
    padding-right: 0;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-light);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text);
}

.stat-badge {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    fill: var(--color-primary);
}

.age-rating {
    border: 1px solid var(--color-text);
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-cta {
    align-self: flex-start;
    padding: 1rem 3rem;
    font-size: 1.2rem;
}

.gallery {
    padding: 4rem 0;
    background-color: #0A0C10;
}

.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.slider-wrapper {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--color-secondary);
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.slider-button.prev {
    left: 1.5rem;
}

.slider-button.next {
    right: 1.5rem;
}
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(13, 17, 23, 0.5);
    backdrop-filter: blur(4px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 8px;
    user-select: none;
    transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.slider-button:hover:not(:disabled),
.slider-button:focus-visible:not(:disabled) {
    background-color: rgba(13, 17, 23, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px var(--color-primary);
}

.slider-button:disabled {
    opacity: 0.2;
    cursor: not-allowed;
    border-color: transparent;
}

.slider-button.prev {
    left: 3.5rem;
}

.slider-button.next {
    right: 3.5rem;
}

.slider-track.position-0 { transform: translateX(0%); }
.slider-track.position-1 { transform: translateX(-100%); }
.slider-track.position-2 { transform: translateX(-200%); }
.slider-track.position-3 { transform: translateX(-300%); }
.slider-track.position-4 { transform: translateX(-400%); }
.slider-track.position-5 { transform: translateX(-500%); }

.about-game {
    padding: 4rem 0;
    background-color: var(--color-dark);
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--color-light);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.about-content .feature-block {
    margin-bottom: 2.5rem;
}

.about-content h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.about-content ul {
    list-style: none;
    padding-left: 1.5rem;
}

.about-content ul li {
    margin-bottom: 0.75rem;
    position: relative;
}

.about-content ul li::before {
    content: '›';
    position: absolute;
    left: -1.5rem;
    top: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.game-meta {
    margin-top: 4rem;
    border-top: 1px solid rgba(201, 209, 217, 0.2);
    padding-top: 2rem;
}

.fine-print {
    font-size: 0.8rem;
    color: #8b949e;
    line-height: 1.7;
}

.fine-print p {
    margin-bottom: 1rem;
}

.fine-print h4 {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.last-updated {
    font-weight: 700;
    color: var(--color-light);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-pill {
    background-color: rgba(0, 143, 155, 0.2);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid var(--color-secondary);
}

.data-safety {
    padding: 4rem 0;
    background-color: #0A0C10;
}

.safety-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: var(--color-text);
    opacity: 0.9;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.safety-item {
    background-color: var(--color-dark);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 143, 155, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.safety-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.1);
}

.safety-icon {
    height: 48px;
    width: 48px;
    fill: var(--color-primary);
    margin-bottom: 1.5rem;
}

.safety-item h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--color-light);
    margin-bottom: 0.75rem;
}

.reviews {
    padding: 3rem 0;
}

.reviews-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.reviews-header .section-title {
    margin-bottom: 0;
    text-align: center;
}

.reviews-header .section-title::after {
    display: none;
}

.verified-note {
    color: var(--color-text);
    font-size: 0.9rem;
    opacity: 0.8;
}

.reviews-grid {
    display: block;
}

.rating-summary {
    border-bottom: 1px solid rgba(201, 209, 217, 0.1);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.rating-overview {
    text-align: center;
    margin-bottom: 2rem;
}

.rating-score {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    color: var(--color-light);
    line-height: 1;
}

.total-reviews {
    color: var(--color-text);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text);
}

.progress-bar {
    flex-grow: 1;
    height: 8px;
    background-color: rgba(201, 209, 217, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    border-radius: 4px;
}

.w-45 { width: 45%; }
.w-25 { width: 25%; }
.w-15 { width: 15%; }
.w-10 { width: 10%; }
.w-5 { width: 5%; }

.tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(201, 209, 217, 0.2);
    margin-bottom: 1.5rem;
}

.tab-button {
    flex-grow: 1;
    flex-basis: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background: transparent;
    border: none;
    color: var(--color-text);
    padding: 0.5rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    word-break: break-word;
}

.tab-button:hover:not(.active) {
    color: var(--color-light);
}

.tab-button.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.tab-button svg {
    fill: currentColor;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    border-bottom: 1px solid rgba(201, 209, 217, 0.1);
    padding-bottom: 1.5rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author h4 {
    color: var(--color-light);
    font-weight: 700;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.review-meta span {
    font-size: 0.8rem;
    color: var(--color-text);
    opacity: 0.7;
}

.rating-stars,
.review-stars {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: 1.2rem;
    font-family: Times;
    line-height: 1;
}

.rating-stars::before,
.review-stars::before {
    content: '★★★★★';
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--color-primary) var(--percent), #333 var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rating-5 { --rating: 5; }
.rating-4 { --rating: 4; }
.rating-3 { --rating: 3; }
.rating-3-7 { --rating: 3.7; }

.review-text {
    color: var(--color-text);
    line-height: 1.6;
}

.hidden-review {
    display: none;
}

.hidden-review.is-visible {
    display: block;
}

.show-more-btn {
    background: transparent;
    border: 1px solid var(--color-secondary);
    color: var(--color-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.show-more-btn:hover {
    background-color: var(--color-secondary);
    color: var(--color-dark);
}

.show-more-btn.is-hidden {
    display: none;
}

.site-footer {
    background-color: #0A0C10;
    padding: 3rem 0;
    border-top: 1px solid rgba(201, 209, 217, 0.1);
    color: var(--color-text);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-logo {
    height: 40px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover .footer-logo {
    opacity: 1;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
}

.footer-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.footer-meta {
    font-size: 0.85rem;
    opacity: 0.6;
}

.developer-credit {
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-dark);
        border-top: 1px solid var(--color-secondary);
        padding: 1.5rem 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }
    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    .main-nav a {
        font-size: 1.5rem;
    }
    .header-cta {
        display: none;
    }
    .mobile-nav-toggle {
        display: flex;
    }
    .hero {
        text-align: center;
        min-height: auto;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-image-wrapper {
        justify-self: center;
    }
    .hero-app-icon {
        width: 150px;
    }
    .hero-details {
        align-items: center;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-stats {
        gap: 1.5rem;
        justify-content: center;
    }
    .stat-item {
        padding-right: 1.5rem;
        border-right: 1px solid rgba(201, 209, 217, 0.2);
    }
    .hero-cta {
        align-self: center;
    }
    .gallery {
        padding: 3rem 0;
    }
    .slider-button.prev {
        left: 2.5rem;
    }
    .slider-button.next {
        right: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .about-content h3 {
        font-size: 1.3rem;
    }
}

@media (min-width: 769px) {
    .reviews {
        padding: 4rem 0;
    }
    .reviews-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    .reviews-grid {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 3rem;
    }
    .rating-summary {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
        border-right: 1px solid rgba(201, 209, 217, 0.1);
        padding-right: 2rem;
    }
    .rating-score {
        font-size: 4rem;
    }
    .tab-button {
        flex-direction: row;
        font-size: 1rem;
        gap: 0.5rem;
    }
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .footer-nav {
        order: 2;
    }
    .footer-logo-link {
        order: 1;
    }
    .footer-meta {
        order: 3;
        text-align: right;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .logo-link .logo-img {
        height: 35px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-developer {
        font-size: 1rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    .stat-item {
        border-right: none;
        padding-right: 0;
        align-items: center;
    }
    .hero-cta {
        width: 100%;
        text-align: center;
    }
    .slider-container {
        padding: 0 1rem;
    }
    .slider-button {
        font-size: 1.5rem;
        padding: 0.4rem 0.8rem;
    }
    .slider-button.prev {
        left: 1.75rem;
    }
    .slider-button.next {
        right: 1.75rem;
    }
    .about-game {
        padding: 3rem 0;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }
    .about-content h3 {
        font-size: 1.2rem;
    }
    .data-safety {
        padding: 3rem 0;
    }
    .safety-item {
        padding: 1.5rem;
    }
}
.slider-track.position-6 { transform: translateX(-600%); }
.slider-track.position-7 { transform: translateX(-700%); }
.legal-page {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
}

.legal-page .container {
    max-width: 800px;
}

.legal-page h1 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--color-light);
    margin-bottom: 0.5rem;
    text-align: center;
}

.legal-page .last-updated-legal {
    text-align: center;
    color: var(--color-text);
    opacity: 0.7;
    margin-bottom: 3rem;
}

.legal-page article {
    margin-bottom: 2rem;
}

.legal-page h2 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-secondary);
    padding-bottom: 0.5rem;
}

.legal-page p,
.legal-page li {
    line-height: 1.8;
    color: var(--color-text);
}

.legal-page p {
    margin-bottom: 1rem;
}

.legal-page ul {
    list-style: disc;
    padding-left: 2rem;
}

.legal-page a {
    color: var(--color-primary);
    text-decoration: underline;
    word-break: break-all;
}

.legal-page a:hover {
    color: var(--color-light);
}

@media(max-width: 480px) {
    .legal-page h1 {
        font-size: 2rem;
    }
}
.rating-4-4 { --rating: 4.4; }
.w-65 { width: 65%; }
.w-62 { width: 62%; }
.w-20 { width: 20%; }
.w-8 { width: 8%; }
.w-3 { width: 3%; }
.w-2 { width: 2%; }