/* =================================================================
   MIGRATE.FUN - MAIN STYLES
   Template estático mantendo apenas design visual e animações
   ================================================================= */

/* Font Faces */
@font-face {
    font-family: 'Share Tech Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/03f2d74f5e7b171e-s.p.woff2') format('woff2');
    unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}

@font-face {
    font-family: 'Share Tech Mono Fallback';
    src: local('Arial');
    ascent-override: 73.06%;
    descent-override: 19.98%;
    line-gap-override: 0.00%;
    size-adjust: 121.13%;
}

@font-face {
    font-family: 'Space Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/fc727f226c737876-s.p.woff2') format('woff2');
    unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}

@font-face {
    font-family: 'Space Mono';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/806de4d605d3ad01-s.p.woff2') format('woff2');
    unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd;
}

@font-face {
    font-family: 'Space Mono Fallback';
    src: local('Arial');
    ascent-override: 81.58%;
    descent-override: 26.30%;
    line-gap-override: 0.00%;
    size-adjust: 137.28%;
}

/* CSS Variables */
:root {
    --font-share-tech-mono: 'Share Tech Mono', 'Share Tech Mono Fallback';
    --font-space-mono: 'Space Mono', 'Space Mono Fallback';
    
    /* Colors */
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --purple-300: #d8b4fe;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --bg-dark: #0B111F;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.__variable_bb2e19 {
    font-family: var(--font-share-tech-mono);
    font-weight: 400;
    font-style: normal;
}

.__variable_e8b655 {
    font-family: var(--font-space-mono);
    font-style: normal;
}

