:root {
    --primary-color: #e67e22;
    --secondary-color: #34495e;
    --text-color: #ecf0f1;
    --bg-color: #2c3e50;
    --card-bg: #34495e;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

.main-header {
    background-color: var(--secondary-color);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    color: var(--primary-color);
    font-size: 1.8em;
    font-weight: bold;
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.hero-section {
    background: url('../images/tank-hero-bg.webp') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

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

.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-section p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

.games-grid-section {
    padding: 60px 0;
    text-align: center;
}

.games-grid-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary-color);
}

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

.game-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

.game-card-content {
    padding: 20px;
}

.game-card h3 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.game-card p {
    font-size: 0.95em;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.game-card .btn {
    width: 100%;
    text-align: center;
}

.main-footer {
    background-color: var(--secondary-color);
    color: var(--text-color);
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    font-size: 0.9em;
}

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

.main-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav ul li {
        margin: 5px 15px;
    }

    .hero-section h1 {
        font-size: 2.5em;
    }

    .hero-section p {
        font-size: 1.1em;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }
}

.game-card-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.game-card-buttons .btn {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    text-align: center;
}

.game-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: 20px auto 15px auto;
    border-radius: 8px;
}

.privacy-policy-section a {
    color: #00bcd4;
    text-decoration: underline;
}

.privacy-policy-section a:hover {
    color: #2ecc71;
}

a {
    color: #00bcd4;
    text-decoration: none;
}

a:hover {
    color: #2ecc71;
    text-decoration: underline;
}


.logo-icon {
    height: 50px;
    width: auto;
    vertical-align: middle;
    margin-right: 10px;
}


@media (max-width: 768px) {
    .logo-icon {
        height: 25px;
        margin-right: 5px;
    }
}