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

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Footer Section */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a0a0a;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(120, 119, 198, 0.2);
}

.footer-link svg {
    width: 18px;
    height: 18px;
}

.footer-copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Common UI Components */

/* Glass Morphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* Gradient Text */
.gradient-text {
    background:
        radial-gradient(
            circle farthest-corner at 5% 49%,
            rgb(153, 151, 255) 0%,
            rgba(0, 0, 0, 0) 50%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgb(255, 119, 198) 0%,
            rgba(0, 0, 0, 0) 50%
        ),
        radial-gradient(
            circle at 40% 40%,
            rgba(120, 219, 255, 0.86) 0%,
            rgba(0, 0, 0, 0) 50%
        );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Brand Gradient */
.brand-gradient {
    background: linear-gradient(135deg, #7877c6 0%, #ff77c6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Notice Components */
.notice {
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.notice-icon svg {
    font-size: 16px;
    margin-top: 2px;
}

.notice-text {
    font-size: 13px;
    line-height: 1.4;
}

.notice.warning {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.notice.warning .notice-icon svg {
    fill: #f59e0b;
}

.notice.warning .notice-text {
    color: #fbbf24;
}

.notice.info {
    background: rgba(186, 230, 253, 0.1);
    border: 1px solid rgba(186, 230, 253, 0.3);
}

.notice.info .notice-icon {
    color: #7dd3fc;
}

.notice.info .notice-text {
    color: #7dd3fc;
}

.notice.error {
    background: rgba(252, 165, 165, 0.1);
    border: 1px solid rgba(252, 165, 165, 0.3);
}

.notice.error .notice-icon {
    color: #f87171;
}

.notice.error .notice-text {
    color: #f87171;
}

/* Button System */
.btn {
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    backdrop-filter: blur(10px);
}

.btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(120, 119, 198, 0.2);
}

.btn.primary {
    background: rgba(120, 119, 198, 0.3);
    color: white;
    border-color: rgba(120, 119, 198, 0.4);
}

.btn.primary:hover {
    background: rgba(120, 119, 198, 0.4);
    border-color: rgba(120, 119, 198, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(120, 119, 198, 0.3);
}

/* Status Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.pass {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.warn {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-badge.fail {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Loading Spinner */
.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #7877c6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-spinner.small {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
}

/* Upgrade Link */
.upgrade-link {
    color: #a2a0ff;
    text-decoration: none;
    font-weight: 500;
}

.upgrade-link:hover {
    text-decoration: underline;
    color: #ff77c6;
}

/* Animations */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
