:root {
    --dock-bg: rgba(0, 0, 0, 0.2);
    --dock-hover: rgba(255, 255, 255, 0.1);
    --tooltip-bg: rgba(255, 255, 255, 0.9);
    --tooltip-text: #1a1a1a;
    --dock-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --dock-border: rgba(255, 255, 255, 0.1);
    --animation-speed: 0.3s;
}



body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: white;
    overflow-x: hidden;
}

/* Background Video */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sound Control */
.sound-control {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

/* Top Dock Styles */
.top-dock {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.top-dock .dock-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.top-dock .dock-item {
    width: auto;
    min-width: 80px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.top-dock .dock-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.top-dock .button-text {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    transition: text-shadow 0.3s ease;
}

.top-dock .dock-item:hover .button-text {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
}

.top-dock .dock-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
}

/* Side Dock Styles */
.side-dock {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: var(--dock-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem;
    border-radius: 1rem;
    box-shadow: var(--dock-shadow);
    border: 1px solid var(--dock-border);
    animation: slideRight 0.5s ease-out;
}

/* Dock Items */
.dock-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    transition: all var(--animation-speed) cubic-bezier(0.34, 1.56, 0.64, 1);
    background: transparent;
    cursor: pointer;
    border: none;
}

.dock-item:hover {
    transform: scale(1.2);
    background: var(--dock-hover);
}

.dock-item:active {
    transform: scale(0.95);
}

.dock-icon {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    transition: all var(--animation-speed) ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.dock-item:hover .dock-icon {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Tooltip */
.tooltip {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--tooltip-bg);
    color: var(--tooltip-text);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--animation-speed) cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dock-item:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* About Overlay */
.about-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--animation-speed) ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.about-overlay.active {
    opacity: 1;
    visibility: visible;
    /* Debug: garantir que o overlay seja visível */
    display: flex !important;
}

.about-content {
    position: relative;
    max-width: 800px;
    max-height: 80vh;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 2rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform var(--animation-speed) ease;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #00f0ff rgba(0, 0, 0, 0.3);
}

.about-overlay.active .about-content {
    transform: translateY(0);
}

/* Custom Scrollbar for About Content */
.about-content::-webkit-scrollbar {
    width: 8px;
}

.about-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.about-content::-webkit-scrollbar-thumb {
    background: #00f0ff;
    border-radius: 4px;
    box-shadow: 0 0 8px #00f0ff;
}

.about-content::-webkit-scrollbar-thumb:hover {
    background: #00eaff;
    box-shadow: 0 0 12px #00eaff;
}

/* About Message Styles */
.about-message {
    text-align: left;
    margin-bottom: 2rem;
}

.about-title {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #00f0ff;
    text-shadow: 0 0 20px #00f0ff, 0 0 40px #00f0ff;
    margin: 0 0 1.2rem 0;
    letter-spacing: 0.1em;
    text-align: center;
    animation: neonPulse 2s ease-in-out infinite alternate;
}

.about-description {
    line-height: 1.6;
}

.about-description p {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.features-title, .mission-title, .motto-title {
    color: #00f0ff;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 1.2rem 0 0.6rem 0;
    text-shadow: 0 0 10px #00f0ff;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.feature-item {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
}

.feature-header {
    margin-bottom: 0.8rem;
}

.feature-name {
    color: #00f0ff;
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 0 0 8px #00f0ff;
}

.feature-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.motto-text {
    font-size: 1.1rem;
    font-weight: bold;
    color: #00f0ff;
    text-align: center;
    font-style: italic;
    text-shadow: 0 0 8px #00f0ff;
    margin: 1rem 0;
}

@keyframes neonPulse {
    0% {
        text-shadow: 0 0 20px #00f0ff, 0 0 40px #00f0ff;
    }
    100% {
        text-shadow: 0 0 30px #00f0ff, 0 0 60px #00f0ff, 0 0 80px #00f0ff;
    }
}

/* Roadmap Overlay */
.roadmap-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.95) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2rem !important;
}

/* Token Launch Popup */
.token-popup {
    position: fixed;
    top: 20px;
    left: 150px; /* Ajustado para a direita */
    transform: none;
    width: auto;
    height: auto;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 10000;
    display: block;
    padding: 0;
}

.token-popup.active {
    opacity: 1;
    visibility: visible;
}

.token-popup-content {
    position: relative;
    width: 180px; /* Tamanho do popup diminuído um pouco mais */
    background-color: rgba(0, 0, 0, 0.7); /* Preto fumê */
    border-radius: 20px;
    padding: 0.75rem 2.5rem 0.75rem 0.75rem; /* Adicionado padding à direita para o botão de fechar */
    color: white;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.2);
    transform: translateX(-100px) scale(0.8);
    transition: all 0.4s ease;
    text-align: left;
    animation: tokenPopupGlow 3s ease-in-out infinite alternate;
    margin-left: 0;
}

.token-popup.active .token-popup-content {
    transform: translateX(0) scale(1);
}

.token-popup-message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.token-popup-icon {
    font-size: 2.5rem;
    animation: sparkle 2s ease-in-out infinite;
    flex-shrink: 0;
}

.token-popup-text-container {
    flex: 1;
}

.token-popup-title {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 1rem; /* Tamanho da fonte diminuído */
    font-weight: bold;
    color: #FFD700; /* Cor do título em amarelo */
    text-shadow: 0 0 15px #FFD700, 0 0 30px #FFD700; /* Efeito de brilho amarelo */
    margin: 0 0 0.2rem 0; /* Margem inferior diminuída */
    letter-spacing: 0.05em;
    cursor: grab;
    user-select: none;
}

.token-popup-title:active {
    cursor: grabbing;
}

