.donate-btn {
    background: #635bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}
.donate-btn:hover { background: #5248d6; }

table {
    border-collapse: collapse;
    margin-top: 10px;
    width: 100%;
}
table, th, td { border: 1px solid #ddd; }
th, td { padding: 8px; text-align: left; }
th { background-color: #635bff; color: white; }

/* -------------------- General Body & Fonts -------------------- */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: #0f0f14;
    color: #f5f5f5;
}

/* -------------------- Header -------------------- */
header {
    background: #111;
    padding: 1rem 0;
    position: relative;
    z-index: 1000;
}

header .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00d4ff;
}

header nav {
    display: flex;
    gap: 1.5rem;
}

header nav a {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

header nav a:hover {
    color: #00d4ff;
    text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff;
}

/* -------------------- Hamburger -------------------- */
/* Hamburger X animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* -------------------- Responsive Mobile Nav -------------------- */
/* Hamburger default (hidden on desktop) */
.hamburger {
    display: none; /* hide by default */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    position: relative;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #00d4ff;
    border-radius: 2px;
    transform-origin: center;
    transition: all 0.3s ease-in-out;
}

/* Show hamburger ONLY on mobile */
@media (max-width: 1200px) {
    .hamburger {
        display: flex;
    }

    /* Mobile nav hidden by default */
    nav#main-nav {
        flex-direction: column;
        background: #111;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        padding: 1rem;
        border-radius: 0 0 0 12px;
        box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);

        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        pointer-events: none;
    }

    /* Slide in when toggled */
    nav#main-nav.show {
        transform: translateX(0);
        pointer-events: auto;
    }

    nav#main-nav a {
        margin: 0.5rem 0;
    }
}

/* -------------------- Hero Section -------------------- */
section.hero {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(180deg, #111 0%, #0f0f14 100%);
}

section.hero h1 {
    font-size: 2.8rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

section.hero p {
    font-size: 1.2rem;
    color: #ccc;
}

/* -------------------- Changelog Cards -------------------- */
.changelog {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.version-card {
    background: #1a1a23;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.1);
}

.version-header {
    padding: 1rem 1.5rem;
    cursor: pointer;
    background: #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s;
}

.version-header:hover {
    background: #333;
    text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff;
}

.version-header h3 {
    margin: 0;
    color: #00d4ff;
    font-size: 1.2rem;
}

.version-header span {
    color: #77cfff;
    font-size: 0.85rem;
    font-weight: 600;
}

.version-body {
    display: none;
    padding: 1rem 1.5rem;
    color: #ccc;
    border-top: 1px solid #333;
    transition: max-height 0.25s ease-in-out, opacity 0.25s ease-in-out;
    overflow: hidden;
}

.version-body ul {
    padding-left: 1.2rem;
}

.version-body li {
    margin-bottom: 0.5rem;
}

.version-body li ul {
    padding-left: 1rem;
    margin-top: 0.3rem;
}

/* -------------------- Features Section -------------------- */
section.features {
    max-width: 1200px;
    margin: 4rem auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    padding: 0 1rem;
}

.feature-card {
    background: #1a1a23;
    padding: 2rem;
    border-radius: 12px;
    flex: 1 1 300px;
    min-width: 280px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
    background: #222430;
}

.feature-card h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s, text-shadow 0.3s;
}

.feature-card:hover h3 {
    color: #00ffff;
    text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff;
}

.feature-card p {
    color: #ccc;
    line-height: 1.5;
}

/* -------------------- Auth Forms -------------------- */
.auth-form {
    max-width: 400px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
}

.auth-form label {
    margin-top: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #ccc;
}

.input-field {
    padding: 0.7rem 1rem;
    border-radius: 6px;
    border: 1px solid #555;
    background: #1a1a23;
    color: #f5f5f5;
    outline: none;
    transition: 0.2s;
}

.input-field:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.btn {
    margin-top: 2rem;
    padding: 0.8rem 1rem;
    background: #00d4ff;
    border: none;
    border-radius: 6px;
    color: #111;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.btn:hover {
    background: #00a1cc;
}

.switch-page {
    text-align: center;
    margin-top: 1rem;
    color: #ccc;
}

.switch-page a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
}

.switch-page a:hover {
    text-decoration: underline;
}

/* -------------------- Flash Messages -------------------- */
.flash-messages {
    max-width: 400px;
    margin: 1rem auto;
    padding: 0;
    list-style: none;
}

.flash-messages li {
    background: #222;
    border-left: 4px solid #00d4ff;
    padding: 0.7rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.flash-messages li.error { border-color: #ff4c4c; }
.flash-messages li.success { border-color: #4cff99; }

/* -------------------- Footer -------------------- */
footer {
    background: #111;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #777;
}
