/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF6B35;
    --primary-blue: #1a1a2e;
    --secondary-blue: #16213e;
    --accent-blue: #0f3460;
    --light-orange: #ff8c5a;
    --text-white: #ffffff;
    --text-gray: #e0e0e0;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body { 
    font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; 
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--accent-blue) 100%);
    color: var(--text-white); 
    margin: 0; 
    padding: 20px; 
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

.container { 
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    padding: 0; 
    border-radius: 24px; 
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 107, 53, 0.2);
    max-width: 1200px; 
    width: 100%;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
    overflow: hidden;
}

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

/* Header/Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--light-orange) 100%);
    padding: 40px;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.logo-area {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.fox-emoji {
    font-size: 3em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.logo-area h1 { 
    font-size: 3.5em; 
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    margin: 0;
}

.app-badge {
    background: rgba(0,0,0,0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    letter-spacing: 1px;
}

.status { 
    background: rgba(255,255,255,0.2); 
    padding: 12px 24px; 
    border-radius: 25px; 
    display: inline-block; 
    margin: 20px 0;
    font-weight: bold;
    backdrop-filter: blur(10px);
    animation: pulse 3s infinite;
    position: relative;
    z-index: 2;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.hero-text h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: white;
    font-weight: 600;
}

.hero-text p {
    font-size: 1.1em;
    opacity: 0.95;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Discord CTA no Hero */
.discord-cta {
    margin-top: 30px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.discord-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(88, 101, 242, 0.4);
    background: linear-gradient(135deg, #4752C4 0%, #5B6CD6 100%);
}

.discord-icon {
    font-size: 1.3em;
    animation: bounce 2s infinite;
}

.external-icon {
    font-size: 0.9em;
    opacity: 0.8;
}

.discord-subtitle {
    margin-top: 10px;
    font-size: 0.9em;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.8);
}

/* Main Content */
main {
    padding: 50px 40px;
}

section {
    margin-bottom: 50px;
}

h3 {
    font-size: 2em;
    margin-bottom: 25px;
    color: var(--primary-orange);
    text-align: center;
    font-weight: 700;
}

/* Features Section */
.features-section {
    margin: 40px 0;
}

.features-section h3 {
    margin-bottom: 30px;
    color: var(--primary-orange);
    text-align: center;
}

/* === FEATURES SLIDER === */
.features-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.slider-container {
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.feature-slide {
    flex: 0 0 33.333%; /* Desktop: 3 cards */
    padding: 0 10px;
    box-sizing: border-box;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--light-orange) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    border-color: var(--primary-orange);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.feature-card h4 {
    color: var(--primary-orange);
    margin: 0 0 10px 0;
    font-size: 1.1em;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.9em;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    background: var(--primary-orange);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 100;
    opacity: 1 !important; /* Sempre visível */
}

.slider-btn:hover {
    background: var(--light-orange);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.slider-btn.prev {
    margin-left: -25px;
}

.slider-btn.next {
    margin-right: -25px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot:hover {
    background: rgba(255, 107, 53, 0.6);
    transform: scale(1.2);
}

.dot.active {
    background: var(--primary-orange);
    transform: scale(1.3);
}

.dot.active::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--primary-orange);
    border-radius: 50%;
    opacity: 0.3;
}

/* Responsive Slider */
@media (max-width: 1024px) {
    .feature-slide {
        flex: 0 0 50%; /* Tablet: 2 cards */
    }
}

@media (max-width: 768px) {
    .feature-slide {
        flex: 0 0 100%; /* Mobile: 1 card */
        padding: 0 5px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }
    
    .slider-btn.prev {
        margin-left: -20px;
    }
    
    .slider-btn.next {
        margin-right: -20px;
    }
    
    .feature-card {
        height: 180px;
        padding: 20px;
    }
    
    .feature-icon {
        font-size: 2em;
        margin-bottom: 10px;
    }
    
    .feature-card h4 {
        font-size: 1em;
    }
    
    .feature-card p {
        font-size: 0.85em;
    }
}

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

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out both;
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--light-orange));
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    display: block;
}

.feature-card h4 {
    color: var(--text-white);
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95em;
    line-height: 1.6;
}

/* About Section */
.about-section {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    text-align: center;
}

.about-content p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--text-gray);
}

.about-content strong {
    color: var(--primary-orange);
}

/* Getting Started */
.discord-highlight {
    margin-bottom: 40px;
    animation: slideInUp 0.6s ease-out;
}

.discord-card {
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 12px 30px rgba(88, 101, 242, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.discord-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="discord-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23discord-pattern)"/></svg>');
    opacity: 0.3;
}

.discord-logo {
    font-size: 3em;
    z-index: 2;
    position: relative;
    animation: pulse 2s infinite;
}

.discord-content {
    flex: 1;
    z-index: 2;
    position: relative;
}

.discord-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.4em;
    color: white;
    font-weight: 700;
}

.discord-content p {
    margin: 0 0 15px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1em;
}

.discord-join-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.discord-join-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.steps {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.step {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.step:hover {
    background: var(--bg-card-hover);
    transform: translateX(10px);
}

.step-number {
    background: var(--primary-orange);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.step p {
    margin: 0;
    color: var(--text-gray);
}

.step strong {
    color: var(--primary-orange);
}

/* Footer */
footer {
    background: var(--secondary-blue);
    padding: 30px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.footer-content p {
    margin: 10px 0;
    color: var(--text-gray);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.footer-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--light-orange);
    text-decoration: underline;
}

.footer-subtitle {
    font-size: 0.9em;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-radius: 16px;
    }
    
    .hero-section {
        padding: 30px 20px;
    }
    
    .logo-area {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo-area h1 {
        font-size: 2.5em;
    }
    
    .hero-text h2 {
        font-size: 1.5em;
    }
    
    main {
        padding: 30px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .step-number {
        margin-right: 0;
    }
    
    /* Discord card responsive */
    .discord-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 15px;
    }
    
    .discord-logo {
        font-size: 2.5em;
    }
    
    .discord-content h4 {
        font-size: 1.2em;
    }
}

/* Utilities */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }