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

body {
    font-family: Arial, sans-serif;
    background: #0f0f0f;
    color: white;
}

header {
    background: #111;
    padding: 20px;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    border-bottom: 2px solid #222;
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: #151515;
    padding: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    background: #222;
    border-radius: 8px;
    transition: background 0.3s ease;
}

nav a:hover,
nav a.active {
    background: #ff3c3c;
}

.container {
    padding: 30px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.container h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #ff3c3c;
}

.container > p {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 40px;
}

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

.card {
    background: #1a1a1a;
    border: 2px solid #222;
    border-radius: 15px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover {
    border-color: #ff3c3c;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 60, 60, 0.3);
}

.card-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.card h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.card p {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-btn {
    padding: 12px 25px;
    background: #ff3c3c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.card-btn:hover {
    background: #e63030;
}

/* Aloldalak stílusa */
.back-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #222;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 30px;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: #ff3c3c;
}

.page-content {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
}

.page-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ff3c3c;
}

.news-box {
    margin-top: 20px;
    padding: 20px;
    background: #222;
    border-radius: 10px;
    border-left: 4px solid #ff3c3c;
    text-align: left;
}

.news-box h3 {
    color: #ff3c3c;
    margin-bottom: 10px;
}

.news-box p {
    color: #aaa;
    line-height: 1.6;
}

.download-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #ff3c3c;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px;
    margin-top: 20px;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background: #e63030;
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }

    .container h1 {
        font-size: 24px;
    }

    header {
        font-size: 20px;
    }
}
