:root {
    --bg-dark: #11141a;
    --text-main: #f3f4f6;
    --text-muted: #d4d6dc;
    --accent-primary: #e87313;
    --accent-secondary: #f69440;
    --glass-bg: rgba(17, 20, 26, 0.7);
    --glass-border: rgba(232, 115, 19, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

/* Backgrounds */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(17, 20, 26, 0.85) 0%, rgba(17, 20, 26, 0.45) 100%);
    z-index: -2;
}

.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    z-index: -3;
    pointer-events: none;
}

/* Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

h1, h2, h3, h4 {
    line-height: 1.2;
}

span {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.btn-primary-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.w-100 { width: 100%; }
.mt-4 { margin-top: 1.5rem; }

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.navbar nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

.navbar a:hover {
    color: var(--accent-primary);
}

/* Sections */
main {
    padding-top: 100px;
}

.section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 80vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

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

/* Rank Card */
.rank-card {
    padding: 30px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.rank-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    transform: rotate(45deg);
    animation: shine 4s linear infinite;
}

.rank-info {
    text-align: center;
}

.rank-info .label {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.rank-info .points {
    font-size: 4rem;
    font-weight: 800;
    margin: 10px 0;
    background: linear-gradient(135deg, #fff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rank-info .price {
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.progress-bar {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    box-shadow: 0 0 10px var(--accent-secondary);
}

/* Calculator */
.calc-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
}

.calc-group {
    margin-bottom: 30px;
}

.calc-group label {
    display: block;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: rgba(255,255,255,0.1);
    height: 8px;
    border-radius: 4px;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-primary);
    transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-values {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-primary);
}

.calc-result {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.calc-result span {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calc-result h3 {
    font-size: 3rem;
    margin-top: 5px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(255, 140, 0, 0.3);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

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

/* Contact */
.contact-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    text-decoration: none;
    color: var(--text-main);
    min-width: 300px;
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card.whatsapp:hover {
    border-color: #25D366;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
}

.contact-card.discord:hover {
    border-color: #5865F2;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.2);
}

.contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

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

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    margin-top: 50px;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
    .navbar nav { display: none; }
    .hero { grid-template-columns: 1fr; text-align: center; margin-top: 40px; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-buttons { justify-content: center; flex-direction: column; }
    .contact-card { width: 100%; }
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
    }
    .floating-btn svg {
        width: 25px;
        height: 25px;
    }
}

/* Floating Buttons Setup */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    animation: float-btn 3s ease-in-out infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
    animation: none;
}

.floating-btn.whatsapp {
    background-color: #25D366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.floating-btn.whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background-color: #1ebe57;
}

.floating-btn.discord {
    background-color: #5865F2;
    color: #fff;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    animation-delay: 1.5s;
}

.floating-btn.discord:hover {
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6);
    background-color: #4752c4;
}

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