/* General Styles */
:root {
    --primary-pink: #FF69B4; /* Hot Pink */
    --secondary-pink: #FFC0CB; /* Light Pink */
    --accent-purple: #DA70D6; /* Orchid */
    --dark-text: #333333;
    --light-text: #FFFFFF;
    --bg-dark-overlay: rgba(0, 0, 0, 0.6);
    --bg-light-overlay: rgba(255, 255, 255, 0.8);
    --gradient-pink-purple: linear-gradient(45deg, var(--primary-pink), var(--accent-purple));
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #f8f8f8;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-text);
    margin-bottom: 15px;
}

h1 {
    font-size: 3.5em;
    text-align: center;
    color: var(--light-text);
    text-shadow: var(--shadow-dark);
}

h2 {
    font-size: 2.5em;
    color: var(--primary-pink);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-pink-purple);
    margin: 15px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.8em;
    color: var(--accent-purple);
    margin-bottom: 10px;
}

p {
    margin-bottom: 1em;
}

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

a:hover {
    color: var(--accent-purple);
}

.text-center {
    text-align: center;
}

/* Header */
.header {
    background: var(--gradient-pink-purple);
    padding: 15px 0;
    color: var(--light-text);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header .logo {
    display: flex;
    align-items: center;
    color: var(--light-text);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
}

.header .logo img {
    height: 40px;
    margin-right: 10px;
}

.header .developer-info {
    font-size: 0.9em;
    opacity: 0.9;
}

/* Buttons */
.btn-play-now {
    display: inline-flex;
    align-items: center;
    background: var(--primary-pink);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-dark);
    border: none;
    cursor: pointer;
}

.btn-play-now:hover {
    background: var(--accent-purple);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color: #333333;
}

.btn-play-now i {
    margin-right: 10px;
    font-size: 1.5em;
}

.btn-play-now.large {
    padding: 18px 40px;
    font-size: 1.4em;
}

/* Hero Section */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--light-text);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark-overlay);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5em;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero .tagline {
    font-size: 1.8em;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Section Blocks */
.section-block {
    padding: 80px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.section-block:nth-child(even) {
    background-color: #fefefe;
}

.background-image-block {
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.background-image-block .block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.795);
    z-index: -1;
}

.background-image-block h2, .background-image-block p, .background-image-block h3 {
    color: var(--light-text);
}

.section-block .block-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.section-block .block-content .text-content,
.section-block .block-content .image-content {
    flex: 1;
    min-width: 300px;
}

.section-block .block-content .image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-dark);
}

/* About Game Section */
.about-game .block-content {
    flex-direction: row;
}

.about-game ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.about-game ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--dark-text);
}

.about-game ul li i {
    font-size: 1.5em;
    color: var(--primary-pink);
    margin-right: 10px;
}

/* Game Features Section */
.game-features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-features .feature-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, background-color 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.game-features .feature-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.25);
}

.game-features .feature-item i {
    font-size: 3.5em;
    color: var(--secondary-pink);
    margin-bottom: 15px;
    display: block;
}

.game-features .feature-item h3 {
    color: var(--light-text);
    font-size: 1.5em;
}

.game-features .feature-item p {
    color: var(--light-text);
    opacity: 0.9;
}

/* How to Play Section */
.how-to-play .block-content {
    flex-direction: row-reverse;
}

.how-to-play .play-steps {
    list-style: none;
    counter-reset: step-counter;
    padding-left: 0;
}

.how-to-play .play-steps li {
    margin-bottom: 25px;
    position: relative;
    padding-left: 60px;
}

.how-to-play .play-steps li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--gradient-pink-purple);
    color: var(--light-text);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    box-shadow: var(--shadow-dark);
}

.how-to-play .play-steps li h3 {
    display: flex;
    align-items: center;
    font-size: 1.6em;
    margin-bottom: 5px;
    color: var(--primary-pink);
}

.how-to-play .play-steps li h3 i {
    margin-right: 10px;
    font-size: 1.2em;
    color: var(--accent-purple);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-dark);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
}

/* Player Reviews Section */
.player-reviews {
    background-color: #fef0f5; /* Lighter pink background */
}

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

.review-card {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-8px);
}

.review-card .reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-card .reviewer-info .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary-pink);
}

.review-card .reviewer-info h4 {
    margin: 0;
    font-size: 1.3em;
    color: var(--accent-purple);
}

.review-card .review-date {
    font-size: 0.9em;
    color: #777;
    margin-top: 5px;
}

