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

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #121212;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #7ef9ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #00fff7;
    outline: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.main-header {
    background: #0d0d0d;
    border-bottom: 2px solid #00fff7;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 2px #00fff7);
}

.logo-text {
    font-weight: 900;
    font-size: 1.75rem;
    letter-spacing: 1.2px;
    color: #00fff7;
    user-select: none;
}

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

.main-nav li a {
    font-weight: 600;
    font-size: 1rem;
    padding: 0.375rem 0.5rem;
    border-radius: 5px;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.main-nav li a:hover,
.main-nav li a:focus {
    background-color: #00fff7;
    color: #121212;
    outline-offset: 2px;
}

/* Hero Section */
.hero-section {
    background: url(img/battle-preview.webp) center/cover no-repeat;
    position: relative;
    padding: 8rem 0 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #00fff7;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(18, 18, 18, 0.9) 20%,
        rgba(18, 18, 18, 0.7) 60%,
        rgba(18, 18, 18, 0.9) 100%
    );
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 8px #00fff7;
}

.hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    text-shadow: 0 0 6px #00fff7cc;
}

.download-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.download-badges img {
    height: 60px;
    border-radius: 12px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px #00fff7aa);
}

.download-badges img:hover,
.download-badges img:focus {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px #00fff7ee);
}

/* General Grid */
.grid-two-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: center;
    margin: 6rem 0;
}

/* Text content headings */
h2 {
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #00fff7;
    text-shadow: 0 0 6px #00fff7cc;
}

/* Paragraphs */
.text-content p {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    color: #c7f6fb;
    text-shadow: 0 0 3px #007a7e66;
}

/* Images */
.rounded-img {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 0 15px #00fff7aa;
    transition: transform 0.3s ease;
}

.rounded-img:hover,
.rounded-img:focus {
    transform: scale(1.03);
    box-shadow: 0 0 25px #00fff7dd;
}

/* Image content container */
.image-content {
    display: flex;
    justify-content: center;
}

/* Features Section */
.features-section {
    padding: 4rem 0 6rem;
}

.bg-alt {
    background: #1a1a1a;
    box-shadow: inset 0 0 60px -20px #00fff7bb;
    border-radius: 24px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    list-style: none;
    margin-top: 2rem;
}

.features-list li {
    background: linear-gradient(145deg, #002b2f, #00484e);
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    box-shadow:
        4px 4px 10px #001b1d,
        inset 1px 1px 2px #00fff7bb;
    font-weight: 700;
    font-size: 1.1rem;
    color: #a0fff9;
    text-shadow: 0 0 3px #00fff7aa;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    position: relative;
}

.features-list li::before {
    content: "👻";
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 1.7rem;
    opacity: 0.25;
    user-select: none;
    filter: drop-shadow(0 0 3px #00fff7cc);
}

.features-list li:hover,
.features-list li:focus-within {
    transform: translateY(-8px);
    box-shadow:
        6px 6px 18px #00fff7dd,
        inset 2px 2px 6px #00fff7ff;
    color: #e0ffff;
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0 8rem;
    background: #121212;
}

.gallery-section p {
    margin-top: 0.5rem;
    font-size: 1.125rem;
    color: #9ff4ffcc;
    text-shadow: 0 0 2px #00c4d8cc;
}

.screenshots-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
}

.screenshot {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 0 18px #00fff7bb;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: zoom-in;
}

.screenshot:hover,
.screenshot:focus {
    transform: scale(1.05);
    box-shadow: 0 0 32px #00fff7ee;
    outline: none;
}

/* How to Play Section */
.how-to-play-section {
    margin: 8rem 0 10rem;
}

.steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-weight: 600;
}

.steps-list li {
    background: linear-gradient(135deg, #00383f, #005e6e);
    padding: 1.5rem 2rem;
    border-radius: 18px;
    box-shadow:
        5px 5px 15px #002a30,
        inset 0 0 6px #00fff7cc;
    color: #b8f8ff;
    font-size: 1.125rem;
    position: relative;
    transition:
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.steps-list li strong {
    color: #00fff7;
    text-shadow: 0 0 6px #00fff7bb;
}

.steps-list li:hover,
.steps-list li:focus-within {
    box-shadow:
        8px 8px 28px #00fff7ee,
        inset 2px 2px 8px #00fff7ff;
    background: linear-gradient(135deg, #005e6e, #007f9e);
}

/* Numbering the steps */
.steps-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    top: 50%;
    left: -2.5rem;
    transform: translateY(-50%);
    background: #00fff7;
    color: #121212;
    font-weight: 900;
    font-size: 1.4rem;
    width: 2.5rem;
    height: 2.5rem;
    text-align: center;
    line-height: 2.5rem;
    border-radius: 50%;
    box-shadow: 0 0 8px #00fff7bb;
}

ol.steps-list {
    counter-reset: step-counter;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #00262f, #003d4f);
    padding: 5rem 0 8rem;
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 0 40px #00fff7aa inset;
    margin-bottom: 5rem;
}

.cta-section h2 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: #7effff;
    text-shadow: 0 0 12px #00fff7cc;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #b0f7ffdd;
    text-shadow: 0 0 6px #00c4d8cc;
}

/* Footer */
.main-footer {
    background: #0c0c0c;
    border-top: 3px solid #00fff7;
    color: #88e9ffcc;
    padding: 4rem 0 3rem;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #00fff7;
    margin-bottom: 1rem;
    text-shadow: 0 0 6px #00fff7bb;
}

.footer-info p {
    line-height: 1.4;
    color: #99eaffdd;
    white-space: pre-line;
}

.footer-links h4,
.footer-legal h4 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #00fff7;
    text-shadow: 0 0 4px #00fff7aa;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links ul li a,
.footer-legal ul li a {
    color: #a6f0ffcc;
    transition: color 0.3s ease;
    font-weight: 600;
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover,
.footer-links ul li a:focus,
.footer-legal ul li a:focus {
    color: #00fff7;
    outline-offset: 2px;
}

.footer-bottom {
    text-align: center;
    color: #558f9f;
    font-size: 0.9rem;
    user-select: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.125rem;
    }
    .main-nav ul {
        gap: 1.25rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .download-badges {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 6rem 0 4rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .features-list {
        grid-template-columns: 1fr;
    }
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}