body {
    font-family: var(--font-space-mono);
    background: #0B111F;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Utility Classes */
.fixed {
    position: fixed;
}

.relative {
    position: relative;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.flex {
    display: flex;
}

.hidden {
    display: none;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

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

.pointer-events-none {
    pointer-events: none;
}

.pointer-events-auto {
    pointer-events: auto;
}

/* Navigation */
nav {
    z-index: 50;
    padding-top: 0.5rem;
}

nav .px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

nav .h-16 {
    height: 4rem;
}

nav .flex-shrink-0 a {
    display: block;
}

nav img {
    height: 2.5rem;
    width: auto;
}

/* Menu Button */
.menu-button {
    justify-content: center;
    white-space: nowrap;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    height: 2.5rem;
    color: var(--gray-300);
    background-color: rgba(31, 41, 55, 0.3);
    border-radius: 9999px;
    padding: 0.625rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.menu-button:hover {
    color: #fff;
    background-color: rgba(31, 41, 55, 0.5);
}

.menu-button span {
    font-size: 1rem;
    font-weight: 600;
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    image-rendering: auto;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 20;
    transition: opacity 0.5s;
    opacity: 1;
    background: transparent;
}

.loading-overlay .min-h-screen {
    min-height: 100vh;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    transition: opacity 0.5s;
    opacity: 0;
    background: transparent;
}

.main-content main {
    flex: 1;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.pt-20 {
    padding-top: 5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

/* 3D Logo */
.logo-3d {
    height: 5rem;
    width: auto;
    filter: drop-shadow(0 12px 30px rgba(109, 40, 217, 0.45));
}

/* Notifications */
.notifications-container {
    pointer-events: none;
}

.notifications-list {
    position: fixed;
    top: 0;
    z-index: 100;
    display: flex;
    max-height: 100vh;
    width: 100%;
    flex-direction: column-reverse;
    padding: 1rem;
    list-style: none;
}

/* Agent Hustle Badge */
.agent-hustle-badge {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 30;
    align-items: center;
    gap: 0.75rem;
}

.badge-glow {
    position: absolute;
    inset: -0.375rem;
    background: linear-gradient(to right, var(--purple-600), var(--purple-400));
    border-radius: 9999px;
    filter: blur(1rem);
    opacity: 0.75;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.badge-image-container {
    position: relative;
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    overflow: hidden;
    border: 2px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 10px 15px -3px rgba(168, 85, 247, 0.3);
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.badge-text:hover {
    color: var(--purple-400);
}

/* Countdown Card */
.countdown-card {
    background: rgba(88, 28, 135, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.countdown-card .flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.countdown-card .flex.items-center.gap-2 {
    gap: 0.5rem;
}

.countdown-card svg {
    width: 1rem;
    height: 1rem;
    color: rgb(192, 132, 252);
}

.countdown-card .text-sm {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(216, 180, 254);
}

.countdown-timer {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.time-unit {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.time-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgb(216, 180, 254);
    font-family: var(--font-space-mono);
}

.time-label {
    font-size: 0.75rem;
    color: rgba(192, 132, 252, 0.7);
}

.time-separator {
    color: rgba(192, 132, 252, 0.4);
}

/* Migration Card */
.migration-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(31, 41, 55, 0.6);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.migration-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(88, 28, 135, 0.05), transparent, rgba(219, 39, 119, 0.05));
    pointer-events: none;
}

.migration-header {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.migration-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.migration-subtitle {
    font-size: 0.875rem;
    color: rgb(156, 163, 175);
    margin-top: 0.25rem;
}

.migration-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
}

/* Token Section */
.token-section {
    margin-bottom: 0.25rem;
}

.section-label {
    margin-bottom: 0.5rem;
}

.section-label span {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(156, 163, 175);
}

.token-input-container {
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid rgba(55, 65, 81, 0.3);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
}

.token-input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 1.875rem;
    font-weight: 500;
    color: #fff;
    font-family: var(--font-space-mono);
    width: 100%;
    margin-bottom: 0.5rem;
}

.token-input::placeholder {
    color: rgb(107, 114, 128);
}

.token-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.token-icon-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.token-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: rgb(55, 65, 81);
    overflow: hidden;
    flex-shrink: 0;
}

.token-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.token-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.token-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.token-balance {
    font-size: 0.75rem;
    color: rgb(156, 163, 175);
}

.max-button {
    background: rgba(168, 85, 247, 0.2);
    color: rgb(216, 180, 254);
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    height: 2rem;
}

.max-button:hover {
    background: rgba(168, 85, 247, 0.3);
    color: rgb(233, 213, 255);
}

.token-price {
    font-size: 0.875rem;
    color: rgb(107, 114, 128);
    visibility: hidden;
}

/* Arrow Divider */
.arrow-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: -0.75rem 0;
    z-index: 10;
}

.arrow-icon-wrapper {
    position: relative;
}

.arrow-icon-glow {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: linear-gradient(to right, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
    filter: blur(0.75rem);
}

.arrow-icon {
    position: relative;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: #16212E;
    border: 2px solid #0B111F;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.arrow-icon:hover {
    border-color: rgba(168, 85, 247, 0.3);
}

.arrow-icon svg {
    width: 1rem;
    height: 1rem;
    color: rgb(156, 163, 175);
    transition: color 0.3s;
}

.arrow-icon:hover svg {
    color: rgb(192, 132, 252);
}

/* Burn Notice */
.burn-notice {
    font-size: 0.875rem;
    color: rgb(107, 114, 128);
    text-align: left;
}

/* Select Wallet Button */
.select-wallet-button {
    background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
    border: none;
    border-radius: 0.25rem;
    padding: 0.625rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-top: 0.75rem;
}

.select-wallet-button:hover {
    background: linear-gradient(135deg, var(--purple-600), #7e22ce);
    transform: translateY(-1px);
}

.select-wallet-button:active {
    transform: translateY(0);
}

/* Wallet Drawer */
.wallet-drawer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% - 2.5rem));
    z-index: 20;
    width: calc(16rem + 3rem);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wallet-drawer.open {
    transform: translateX(-50%) translateY(0);
}

.wallet-drawer-container {
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(55, 65, 81, 0.5);
    border-right: 1px solid rgba(55, 65, 81, 0.5);
    border-top: 1px solid rgba(55, 65, 81, 0.5);
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.wallet-drawer-toggle {
    width: 100%;
    padding: 0.625rem 1.5rem;
    cursor: pointer;
    background: rgba(17, 24, 39, 0.95);
    border: none;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    transition: background 0.2s;
}

.wallet-drawer-toggle:hover {
    background: rgba(31, 41, 55, 0.95);
}

.wallet-drawer-toggle svg {
    transition: transform 0.3s;
}

.wallet-drawer.open .wallet-drawer-toggle svg {
    transform: rotate(180deg);
}

.wallet-drawer-content {
    padding: 1rem;
}

.wallet-drawer-content .space-y-3 > * + * {
    margin-top: 0.75rem;
}

/* Wallet Adapter Button */
.wallet-adapter-dropdown {
    width: 100%;
}

.wallet-adapter-button {
    width: 100%;
    background-color: #8F6DDE;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-space-mono);
    font-size: 1rem;
    font-weight: 600;
    height: 3rem;
    padding: 0 1.5rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s;
}

.wallet-adapter-button:hover {
    background-color: #a384e8;
}

/* Additional Utilities */
.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.object-cover {
    object-fit: cover;
}

/* Max Width Container */
.max-w-2xl {
    max-width: 28rem;
}

/* Main Content Spacing */
.main-content main {
    padding-top: 0.75rem;
    padding-bottom: 4rem;
}

/* Responsive Design */
@media (max-width: 639px) {
    .migration-card {
        padding: 1.25rem;
    }
    
    .migration-title {
        font-size: 1.375rem;
    }
    
    .token-input {
        font-size: 1.25rem;
    }
    
    .countdown-timer {
        gap: 0.375rem;
    }
    
    .time-value {
        font-size: 0.875rem;
    }
    
    .progress-card,
    .countdown-card {
        padding: 0.625rem 1rem;
    }
}

@media (min-width: 640px) {
    .notifications-list {
        bottom: 0;
        right: 0;
        top: auto;
        flex-direction: column;
        max-width: 26.25rem;
    }

    .agent-hustle-badge {
        display: flex;
    }

    .py-2 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

@media (min-width: 768px) {
    .hidden.md\\:flex {
        display: flex;
    }

    .hidden.md\\:inline {
        display: inline;
    }

    nav img {
        height: 2.75rem;
    }

    .mb-4.sm\\:mb-6 {
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    nav .px-6.lg\\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

