/* Grundlegende Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Consolas', 'Fira Code', monospace; /* Eine Hacking-typische Schriftart */
    background-color: #0d0d0d; /* Sehr dunkler Hintergrund */
    color: #e0e0e0; /* Helle Textfarbe */
    line-height: 1.6;
    overflow-x: hidden; /* Verhindert horizontale Scrollbalken */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header */
.header {
    background-color: #1a1a1a;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px; /* Oder die gewünschte Größe */
    filter: brightness(0) invert(1); /* Macht das Logo hell, falls es ursprünglich dunkel ist */
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #00ff00; /* Neon-Grün */
}

/* Buttons */
.btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn.primary {
    background-color: #00ff00; /* Neon-Grün */
    color: #0d0d0d;
}

.btn.primary:hover {
    background-color: #00cc00;
}

.btn.secondary {
    background-color: #333;
    color: #e0e0e0;
    border: 1px solid #00ff00;
}

.btn.secondary:hover {
    background-color: #00ff00;
    color: #1a1a1a;
}

.btn.tertiary {
    background: none;
    color: #00ff00;
    border: 1px solid #00ff00;
}

.btn.tertiary:hover {
    background-color: #00ff00;
    color: #0d0d0d;
}

/* Hero Section */
.hero-section {
    background-color: #141414;
    padding: 60px 0;
    position: relative;
    overflow: hidden; /* Wichtig für Hintergrund-Animationen */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, #00ff000a 1px, transparent 1px),
                      linear-gradient(to bottom, #00ff000a 1px, transparent 1px);
    background-size: 40px 40px; /* Größe des Rasters */
    opacity: 0.2;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Links Hacking, Rechts Forum/Icon */
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
}

.code-animation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #00ff0005),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><rect width="10" height="10" fill="transparent"/><rect x="0" y="0" width="1" height="10" fill="%2300ff000a"/><rect x="0" y="0" width="10" height="1" fill="%2300ff000a"/></svg>'); /* Eine Art Matrix-Effekt */
    background-size: 20px 20px;
    opacity: 0.1;
    overflow: hidden;
    pointer-events: none;
    z-index: -1; /* Hinter dem Inhalt */
    /* Hier könnte eine JS-basierte Code-Animation laufen */
}


.hero-content h1 {
    font-size: 3.5em;
    color: #00ff00;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #00ff0080;
}

.hero-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.hero-image-and-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.root-x-icon {
    width: 150px;
    height: 150px;
    background-color: #00ff00;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
    /* backdrop-filter: blur(5px); */ /* Hier könnte backdrop-filter angewendet werden, wenn es über einem Hintergrund liegt */
}

.root-x-icon img {
    max-width: 80%;
    height: auto;
    filter: brightness(0) invert(1); /* Macht das Icon dunkel, falls es ursprünglich hell ist */
}

.forum-preview {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #00ff00;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    /* Optional: backdrop-filter: blur(10px); wenn es über einem transparenten Bereich liegt */
}

.forum-preview h2 {
    color: #00ff00;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.forum-preview input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #0d0d0d;
    border: 1px solid #00ff00;
    border-radius: 5px;
    color: #e0e0e0;
}

.forum-item {
    background-color: #2a2a2a;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 3px solid #00ff00;
}

.forum-item p {
    margin: 0;
    font-size: 0.9em;
}

.forum-item span {
    color: #aaa;
    font-size: 0.8em;
}


/* Tools Section */
.tools-section {
    background-color: #0d0d0d;
    padding: 60px 0;
    text-align: center;
}

.tools-section h2 {
    font-size: 2.5em;
    color: #00ff00;
    margin-bottom: 20px;
}

.tools-section p {
    font-size: 1.1em;
    margin-bottom: 40px;
}

.tool-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.tool-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #333;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.1);
}

.tool-card h3 {
    color: #00ff00;
    margin-bottom: 15px;
    font-size: 1.6em;
}

.tool-card pre {
    background-color: #0d0d0d;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9em;
    color: #e0e0e0;
    border: 1px solid #00ff0050;
}

.tool-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-top: 15px;
    border: 1px solid #00ff0050;
}


/* Additional Content Section */
.additional-content {
    background-color: #141414;
    padding: 60px 0;
}

.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: flex-start;
}

.content-block {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #333;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.1);
}

.content-block h3 {
    color: #00ff00;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.content-block p {
    margin-bottom: 20px;
    font-size: 1em;
}

.content-block img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-top: 10px;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #333;
}

/* Responsiveness */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    .main-nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav ul li {
        margin: 0 15px 10px 15px;
    }

    .hero-grid {
        grid-template-columns: 1fr; /* Stapelt auf kleineren Bildschirmen */
    }

    .hero-image-and-form {
        margin-top: 40px;
    }

    .tool-grid,
    .content-row {
        grid-template-columns: 1fr;
    }
}