:root {
    --bg-color: #0f0c29;
    --primary: #ff007f;
    --secondary: #7928ca;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

/* Dynamic Background */
.background-anim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(45deg, #0f0c29, #302b63, #24243e);
    z-index: -1;
    overflow: hidden;
}
.background-anim::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(121, 40, 202, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 0, 127, 0.2) 0%, transparent 40%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Glassmorphism Navigation */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(to right, #ff007f, #7928ca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary, .btn-primary-small {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn-primary-small {
    padding: 0.5rem 1.5rem;
}

.btn-primary {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    margin-top: 2rem;
}

.btn-primary:hover, .btn-primary-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 127, 0.4);
}

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

.hero-content {
    max-width: 50%;
}

.glitch-text {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    background: linear-gradient(to right, #ff007f, #7928ca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    width: 40%;
    height: 400px;
}

.gem {
    font-size: 4rem;
    position: absolute;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.gem-1 { top: 20%; left: 10%; animation-delay: 0s; font-size: 5rem; }
.gem-2 { top: 50%; right: 10%; animation-delay: 1.5s; font-size: 6rem; }
.gem-3 { bottom: 10%; left: 30%; animation-delay: 3s; font-size: 4.5rem; }

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

/* Features */
.features {
    padding: 5rem 10%;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    transition: transform 0.3s, background 0.3s;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.glass-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.glass-card p {
    color: var(--text-muted);
}

/* Footer */
.glass-footer {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* About & Legal */
.about {
    padding: 5rem 10%;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.legal-container {
    padding: 6rem 10% 4rem;
    min-height: 80vh;
}

.legal-card {
    max-width: 900px;
    margin: 0 auto;
}

.legal-card h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.legal-card h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.legal-card p, .legal-card ul {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-main);
}

.legal-card ul {
    margin-left: 2rem;
}

/* Utility Animations */
.fade-in {
    animation: fadeInAnim 1s ease-out forwards;
}

@keyframes fadeInAnim {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.delay-1 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; padding-top: 4rem; }
    .hero-content, .hero-visual { max-width: 100%; width: 100%; }
    .nav-links { display: none; }
    .glitch-text { font-size: 3rem; }
}
