:root {
    --bg-color: #050510;
    --primary-purple: #7d40ff;
    --secondary-purple: #9d5cff;
    --text-white: #ffffff;
    --text-muted: #b0b0b0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png'); /* Pattern overlay */
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(125, 64, 255, 0.2) 0%, rgba(125, 64, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 10s infinite alternate;
}

.blob-1 {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(125, 64, 255, 0.15) 0%, rgba(125, 64, 255, 0) 70%);
}

.blob-2 {
    bottom: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.15) 0%, rgba(88, 101, 242, 0) 70%);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

/* Grid Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    pointer-events: none;
}

/* Header Styles */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 10px 0;
    transition: var(--transition);
}

.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 30px;
}

.logo-text {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
}

.header-logo {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 0 5px var(--primary-purple));
}

.logo .tag {
    color: var(--primary-purple);
    font-weight: 800;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 12px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

nav ul li a i {
    font-size: 14px;
    opacity: 0.8;
}

nav ul li a:hover, nav ul li a.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.header-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-login {
    background-color: var(--primary-purple);
    color: white;
    text-decoration: none;
    padding: 8px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-login:hover {
    background-color: #5865F2; /* Discord-ish blue from image 2 */
    transform: none;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(5, 5, 16, 0.6), rgba(5, 5, 16, 0.9)), 
                url('https://images.unsplash.com/photo-1587573088668-3499fa52480f?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-logo-wrapper {
    margin-bottom: 20px;
}

.hero-logo {
    width: 100px;
    filter: drop-shadow(0 0 10px var(--primary-purple));
    animation: float 3s ease-in-out infinite;
}

.logo-subtitle {
    font-size: 12px;
    font-weight: 700;
    color: #ffcc00;
    margin-top: -10px;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 25px;
    font-weight: 800;
    background: linear-gradient(to bottom, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-purple);
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Chat Box */
.chat-box {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 350px;
    background: rgba(10, 10, 30, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    z-index: 999;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    animation: slideInLeft 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.close-chat {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.chat-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.chat-avatar img {
    width: 60px;
    border-radius: 15px;
}

.chat-title {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: var(--primary-purple);
    margin-bottom: 5px;
}

.chat-text p {
    font-size: 13px;
    color: var(--text-white);
    margin-bottom: 10px;
}

.chat-link {
    color: #5865F2;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

/* Login Page */
.login-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
}

.login-card {
    background: rgba(10, 10, 20, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px 40px;
    width: 100%;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

.login-logo img {
    height: 64px;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px var(--primary-purple));
}

.login-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.login-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 35px;
    line-height: 1.5;
}

.btn-discord {
    background-color: #5865F2;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    margin-bottom: 25px;
}

.btn-discord:hover {
    background-color: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3);
}

.login-footer {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.login-footer a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Coming Soon Section */
.coming-soon {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-color);
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .header-container { padding: 0 20px; }
    nav { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
}
