@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
    --bg-dark: #0f1014;
    --bg-panel: #181a20;
    --bg-input: #23262f;
    --primary: #FFFC00;
    --primary-text: #000;
    --text-main: #ffffff;
    --text-muted: #8b929a;
    --accent-green: #00ff9d;
    --accent-blue: #00a3ff;
    --border: #2d313a;
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: color 0.2s;
}

/* --- Shared Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 16, 20, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-main);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--primary-text);
}

/* --- Buttons --- */
.btn-primary {
    background: var(--primary);
    color: var(--primary-text);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
    display: inline-block;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        filter: brightness(1.1);
    }

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: all 0.2s;
    display: inline-block;
}

    .btn-secondary:hover {
        border-color: var(--text-main);
        background: rgba(255, 255, 255, 0.05);
    }

/* --- Policy Pages (Terms/Privacy) Styling --- */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

    .policy-content h1 {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .policy-content h2 {
        font-size: 1.8rem;
        margin-top: 2.5rem;
        margin-bottom: 1rem;
        color: var(--primary);
    }

    .policy-content h3 {
        font-size: 1.3rem;
        margin-top: 2rem;
        margin-bottom: 0.75rem;
    }

    .policy-content p, .policy-content li {
        color: var(--text-muted);
        margin-bottom: 1rem;
    }

    .policy-content ul {
        margin-left: 2rem;
    }

.notice {
    background: rgba(255, 252, 0, 0.1);
    border-left: 4px solid var(--primary);
    padding: 1rem;
    margin: 2rem 0;
    border-radius: 4px;
}

    .notice p {
        margin: 0;
        color: var(--text-main);
    }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-panel);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background: rgba(255, 252, 0, 0.1);
    color: var(--text-main);
    font-weight: 600;
}

td {
    color: var(--text-muted);
}

/* --- Footer --- */
footer {
    background: var(--bg-panel);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 2rem;
    margin-top: auto;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}
