* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Georgia", "Times New Roman", serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    text-align: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==========================================
   Video Background
   ========================================== */

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================
   Main Content
   ========================================== */

.main-content {
    position: relative;
    z-index: 1;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* ==========================================
   Typography
   ========================================== */

h1 {
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(77, 166, 255, 0.5);
}

.slogan {
    font-family: "Georgia", serif;
    font-size: 28px;
    font-style: italic;
    color: #4da6ff;
    margin-bottom: 40px;
    text-shadow: 0 0 15px rgba(77, 166, 255, 0.3);
}

.welcome-text {
    font-size: 18px;
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 40px;
    text-align: left;
    padding: 30px;
    background: rgba(0, 0, 0, 0.7);
    border-left: 3px solid #4da6ff;
}

/* ==========================================
   Primary Homepage Actions
   ========================================== */

.primary-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 40px;
}

.primary-actions .btn {
    width: min(100%, 420px);
    margin: 0;
    text-align: center;
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
    display: inline-block;
    padding: 18px 40px;
    margin: 15px;
    text-decoration: none;
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #4da6ff 0%, #2a7ac8 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(77, 166, 255, 0.4);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #5bb8ff 0%, #3a8ac9 100%);
    box-shadow: 0 6px 30px rgba(77, 166, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #4da6ff;
    border-color: #4da6ff;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: rgba(77, 166, 255, 0.1);
    box-shadow: 0 4px 20px rgba(77, 166, 255, 0.3);
}

.btn-donate {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
}

.btn-donate:hover,
.btn-donate:focus {
    background: linear-gradient(135deg, #ff8585 0%, #ff6b6b 100%);
    box-shadow: 0 6px 30px rgba(255, 107, 107, 0.6);
}

/* ==========================================
   Contact Form Modal
   ========================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #1a1a1a;
    padding: 40px;
    border: 2px solid #4da6ff;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 50px rgba(77, 166, 255, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #4da6ff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: #ffffff;
    transform: rotate(90deg);
}

/* ==========================================
   Forms
   ========================================== */

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-label {
    display: block;
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #808080;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #3a3a3a;
    color: #ffffff;
    font-family: "Georgia", serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #4da6ff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(77, 166, 255, 0.3);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ==========================================
   File List
   ========================================== */

.file-list {
    margin-top: 50px;
    text-align: left;
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-left: 2px solid #4da6ff;
}

.file-list h3 {
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(77, 166, 255, 0.3);
    padding-bottom: 10px;
}

.file-item {
    background: linear-gradient(
        90deg,
        rgba(77, 166, 255, 0.1) 0%,
        transparent 100%
    );
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 3px solid #4da6ff;
    transition: all 0.3s ease;
}

.file-item:hover {
    background: linear-gradient(
        90deg,
        rgba(77, 166, 255, 0.2) 0%,
        transparent 100%
    );
    transform: translateX(5px);
}

.file-name {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 5px;
}

.file-meta {
    font-size: 12px;
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   Footer
   ========================================== */

footer {
    margin-top: 60px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(77, 166, 255, 0.2);
}

footer > * {
    margin: 0 0 12px;
}

footer > *:last-child {
    margin-bottom: 0;
}

footer p {
    font-size: 14px;
    color: #606060;
}

.footer-navigation {
    margin-bottom: 20px;
}

.footer-navigation a {
    color: #4da6ff;
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    margin: 0 10px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-navigation a:hover,
.footer-navigation a:focus {
    color: #ffffff;
    text-decoration: underline;
}

.system-status {
    font-size: 12px;
}

/* ==========================================
   Legal Pages
   ========================================== */

.legal-page {
    max-width: 1200px;
}

.legal-page-header {
    margin-bottom: 90px;
}

.site-name-link {
    display: inline-block;
    margin-bottom: 40px;
    color: #ffffff;
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 40px;
    font-weight: 300;
    letter-spacing: 6px;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(77, 166, 255, 0.5);
}

.site-name-link:hover,
.site-name-link:focus {
    color: #4da6ff;
}

.legal-page-header .slogan {
    margin-bottom: 70px;
}

.legal-content {
    padding: 60px;
    background: rgba(0, 0, 0, 0.82);
    border-left: 3px solid #4da6ff;
    text-align: left;
}

.legal-content h1 {
    margin-bottom: 30px;
    font-size: 34px;
    letter-spacing: 4px;
    text-align: center;
}

.legal-updated {
    margin-bottom: 90px;
    color: #808080;
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}

.legal-content section {
    margin-bottom: 95px;
    padding: 34px 36px;
    background: rgba(77, 166, 255, 0.035);
    border: 1px solid rgba(77, 166, 255, 0.12);
    border-left: 3px solid rgba(77, 166, 255, 0.65);
    box-shadow: 0 0 24px rgba(77, 166, 255, 0.04);
}

.legal-content section:last-child {
    margin-bottom: 0;
}

.legal-content h2 {
    margin-bottom: 40px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(77, 166, 255, 0.3);
    color: #ffffff;
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 19px;
    font-weight: 400;
    letter-spacing: 1px;
}

.legal-content p {
    margin-bottom: 60px;
    color: #b0b0b0;
    font-size: 16px;
    line-height: 2.15;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.legal-content ul {
    list-style: none;
    margin: 40px 0 55px;
    padding: 0;
}

.legal-content li {
    margin-bottom: 26px;
    padding: 18px 24px;
    border-left: 3px solid #4da6ff;
    background: rgba(77, 166, 255, 0.05);
    color: #b0b0b0;
    font-size: 16px;
    line-height: 1.95;
}

.legal-content li:last-child {
    margin-bottom: 0;
}

.legal-content code {
    padding: 2px 6px;
    background: rgba(77, 166, 255, 0.12);
    color: #ffffff;
    font-family: Consolas, "Courier New", monospace;
}

.legal-page-actions {
    margin-top: 55px;
}

/* ==========================================
   Animations
   ========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content * {
    animation: fadeInUp 0.8s ease forwards;
}

/* ==========================================
   Glitch Effect
   ========================================== */

@keyframes glitch {
    0% {
        text-shadow:
            2px 0 rgba(77, 166, 255, 0.3),
            -2px 0 rgba(255, 107, 107, 0.3);
    }

    25% {
        text-shadow:
            -2px 0 rgba(77, 166, 255, 0.3),
            2px 0 rgba(255, 107, 107, 0.3);
    }

    50% {
        text-shadow:
            2px 0 rgba(77, 166, 255, 0.3),
            -2px 0 rgba(255, 107, 107, 0.3);
    }

    75% {
        text-shadow:
            -2px 0 rgba(77, 166, 255, 0.3),
            2px 0 rgba(255, 107, 107, 0.3);
    }

    100% {
        text-shadow:
            2px 0 rgba(77, 166, 255, 0.3),
            -2px 0 rgba(255, 107, 107, 0.3);
    }
}

h1:hover {
    animation: glitch 0.4s ease infinite;
}

/* ==========================================
   Responsive Layout
   ========================================== */

@media (max-width: 700px) {
    .main-content {
        padding: 35px 14px;
    }

    h1 {
        font-size: 34px;
        letter-spacing: 4px;
    }

    .slogan {
        font-size: 22px;
    }

    .legal-page {
        padding: 30px 14px;
    }

    .site-name-link {
        margin-bottom: 28px;
        font-size: 29px;
        letter-spacing: 4px;
    }

    .legal-page-header {
        margin-bottom: 60px;
    }

    .legal-page-header .slogan {
        margin-bottom: 45px;
    }

    .legal-content {
        padding: 34px 18px;
    }

    .legal-content h1 {
        margin-bottom: 24px;
        font-size: 26px;
        letter-spacing: 2px;
    }

    .legal-updated {
        margin-bottom: 65px;
    }

    .legal-content section {
        margin-bottom: 70px;
        padding: 28px 20px;
    }

    .legal-content h2 {
        margin-bottom: 30px;
        font-size: 17px;
        line-height: 1.5;
    }

    .legal-content p {
        margin-bottom: 60px;
        font-size: 15px;
        line-height: 2;
    }

    .legal-content ul {
        margin: 32px 0 45px;
    }

    .legal-content li {
        margin-bottom: 22px;
        padding: 16px 16px;
        font-size: 15px;
        line-height: 1.9;
    }

    footer {
        padding: 25px 15px;
    }

    .footer-navigation a {
        display: inline-block;
        margin: 4px 6px;
    }
}
/* ==========================================
   Registration Page
   ========================================== */

.site-header {
    margin-bottom: 40px;
}

.brand-link {
    color: inherit;
    text-decoration: none;
}

.brand-name {
    display: block;
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(77, 166, 255, 0.5);
}

.registration-panel {
    width: 100%;
    padding: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-left: 3px solid #4da6ff;
    text-align: left;
}

.panel-heading {
    margin-bottom: 35px;
    text-align: center;
}

.eyebrow {
    margin-bottom: 14px;
    color: #4da6ff;
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.registration-panel h1 {
    margin-bottom: 22px;
    font-size: 34px;
    letter-spacing: 4px;
}

.registration-panel h2 {
    color: #ffffff;
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.panel-introduction {
    color: #b0b0b0;
    font-size: 17px;
    line-height: 1.8;
    text-align: center;
}

.registration-form {
    display: grid;
    gap: 4px;
}

.field-help {
    margin-top: 8px;
    color: #808080;
    font-size: 13px;
    line-height: 1.5;
}

.field-error {
    min-height: 18px;
    margin-top: 6px;
    color: #ff8585;
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 12px;
}

.form-input.input-invalid {
    border-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.25);
}

.password-control {
    position: relative;
}

.password-control .form-input {
    padding-right: 78px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    padding: 6px 8px;
    border: 0;
    background: transparent;
    color: #4da6ff;
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: translateY(-50%);
    cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus {
    color: #ffffff;
}

.agreement {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    margin: 4px 0 20px;
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.6;
}

.agreement input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: #4da6ff;
}

.agreement-error {
    margin-top: -16px;
}

.btn-full {
    width: 100%;
    margin: 0;
    text-align: center;
}

.existing-account {
    display: flex;
    gap: 9px;
    justify-content: center;
    margin-top: 25px;
    color: #b0b0b0;
    font-size: 14px;
}

.existing-account a {
    color: #4da6ff;
    font-family: "Helvetica", Arial, sans-serif;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.account-notice {
    margin-top: 35px;
    padding: 25px 28px;
    background: rgba(77, 166, 255, 0.07);
    border-left: 2px solid #4da6ff;
}

.account-notice h2 {
    margin-bottom: 18px;
}

.account-notice ol {
    padding-left: 22px;
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.8;
}

.account-notice li {
    margin-bottom: 7px;
}

.status-message {
    margin-bottom: 25px;
    padding: 16px 18px;
    border: 1px solid rgba(77, 166, 255, 0.45);
    background: rgba(77, 166, 255, 0.1);
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.65;
    text-align: left;
}

.status-message[hidden] {
    display: none;
}

.status-success {
    border-color: rgba(100, 220, 140, 0.5);
    background: rgba(40, 140, 80, 0.15);
    color: #8be0aa;
}

.status-warning {
    border-color: rgba(244, 203, 106, 0.5);
    background: rgba(180, 130, 20, 0.15);
    color: #f4cb6a;
}

.status-error {
    border-color: rgba(255, 107, 107, 0.5);
    background: rgba(170, 45, 45, 0.17);
    color: #ff9a9a;
}

.footer-link-button {
    border: 0;
    background: transparent;
    color: #4da6ff;
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    margin: 0 10px;
    padding: 0;
    text-transform: uppercase;
    cursor: pointer;
}

.footer-link-button:hover,
.footer-link-button:focus {
    color: #ffffff;
    text-decoration: underline;
}

.modal-content h2 {
    margin-bottom: 15px;
}

.modal-introduction {
    margin-bottom: 24px;
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.7;
}

.modal-close {
    border: 0;
    background: transparent;
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.primary-verification-actions {
    margin-top: 25px;
}

@media (max-width: 700px) {
    .brand-name {
        font-size: 34px;
        letter-spacing: 4px;
    }

    .registration-panel {
        padding: 30px 20px;
    }

    .registration-panel h1 {
        font-size: 27px;
        letter-spacing: 2px;
    }

    .existing-account {
        flex-direction: column;
        align-items: center;
    }
}