/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0d1117;
    --surface-color: #161b22;
    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --accent-color: #58a6ff;
    --border-color: #30363d;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3 {
    color: #ffffff;
    font-weight: 700;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #79c0ff;
    text-decoration: underline;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    background-color: rgba(13, 17, 23, 0.95);
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

/* Main Content */
main {
    flex: 1;
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.history-content {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.history-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 300;
}

.history-content p:last-child {
    margin-bottom: 0;
}

/* Legal Pages (Privacy / Terms) */
.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}
.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}
.legal-content p, .legal-content ol {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--text-primary);
}
.legal-content ol {
    padding-left: 1.5rem;
}
.legal-content ol li {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: auto;
}

.footer-links {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Cookie Consent Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1f2428;
    border-top: 1px solid var(--border-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    font-size: 0.9rem;
    flex: 1;
    min-width: 300px;
}

.cookie-buttons button {
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-left: 0.5rem;
}

.cookie-buttons button.decline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.cookie-buttons button:hover {
    background-color: #318bf0;
}

.cookie-buttons button.decline:hover {
    background-color: var(--border-color);
}

@media (max-width: 768px) {
    .header-content { flex-direction: column; gap: 1rem; }
    .history-content { padding: 2rem; }
    .section-title { font-size: 2rem; }
}