.review-card .stars {
    color: gold;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.review-card .stars i {
    margin-right: 2px;
}

/* Game Stats Section */
.game-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.game-stats .stat-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.game-stats .stat-item i {
    font-size: 3.5em;
    color: var(--secondary-pink);
    margin-bottom: 15px;
}

.game-stats .stat-item h3 {
    color: var(--light-text);
    font-size: 2em;
    margin-bottom: 5px;
}

.game-stats .stat-item p {
    color: var(--light-text);
    opacity: 0.9;
    font-size: 1.1em;
}

/* Developer Info Section */
.developer-info-block .block-content {
    flex-direction: row-reverse;
}

/* Call to Action */
.call-to-action {
    padding: 60px 0;
    background: var(--gradient-pink-purple);
    color: var(--light-text);
    text-align: center;
    border-radius: 10px;
    margin: 20px auto;
    box-shadow: var(--shadow-dark);
}

.call-to-action h2 {
    color: var(--light-text);
    font-size: 3em;
    margin-bottom: 20px;
}

.call-to-action p {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark-text);
    color: #bbb;
    padding: 40px 0;
    text-align: center;
    margin-top: 40px;
}

.footer .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 20px;
}

.footer .logo {
    color: var(--light-text);
    font-size: 1.5em;
}

.footer .logo img {
    height: 30px;
}

.footer .developer-info {
    font-size: 0.8em;
    opacity: 0.8;
}

.footer .footer-links {
    margin-bottom: 20px;
}

.footer .footer-links a {
    color: #bbb;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer .footer-links a:hover {
    color: var(--primary-pink);
}