.token-popup-text {
    font-size: 0.8rem; /* Tamanho da fonte diminuído */
    line-height: 1.4;
    color: white; /* Cor do texto em branco */
    text-shadow: 0 0 8px white, 0 0 15px white; /* Efeito de brilho branco */
    margin: 0;
    font-weight: 400;
}

.token-popup-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 25px;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.token-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 215, 0, 0.6);
    transform: scale(1.1);
}

/* Floating Crypto Coin */
.floating-crypto-coin {
    position: fixed;
    top: 20px;
    left: 20px;
    transform: none;
    width: 120px;
    height: 120px;
    z-index: 9998;
    transition: all 0.3s ease;
    user-select: none;
}

.floating-crypto-coin:hover {
    transform: scale(1.05);
}

.crypto-coin-gif {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
}

.crypto-coin-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #8B4513;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
    animation: coinSpin 3s linear infinite;
}

@keyframes coinSpin {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.crypto-coin-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: coinGlow 2s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes coinGlow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Token Popup Animations */
@keyframes tokenPopupGlow {
    0% {
        box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.2);
    }
    100% {
        box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.3);
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.1) rotate(90deg);
        opacity: 0.9;
    }
}

/* Hover effect para o popup */
.token-popup-content:hover {
    transform: translateX(0) scale(1.02);
    border-color: rgba(255, 215, 0, 0.6);
}



/* Roadmap Content Styles */
.roadmap-content {
    position: relative;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 1.2rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform var(--animation-speed) ease;
    animation: roadmapContentAppear 0.5s ease forwards;
}

@keyframes roadmapContentAppear {
    to {
        transform: translateY(0);
    }
}

.roadmap-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.roadmap-header .close-button {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
}

.roadmap-title {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 2rem;
    color: #00f0ff;
    text-shadow: 0 0 20px #00f0ff, 0 0 40px #00f0ff;
    margin: 0;
    letter-spacing: 0.1em;
    text-align: center;
}

.phases-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.phase {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 12px;
    padding: 1.2rem;
    transition: all 0.3s ease;
}

.phase:hover {
    background: rgba(0, 240, 255, 0.15);
    border-color: rgba(0, 240, 255, 0.5);
    transform: translateY(-2px);
}

.phase-number {
    color: #00f0ff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px #00f0ff;
}

.phase-description {
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.phase-details {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Coming Soon Phase */
.phase.coming-soon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    padding: 1rem;
}

.coming-soon-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-style: italic;
}



/* Close Button */
.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--animation-speed) ease;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.close-button:active {
    transform: scale(0.95);
}

.close-button::before,
.close-button::after {
    content: '';
    position: absolute;
    width: 1rem;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all var(--animation-speed) ease;
}

.close-button::before {
    transform: rotate(45deg);
}

.close-button::after {
    transform: rotate(-45deg);
}

.close-button:hover::before,
.close-button:hover::after {
    width: 1.2rem;
}

.dock-divider {
    width: 1px;
    background: var(--dock-border);
    margin: 0 0.5rem;
    transition: height var(--animation-speed) ease;
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateY(-50%) translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-dock {
        top: 1rem;
    }

    .side-dock {
        left: 1rem;
    }

    .sound-control {
        top: 1rem;
        right: 1rem;
    }

    .dock-container {
        padding: 0.5rem 1rem;
    }

    .dock-item {
        width: 2.5rem;
        height: 2.5rem;
    }

    .dock-icon {
        width: 1.25rem;
        height: 1.25rem;
    }

    .about-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .close-button {
        top: 0.75rem;
        right: 0.75rem;
        width: 1.75rem;
        height: 1.75rem;
    }

    .close-button::before,
    .close-button::after {
        width: 0.875rem;
    }

    .close-button:hover::before,
    .close-button:hover::after {
        width: 1rem;
    }
}

.right-dock {
    position: fixed;
    right: 20px;
    top: 80px;
    z-index: 1000;
}

.right-dock .dock-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.right-dock .dock-item {
    width: auto;
    min-width: 100px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
}

.right-dock .dock-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

.right-dock .button-text {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.right-dock .dock-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 5px 0;
}

.right-side-dock {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: var(--dock-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem;
    border-radius: 1rem;
    box-shadow: var(--dock-shadow);
    border: 1px solid var(--dock-border);
    animation: slideLeft 0.5s ease-out;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@keyframes slideLeft {
    from {
        transform: translateY(-50%) translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
    }
}

.right-side-dock .tooltip {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #222;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    z-index: 10;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 36px;
}

.right-side-dock .tooltip-top {
    bottom: calc(100% + 8px);
}

.right-side-dock .tooltip-bottom {
    top: calc(100% + 8px);
}

.right-side-dock .tooltip-left {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) translateX(-100%) !important;
    margin-right: 0 !important;
    margin-left: 12px !important;
    background: #fff !important;
    color: #222 !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.2s, transform 0.2s !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12) !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    min-height: 36px !important;
}

.right-side-dock .dock-item:hover .tooltip {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

.right-side-dock .dock-item:first-child:hover .tooltip {
    transform: translateX(50%) translateY(-5px);
}

.right-side-dock .dock-item:last-child:hover .tooltip {
    transform: translateX(50%) translateY(5px);
}

.right-side-dock .dock-icon {
    width: 24px;
    height: 24px;
    transition: all 0.2s ease;
}

.right-side-dock .dock-item:hover .dock-icon {
    transform: scale(1.1);
}

.right-side-dock .dock-item[data-tooltip="Coming soon"] .tooltip {
    display: block;
}

.right-side-dock .dock-item:hover .tooltip-left {
    opacity: 1 !important;
    transform: translateY(-50%) translateX(-100%) !important;
}