
:root {
    --bg-color: #1a1a1a;
    --container-bg: #2a2a2a;
    --text-color: #f0f0f0;
    --accent-color: #88c0d0;
    --p-color: #d8dee9;
    --input-bg: #3b3b3b;
    --input-color: #eceff4;
    --input-border: #4c566a;
    --button-gradient: linear-gradient(45deg, #88c0d0, #5e81ac);
    --button-text: #2e3440;
    --h2-color: #a3be8c;
    --li-bg: #3b3b3b;
    --li-border: #b48ead;
    --li-text: #d8dee9;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --btn-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    --bg-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23333' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

body.light-mode {
    --bg-color: #f0f4f8;
    --container-bg: #ffffff;
    --text-color: #2e3440;
    --accent-color: #5e81ac;
    --p-color: #4c566a;
    --input-bg: #e5e9f0;
    --input-color: #2e3440;
    --input-border: #d8dee9;
    --button-gradient: linear-gradient(45deg, #5e81ac, #81a1c1);
    --button-text: #eceff4;
    --h2-color: #434c5e;
    --li-bg: #eceff4;
    --li-border: #88c0d0;
    --li-text: #3b4252;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --btn-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --bg-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23d8dee9' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-image: var(--bg-pattern);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    background-color: var(--container-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 500px;
    width: 90%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background-color: rgba(128, 128, 128, 0.1);
    transform: none;
    box-shadow: none;
}

h1 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--p-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

textarea {
    width: 100%;
    background-color: var(--input-bg);
    color: var(--input-color);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    padding: 0.8rem;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    resize: vertical;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

button {
    background: var(--button-gradient);
    color: var(--button-text);
    border: none;
    padding: 0.9rem 1.8rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: var(--btn-shadow);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(136, 192, 208, 0.4);
}

h2 {
    color: var(--h2-color);
    margin-top: 2rem;
    text-align: left;
}

ol {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

.divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), var(--accent-color), rgba(0, 0, 0, 0));
    margin: 2rem 0;
    opacity: 0.3;
}

.contact-section {
    text-align: left;
}

.contact-section h2 {
    margin-bottom: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    background-color: var(--input-bg);
    color: var(--input-color);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    padding: 0.8rem;
    font-size: 1rem;
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-button {
    width: 100%;
    background: var(--button-gradient);
    color: var(--button-text);
    border: none;
    padding: 0.9rem 1.8rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: var(--btn-shadow);
}

.comments-section {
    text-align: left;
    margin-top: 1rem;
}

.comments-section h2 {
    margin-bottom: 1.5rem;
}
