/* Reset & Variabile */
:root {
    --bg-main: #111214;
    --bg-sec: #1e1f22;
    --bg-card: #2b2d31;
    --text-main: #f2f3f5;
    --text-muted: #b5bac1;
    --accent: #5865F2;
    --accent-hover: #4752c4;
    --gradient: linear-gradient(135deg, #5865F2, #bc58f2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* Butoane */
.btn-primary, .btn-secondary, .btn-discord {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: white;
    border: 1px solid var(--accent);
}
.btn-secondary:hover {
    background-color: rgba(88, 101, 242, 0.1);
}

.btn-discord {
    background-color: #23a559;
    color: white;
    font-size: 1.1rem;
}
.btn-discord:hover {
    background-color: #1a7a42;
    transform: scale(1.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(30, 31, 34, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-title {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 10%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.floating-img {
    width: 350px;
    height: 350px;
    border-radius: 20px;
    border: 3px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: float 4s ease-in-out infinite;
    object-fit: cover;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(88,101,242,0.4) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    border-radius: 50%;
    animation: pulse 3s infinite alternate;
}

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

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* Server Banner */
.server-banner {
    padding: 100px 10%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23111214"/><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.1"/></svg>');
}

.banner-box {
    background: linear-gradient(135deg, rgba(43,45,49,0.9), rgba(30,31,34,0.9));
    border: 1px solid rgba(88,101,242,0.3);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.server-img {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    border: 4px solid var(--accent);
    object-fit: cover;
}

.pulse-anim {
    animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
    from { box-shadow: 0 0 10px rgba(88,101,242,0.2); }
    to { box-shadow: 0 0 30px rgba(88,101,242,0.8); }
}

.banner-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}
.banner-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* ToS & Privacy Sections */
.legal-section {
    padding: 100px 10%;
    background-color: var(--bg-sec);
}
.legal-section:nth-of-type(even) {
    background-color: var(--bg-main);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.legal-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.legal-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-item h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

.legal-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

.success-msg {
    color: #23a559;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 15px;
    animation: fadeIn 0.5s ease-in;
}

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

/* Footer */
footer {
    background-color: var(--bg-main);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; padding-top: 150px; }
    .hero-content { margin-bottom: 50px; }
    .hero-buttons { justify-content: center; }
    .banner-box { flex-direction: column; text-align: center; }
    .nav-links { display: none; }
}
