:root {
    --primary: #e60000;
    --primary-glow: rgba(230, 0, 0, 0.5);
    --bg-dark: #0a0a0c;
    --text-main: #ffffff;
    --text-muted: #a0a0ab;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Video Background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px);
    transform: scale(1.1); /* Prevent blurred edges */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10,10,12,0.4) 0%, rgba(10,10,12,0.9) 100%);
    z-index: -1;
}

/* Particles */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Main Content */
.content-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    animation: fadeIn 1.5s ease-out forwards;
}

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

.logo-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--primary), transparent);
    box-shadow: 0 0 30px var(--primary-glow);
    animation: pulse 3s infinite alternate;
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px var(--primary-glow); }
    100% { box-shadow: 0 0 50px var(--primary-glow); }
}

.main-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: var(--bg-dark);
}

.brand-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.brand-subtitle {
    color: var(--primary);
    font-weight: 800;
    margin-left: 5px;
    text-shadow: 0 0 20px var(--primary-glow);
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.btn-discord {
    background: #5865F2;
    color: white;
    border: 1px solid rgba(88, 101, 242, 0.5);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(88, 101, 242, 0.5);
}

.btn-policy {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-policy:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px var(--primary-glow);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 100;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(15, 15, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--primary);
}

.close-modal {
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: white;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    white-space: pre-wrap;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .brand-title { font-size: 3rem; }
    .action-buttons { flex-direction: column; }
    .btn { justify-content: center; }
}
