/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body Defaults */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    transition: background 0.4s, color 0.4s;
}

/* LIGHT MODE — Snowy Blue */
body {
    background: linear-gradient(to top, #f0f8ff, #e6f7ff);
    color: #003366;
}

header {
    background-color: #cfe9f5;
    color: #002244;
    padding: 1rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeSlideIn 1.5s ease-out;
}

header h1 {
    font-size: 2rem;
}

.theme-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #80bfff;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.theme-toggle:hover {
    background-color: #5599ff;
}

.container {
    margin: 2rem auto;
    padding: 2rem;
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeIn 2s ease;
}

.intro {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #003366;
}

/* Tabs */
.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.tablink {
    padding: 10px 20px;
    background-color: #b3d9ff;
    color: #003366;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tablink:hover,
.tablink.active {
    background-color: #99ccff;
}

.tabcontent {
    display: none;
    text-align: left;
    margin-top: 1rem;
    animation: fadeIn 1s ease;
}

.tabcontent h3 {
    margin-bottom: 0.5rem;
    color: #002244;
}

.tabcontent p, .tabcontent li {
    color: #004466;
    margin-bottom: 0.75rem;
}

ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

.privacy-policy-btn {
    margin: 2rem auto;
    display: block;
    background-color: #80bfff;
    color: #003366;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.privacy-policy-btn:hover {
    background-color: #5599ff;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeSlideIn {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* DARK MODE — Snowy Purple */
body.dark-theme {
    background: linear-gradient(to bottom, #1a0826, #2c0a39);
    color: #eee;
}

body.dark-theme header {
    background-color: #3a114f;
    color: #f0e6ff;
}

body.dark-theme .theme-toggle {
    background-color: #a96aff;
    color: #fff;
}

body.dark-theme .theme-toggle:hover {
    background-color: #923cff;
}

body.dark-theme .container {
    background-color: rgba(60, 30, 90, 0.8);
}

body.dark-theme .intro {
    color: #d0bfff;
}

body.dark-theme .tablink {
    background-color: #774c9e;
    color: #f0e6ff;
}

body.dark-theme .tablink:hover,
body.dark-theme .tablink.active {
    background-color: #9e67cc;
}

body.dark-theme .tabcontent h3 {
    color: #f4e9ff;
}

body.dark-theme .tabcontent p,
body.dark-theme .tabcontent li {
    color: #d6bfff;
}

body.dark-theme .privacy-policy-btn {
    background-color: #a96aff;
    color: #fff;
}

body.dark-theme .privacy-policy-btn:hover {
    background-color: #923cff;
}
