@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap');

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

body {
    font-family: 'Rubik', sans-serif;
    overflow-x: hidden;
    background: #0a1628;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

* {
    will-change: auto;
}

.navbar-container {
    animation: slideDown 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.5s;
    transform: translateY(-200px);
    opacity: 0;
}

.navbar-glass {
    position: relative;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    overflow: visible !important;
}

.navbar-container {
    overflow: visible !important;
}

@keyframes slideDown {
    0% {
        transform: translateY(-200px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-section {
    background: linear-gradient(135deg, #0f1f3d 0%, #142848 50%, #1a3a5c 100%);
    position: relative;
}

.bg-gradient-hero {
    background:
        radial-gradient(circle at 20% 50%, rgba(34, 211, 238, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
    animation: pulseGradient 8s ease-in-out infinite;
}

@keyframes pulseGradient {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.logo-container {
    animation: logoAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transform: scale(1.5);
}

@keyframes logoAppear {
    0% {
        opacity: 0;
        transform: scale(1.5);
    }
    60% {
        opacity: 1;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.glow-text {
    filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.8))
            drop-shadow(0 0 40px rgba(59, 130, 246, 0.6));
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.8))
                drop-shadow(0 0 40px rgba(59, 130, 246, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(34, 211, 238, 1))
                drop-shadow(0 0 50px rgba(59, 130, 246, 0.8));
    }
}

.ip-container {
    animation: ipSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.4s;
    opacity: 0;
    transform: translateY(50px);
}

@keyframes ipSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-left-alt {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-right-alt {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-left.visible,
.feature-right.visible,
.feature-left-alt.visible,
.feature-right-alt.visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.stats-title {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.stats-features {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s, transform 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.stats-features.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    opacity: 0;
    transform: scale(0);
    transition: opacity 1s cubic-bezier(0.34, 1.56, 0.64, 1), transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card.visible {
    opacity: 1;
    transform: scale(1);
}

.stat-card:nth-child(1).visible {
    transition-delay: 0.2s;
}

.stat-card:nth-child(2).visible {
    transition-delay: 0.4s;
}

.stat-card:nth-child(3).visible {
    transition-delay: 0.6s;
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    60% {
        transform: scale(1.1) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.discord-section {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.discord-section.visible {
    opacity: 1;
    transform: scale(1);
}

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

.cta-section {
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-section.visible {
    opacity: 1;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.version-badge {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
    transition: opacity 1s cubic-bezier(0.34, 1.56, 0.64, 1), transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.3s;
}

.version-badge.visible {
    opacity: 1;
    transform: rotate(-3deg) scale(1);
}

@keyframes rotateIn {
    0% {
        opacity: 0;
        transform: rotate(-180deg) scale(0);
    }
    100% {
        opacity: 1;
        transform: rotate(-3deg) scale(1);
    }
}

button {
    transition: all 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.7s ease;
}

button:hover::before {
    left: 150%;
}

button:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    border-radius: 0.75rem;
}

button:active {
    transform: scale(0.97);
    filter: brightness(0.95);
}

.shadow-lg {
    box-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.3),
        0 10px 10px -5px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.shadow-lg:hover {
    box-shadow:
        0 20px 40px -5px rgba(0, 0, 0, 0.4),
        0 15px 15px -5px rgba(0, 0, 0, 0.3);
}

.shadow-xl {
    box-shadow:
        0 20px 35px -10px rgba(0, 0, 0, 0.4),
        0 10px 20px -10px rgba(0, 0, 0, 0.3);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .glow-text {
        font-size: 3rem;
    }

    .hero-section {
        min-height: 100vh;
    }
}

#toast {
    display: none !important;
}

.alert, .toast, [class*="alert-"], [class*="toast-"] {
    display: none !important;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0f1f3d;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #22d3ee, #3b82f6);
    border-radius: 6px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #67e8f9, #60a5fa);
}

.shadow-cyan-button {
    background: linear-gradient(145deg, #22d3ee, #0891b2);
    box-shadow: 0 6px 0 #0e7490;
    border-radius: 0.5rem !important;
}

.shadow-blue-button {
    background: linear-gradient(145deg, #3b82f6, #2563eb);
    box-shadow: 0 6px 0 #1d4ed8;
}

button:has(.shadow-cyan-button):hover .shadow-cyan-button,
button.shadow-cyan-button:hover,
.shadow-cyan-button:hover {
    box-shadow: 0 6px 0 #0e7490;
}

button.shadow-blue-button:hover {
    box-shadow: 0 6px 0 #1d4ed8;
}

button.shadow-cyan-button:active {
    box-shadow: 0 3px 0 #0e7490;
}

.shadow-discord-button {
    background: linear-gradient(145deg, #5865f2, #4752c4);
    box-shadow: 0 6px 0 #3c45a5;
}

button.shadow-discord-button:hover {
    box-shadow: 0 6px 0 #3c45a5;
}

button.shadow-discord-button:active {
    box-shadow: 0 3px 0 #3c45a5;
}

button.shadow-blue-button:active {
    box-shadow: 0 3px 0 #1d4ed8;
}

.shadow-green-button {
    background: linear-gradient(145deg, #10b981, #059669);
    box-shadow: 0 6px 0 #059669;
}

.shadow-green-button:hover {
    box-shadow: 0 6px 0 #059669;
}

.shadow-green-button:active {
    box-shadow: 0 3px 0 #059669;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }
    100% {
        transform: translateX(200%) skewX(-15deg);
    }
}

.animate-shine {
    animation: shine 3s ease-in-out infinite;
}

.user-head-button {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.user-head-button:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.user-head-button:active {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.perspective-card {
    perspective: 1000px;
}

.perspective-card:hover .card-inner {
    transform: rotateY(5deg) rotateX(-5deg);
}

.card-inner {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

#classesCarousel {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.classe-card {
    display: block;
    min-width: calc((100% - 72px) / 4);
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .classe-card {
        min-width: calc((100% - 24px) / 1.2);
    }
}


.stat-max.stat-red {
    position: relative;
}

.stat-max.stat-red::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.6) 0%, rgba(239, 68, 68, 0.3) 50%, transparent 70%);
    animation: glowPulseRed 2s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.stat-max.stat-green {
    position: relative;
}

.stat-max.stat-green::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.6) 0%, rgba(34, 197, 94, 0.3) 50%, transparent 70%);
    animation: glowPulseGreen 2s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.stat-max.stat-blue {
    position: relative;
}

.stat-max.stat-blue::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, rgba(59, 130, 246, 0.3) 50%, transparent 70%);
    animation: glowPulseBlue 2s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

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

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

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

.feature-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(2) {
    transition-delay: 0.3s;
}

.feature-card:nth-child(3) {
    transition-delay: 0.5s;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 13px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(18px);
    }
}

.about-title {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.about-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.video-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}
