/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.8;
    color: #ffffff;
    background-color: #001323;
    font-size: 18px;
}

p {
    line-height: 30px;
}

strong, a {
    color: #ce2ecf;
}

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

/* Hero section */
.hero {
    height: 100vh;
    background-image: url('../assets/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

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

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: normal;
}

/* World description */
.world-description {
    padding: 80px 0;
    background-color: #111111;
}

.world-description h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    letter-spacing: 0.5px;
}

.world-description p:first-of-type {
    font-size: 24px;
    font-style: italic;
    margin-bottom: 2em;
    color: #cccccc;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    position: relative;
    padding: 20px 0;
}

.world-description p:first-of-type::before,
.world-description p:first-of-type::after {
    content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 20px auto;
}

.world-description p {
    margin-bottom: 1.5em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.3px;
}

/* Locations */
.locations {
    padding: 80px 0;
}

.locations h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 20px;
}

.locations h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
}

.location-card {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 40px;
}

.location-card.reverse {
    flex-direction: row-reverse;
}

.location-image {
    flex: 1;
}

.location-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.location-text {
    flex: 1;
}

.location-text h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.location-text p {
    text-align: justify;
    margin-bottom: 1.5em;
    letter-spacing: 0.3px;
    padding-right: 20px;
}

.threat-box {
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    background-color: rgba(255, 0, 0, 0.05);
    position: relative;
    text-align: left!important;
}


.threat-box::before {
    content: "УГРОЗЫ";
    position: absolute;
    top: -12px;
    left: 20px;
    background-color: #001323;
    padding: 0 10px;
    font-size: 14px;
    color: rgba(255, 0, 0, 0.7);
    letter-spacing: 1px;
}

/* Game System */
.game-system {
    background-color: #111111;
    padding: 100px 0;
    position: relative;
}

.system-logo {
    text-align: center;
    margin-bottom: 60px;
}

.system-logo img {
    max-width: 300px;
    height: auto;
}

.system-description {
    max-width: 800px;
    margin: 0 auto;
}

.system-description h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.system-description p {
    margin-bottom: 1.5em;
    letter-spacing: 0.3px;
    line-height: 1.8;
}

/* Final Image Section */
.final-image {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.final-image img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: bottom;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .location-card,
    .location-card.reverse {
        flex-direction: column;
        text-align: center;
    }

    .location-image {
        margin-bottom: 20px;
    }

    .world-description,
    .locations {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .location-text h3 {
        font-size: 1.5rem;
    }
}