:root {
    --primary-color: #ffcc00;
    --secondary-color: #6a0dad;
    --accent-color: #00e5ff;
    --bg-dark: #0a0a0c;
    --bg-darker: #050506;
    --bg-card: #131318;
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --gradient-hero: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --gradient-text: linear-gradient(90deg, #ffcc00, #ff6600);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(106, 13, 173, 0.4);
    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition-speed: 0.3s;
    --container-width: 1200px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 4px 20px rgba(255, 102, 0, 0.2);
}

h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin-top: 10px;
    border-radius: 2px;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 8rem 0;
    position: relative;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.logo img {
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-speed);
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    padding-top: 80px; 
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(106,13,173,0.3) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-transform: none;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-text h2::after {
    display: none;
}

.hero-text .price-tag {
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.store-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.store-buttons a {
    transition: transform var(--transition-speed), filter var(--transition-speed);
}

.store-buttons a img {
    border-radius: 0px;
}

.store-buttons a:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 5px 15px rgba(255, 204, 0, 0.3));
}

.hero-image {
    position: relative;
}

.hero-image img {
    box-shadow: var(--shadow-glow);
    animation: float 6s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.description {
    background-color: var(--bg-darker);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-block p {
    margin-bottom: 2rem;
    font-size: 1.15rem;
}

.image-block img {
    width: 100%;
    box-shadow: var(--shadow-card);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform var(--transition-speed);
}

.image-block img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.features {
    background-color: var(--bg-dark);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-list li {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-speed), background var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.feature-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.feature-list li:hover {
    transform: translateY(-10px);
    background: #1e1e24;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gallery {
    background-color: var(--bg-darker);
    text-align: center;
}

.gallery p {
    margin: 0 auto 3rem auto;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.screenshot-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: transform var(--transition-speed), filter var(--transition-speed);
}

.screenshot-grid img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
    z-index: 2;
}

.how-to-play {
    background-color: var(--bg-dark);
}

.steps-list {
    counter-reset: game-steps;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.steps-list li {
    background: var(--bg-card);
    padding: 2rem;
    padding-left: 4rem;
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.steps-list li::before {
    counter-increment: game-steps;
    content: counter(game-steps);
    position: absolute;
    left: -15px;
    top: -15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #ff8800);
    color: var(--bg-dark);
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(255, 136, 0, 0.4);
}

.cta {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), 
                url('img/hero-battle.webp') center/cover no-repeat fixed;
    text-align: center;
    padding: 10rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.cta p {
    margin: 0 auto 2.5rem auto;
    font-size: 1.3rem;
    color: #e0e0e0;
}

.cta .store-buttons {
    justify-content: center;
}

.site-footer {
    background-color: #000000;
    padding: 5rem 0 2rem 0;
    border-top: 1px solid #1a1a20;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: #555;
}

@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-image { order: -1; max-width: 80%; margin: 0 auto; }
    .store-buttons { justify-content: center; }
    .content-wrapper { grid-template-columns: 1fr; }
    .image-block { margin-top: 2rem; }
    .image-block img { transform: none; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .hero { padding-top: 100px; }
    .section { padding: 4rem 0; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .cta h2 { font-size: 2rem; }
    .cta { padding: 6rem 0; }
    .store-buttons img { width: 140px; }
}