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

body {
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}

header {
    background: #1e293b;
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #334155;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 10px;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #38bdf8;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #facc15;
}

main {
    max-width: 1000px;
    margin: auto;
}

section {
    background: #1e293b;
    margin: 20px auto;
    padding: 20px;
    width: 95%;
    border-radius: 10px;
    border: 1px solid #334155;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: 0.3s;
}

section:hover {
    transform: translateY(-5px);
}

h1, h2, h3 {
    margin-bottom: 10px;
    color: #f8fafc;
}

p {
    margin: 10px 0;
}

ul li, ol li {
    margin-left: 20px;
    margin-bottom: 8px;
}

img {
    width: 100%;
    border-radius: 10px;
    margin-top: 10px;
}

iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    margin-top: 10px;
}

video, audio {
    width: 100%;
    margin-top: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #475569;
    padding: 10px;
    text-align: center;
}

th {
    background: #334155;
}

tr:nth-child(even) {
    background: #0f172a;
}

form {
    margin-top: 10px;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

input, select, textarea, button {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 6px;
    border: none;
    outline: none;
}

input, select, textarea {
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid #475569;
}

button, input[type="submit"] {
    background: #38bdf8;
    color: #0f172a;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover, input[type="submit"]:hover {
    background: #facc15;
}

fieldset {
    border: 1px solid #475569;
    padding: 15px;
    border-radius: 10px;
}

legend {
    padding: 0 10px;
    color: #38bdf8;
}

details {
    margin-top: 10px;
    background: #0f172a;
    padding: 10px;
    border-radius: 6px;
}

progress, meter {
    width: 100%;
    margin-top: 10px;
}

footer {
    text-align: center;
    padding: 15px;
    background: #1e293b;
    margin-top: 20px;
    border-top: 2px solid #334155;
}