.footer .copyright {
    font-size: 0.9em;
    color: #888;
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in-delay {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.animate-fade-in-delay.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-zoom-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

.animate-zoom-in-delay {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.animate-zoom-in-delay.is-visible {
    opacity: 1;
    transform: scale(1);
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

@media (max-width: 991px){
    .animate-slide-left,
    .animate-slide-right {
        opacity: 1;
        transform: none;
    }
}

.animate-slide-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-up-delay {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.animate-slide-up-delay.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5em;
    }
    .hero .tagline {
        font-size: 1.5em;
    }
    h2 {
        font-size: 2em;
    }
    .section-block .block-content {
        flex-direction: column;
        text-align: center;
    }
    .about-game .block-content, .how-to-play .block-content, .developer-info-block .block-content {
        flex-direction: column;
    }
    .section-block .block-content .image-content {
        order: -1; /* Image above text on smaller screens */
    }
    .how-to-play .block-content .image-content {
        order: 1;
    }
    .how-to-play .play-steps li {
        padding-left: 0;
        text-align: left;
    }
    .how-to-play .play-steps li::before {
        position: static;
        margin-right: 15px;
        display: inline-flex;
        vertical-align: middle;
    }
    .how-to-play .play-steps li h3 {
        display: inline;
    }
    .footer .footer-top {
        flex-direction: column;
        gap: 15px;
    }
    .footer .developer-info {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }
    .hero h1 {
        font-size: 2.8em;
    }
    .hero .tagline {
        font-size: 1.2em;
    }
    .btn-play-now {
        font-size: 1em;
        padding: 12px 25px;
    }
    h2 {
        font-size: 1.8em;
    }
    .section-block {
        padding: 60px 0;
    }
    .header .logo span {
        font-size: 1.5em;
    }
    .header .developer-info {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2em;
    }
    .hero .tagline {
        font-size: 1em;
    }
    .btn-play-now.large {
        font-size: 1.1em;
        padding: 15px 30px;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        font-size: 1.4em;
    }
    .header .logo img {
        height: 30px;
    }
    .header .logo span {
        font-size: 1.2em;
    }
    .footer .footer-links a {
        margin: 0 8px;
        font-size: 0.9em;
    }
}
/* New styles for .policyOrbitalShell and its children */

/* Parent container for policy content, providing overall padding and styling */
.policyOrbitalShell {
    padding: 60px 25px; /* Top/bottom and side padding for the content block */
    max-width: 1000px; /* Maximum width for better readability of text-heavy content */
    margin: 40px auto; /* Centers the block horizontally and adds vertical margin */
    background-color: #ffffff; /* White background for the content area */
    border-radius: 10px; /* Slightly rounded corners for a softer look */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Subtle shadow for depth */
    line-height: 1.7; /* Enhanced line height for improved text readability */
    color: var(--dark-text); /* Uses the previously defined dark text color */
}

/* Heading 1 styles within the policy content */
.policyOrbitalShell h1 {
    font-size: 2.2em; /* Moderate size for a main section title, not overly large */
    margin-bottom: 30px; /* Spacing after the heading */
    color: var(--primary-pink); /* Uses the primary brand color for prominence */
    font-family: 'Montserrat', sans-serif; /* Consistent heading font */
    text-align: center; /* Center alignment for the main title */
}

/* Heading 2 styles within the policy content */
.policyOrbitalShell h2 {
    font-size: 1.8em; /* Size for sub-section titles */
    margin-bottom: 25px; /* Spacing after the heading */
    color: var(--accent-purple); /* Uses the accent brand color for sub-headings */
    font-family: 'Montserrat', sans-serif;
}

/* Heading 3 styles within the policy content */
.policyOrbitalShell h3 {
    font-size: 1.5em; /* Smaller sub-heading size */
    margin-bottom: 20px; /* Spacing after the heading */
    color: var(--dark-text); /* Standard dark text color */
    font-family: 'Montserrat', sans-serif;
}

/* Heading 4 styles within the policy content */
.policyOrbitalShell h4 {
    font-size: 1.2em; /* Even smaller heading size, often used for specific points */
    margin-bottom: 15px; /* Spacing after the heading */
    color: var(--dark-text);
    font-family: 'Montserrat', sans-serif;
}

/* Heading 5 styles within the policy content */
.policyOrbitalShell h5 {
    font-size: 1.1em; /* Smallest heading, suitable for minor details or sub-sub-points */
    margin-bottom: 10px; /* Spacing after the heading */
    color: var(--dark-text);
    font-family: 'Montserrat', sans-serif;
}

/* Paragraph styles within the policy content */
.policyOrbitalShell p {
    font-size: 1em; /* Standard body text size, relative to base font size */
    margin-bottom: 1.5em; /* Spacing after each paragraph for clear separation */
    line-height: 1.7; /* Enhanced line height for readability */
}

/* Unordered list styles within the policy content */
.policyOrbitalShell ul {
    list-style: disc; /* Default disc bullet points */
    margin-left: 25px; /* Indentation for the list items */
    margin-bottom: 1.5em; /* Spacing after the entire list */
    padding-left: 0; /* Ensures no additional default padding from the browser */
}

/* List item styles within the policy content */
.policyOrbitalShell li {
    font-size: 1em; /* Standard text size for list items */
    margin-bottom: 0.8em; /* Spacing between individual list items */
    line-height: 1.6; /* Readability for list item text */
}

/* Optional: Ordered list styles, similar to unordered lists */
.policyOrbitalShell ol {
    list-style: decimal; /* Numbered list style */
    margin-left: 25px;
    margin-bottom: 1.5em;
    padding-left: 0;
}
.policyOrbitalShell ol li {
    font-size: 1em;
    margin-bottom: 0.8em;
    line-height: 1.6;
}

@media (max-width: 767px){
    .header .container{
        flex-direction: column;
    }
}

.stats-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center; /* центрируем при меньших элементах */
}

.stat-item {
    flex: 1 1 30%;
    min-width: 200px;
    text-align: center;
}

/* 2 элемента на ряд до 767px */
@media (max-width: 767px) {
    .stat-item {
        flex: 1 1 45%;
    }
}

/* 1 элемент на ряд до 575px */
@media (max-width: 575px) {
    .stat-item {
        flex: 1 1 80%;
    }
}
.reviews-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start; /* обычное выравнивание по левому краю */
}

.review-card {
    flex: 1 1 30%;
    min-width: 250px;
    max-width: 350px;
    text-align: left;
    margin: 0 auto !important;
}

/* 2 карточки на ряд до 767px */
@media (max-width: 767px) {
    .review-card {
        flex: 1 1 45%;
    }
}

/* 1 карточка на ряд до 575px */
@media (max-width: 575px) {
    .review-card {
        flex: 1 1 100%; 
        max-width: none;
    }

    
    .review-card:last-child {
        align-self: center;
        max-width: 350px; 
    }
}


.gallery-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start; /* обычное выравнивание по левому краю */
}

.gallery-item {
    flex: 1 1 30%;
    min-width: 200px;
    text-align: center;
}

/* 2 элемента на ряд до 767px */
@media (max-width: 767px) {
    .gallery-item {
        flex: 1 1 45%;
    }
}

/* 1 элемент на ряд до 575px */
@media (max-width: 575px) {
    .gallery-item {
        flex: 1 1 100%;
    }

    /* центрируем последний элемент */
    .gallery-item:last-child {
        align-self: center;
        max-width: 250px; /* или по желанию */
    }
}
