@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #00d4ff;
            --secondary-color: #0099cc;
            --accent-color: #66e0ff;
            --light-bg: #ffffff;
            --card-bg: #f8faff;
            --text-light: #333;
            --text-dark: #666;
            --nav-text-color: #ffffff;
            --gradient-primary: linear-gradient(135deg, #00d4ff, #0099cc);
            --gradient-secondary: linear-gradient(135deg, #66e0ff, #00d4ff);
            --gradient-bg: linear-gradient(135deg, #ffffff, #f0f9ff, #e6f7ff);
        }

        body {
            font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: var(--text-light);
            background: var(--gradient-bg);
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
        }

        /* Enhanced animated background */
        .animated-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
            overflow: hidden;
        }

        .floating-shape {
            position: absolute;
            opacity: 0.08;
            animation: float-complex 20s ease-in-out infinite;
        }

        .shape-1 {
            width: 200px;
            height: 200px;
            background: var(--gradient-primary);
            border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
            top: 10%;
            left: 10%;
            animation-delay: 0s;
            animation-duration: 25s;
        }

        .shape-2 {
            width: 150px;
            height: 150px;
            background: var(--gradient-secondary);
            border-radius: 50%;
            top: 70%;
            right: 15%;
            animation-delay: 8s;
            animation-duration: 30s;
        }

        .shape-3 {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
            border-radius: 20px;
            bottom: 20%;
            left: 60%;
            animation-delay: 4s;
            animation-duration: 22s;
            transform: rotate(45deg);
        }

        .floating-logo {
            width: 120px;
            height: 120px;
            background-image: url('new-logo.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            top: 40%;
            right: 10%;
            animation-delay: 12s;
            animation-duration: 35s;
            opacity: 0.12;
        }

        .floating-logo-2 {
            width: 80px;
            height: 80px;
            background-image: url('new-logo.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            top: 15%;
            left: 20%;
            animation-delay: 5s;
            animation-duration: 40s;
            opacity: 0.15;
        }

        .floating-logo-3 {
            width: 100px;
            height: 100px;
            background-image: url('new-logo.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            bottom: 25%;
            right: 25%;
            animation-delay: 20s;
            animation-duration: 30s;
            opacity: 0.1;
        }

        .floating-logo-4 {
            width: 90px;
            height: 90px;
            background-image: url('new-logo.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            top: 70%;
            left: 15%;
            animation-delay: 8s;
            animation-duration: 45s;
            opacity: 0.13;
        }

        .floating-logo-5 {
            width: 70px;
            height: 70px;
            background-image: url('new-logo.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            top: 25%;
            right: 35%;
            animation-delay: 15s;
            animation-duration: 38s;
            opacity: 0.11;
        }

        @keyframes float-complex {
            0%, 100% {
                transform: translate(0px, 0px) rotate(0deg) scale(1);
            }
            25% {
                transform: translate(50px, -100px) rotate(90deg) scale(1.1);
            }
            50% {
                transform: translate(-30px, -50px) rotate(180deg) scale(0.9);
            }
            75% {
                transform: translate(-80px, 30px) rotate(270deg) scale(1.05);
            }
        }

        /* Particle system */
        .particles-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        .particle {
            position: absolute;
            width: 3px;
            height: 3px;
            background: var(--primary-color);
            border-radius: 50%;
            opacity: 0;
            animation: particle-float 15s linear infinite;
        }

        @keyframes particle-float {
            0% {
                transform: translateY(100vh) translateX(0px);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(-100px) translateX(100px);
                opacity: 0;
            }
        }

        /* Header improvements */
        header {
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            background: linear-gradient(135deg, #87ceeb, #66e0ff, #87ceeb, #add8e6);
            background-size: 400% 400%;
            animation: subtle-gradient-shift 10s ease-in-out infinite;
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(0, 212, 255, 0.3);
            padding: 0.2rem 0;
            transition: box-shadow 0.3s ease;
        }

        .header-scrolled {
            box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
        }

        @keyframes subtle-gradient-shift {
            0% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
            100% {
                background-position: 0% 50%;
            }
        }

        nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Header logo - Force scale approach */
        header .logo {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 200px !important;
            height: 80px !important;
            overflow: visible !important;
            margin-right: auto !important;
        }

        header .logo img,
        header img.header-logo,
        header .header-logo {
            width: 100% !important;
            height: auto !important;
            object-fit: contain !important;
            transform: scale(1.0) !important;
            transform-origin: center center !important;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
            margin: 0;
            padding: 0;
        }

        .nav-links li {
            margin: 0;
        }

        /* Mobile menu */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 0.5rem;
        }

        .mobile-menu-toggle span {
            width: 25px;
            height: 3px;
            background: var(--primary-color);
            margin: 3px 0;
            transition: 0.3s;
            border-radius: 2px;
        }

        /* Hero section improvements */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            padding: 150px 2rem 0;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 30% 50%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 70% 80%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 700;
            margin-bottom: 1.5rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.2;
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 3rem;
            color: rgba(102, 102, 102, 0.8);
            line-height: 1.6;
        }

        .cta-buttons {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn {
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.4s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-family: inherit;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.6s ease;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            background: var(--gradient-primary);
            color: white;
            box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(255, 107, 157, 0.4);
        }

        .btn-secondary {
            background: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }

        .btn-secondary:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-3px);
        }

        /* Container and sections */
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section {
            padding: 5rem 0;
            position: relative;
        }

        .section h2 {
            text-align: center;
            font-size: clamp(2rem, 4vw, 3.5rem);
            margin-bottom: 3rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 700;
        }

        /* Enhanced cards */
        .card {
            background: rgba(248, 250, 255, 0.9);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 2.5rem;
            border: 1px solid rgba(0, 212, 255, 0.2);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            box-shadow: 0 5px 25px rgba(0, 212, 255, 0.1);
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--gradient-primary);
        }

        .card:hover {
            transform: translateY(-10px);
            border-color: rgba(0, 212, 255, 0.4);
            box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
        }

        /* Dashboard stats */
        .dashboard-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .stat-card {
            text-align: center;
            position: relative;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            color: rgba(102, 102, 102, 0.8);
            font-size: 1.1rem;
        }

        .stat-change {
            font-size: 0.9rem;
            color: var(--secondary-color);
            margin-top: 0.5rem;
        }

        /* Fee breakdown with better visualization */
        .fee-breakdown {
            background: rgba(248, 250, 255, 0.95);
            backdrop-filter: blur(20px);
            padding: 3rem;
            border-radius: 20px;
            border: 1px solid rgba(0, 212, 255, 0.2);
            box-shadow: 0 5px 25px rgba(0, 212, 255, 0.1);
        }

        .allocation-item {
            margin-bottom: 2rem;
        }

        .allocation-info {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
            font-weight: 600;
            color: var(--text-light);
        }

        .allocation-bar {
            height: 15px;
            background: rgba(0, 212, 255, 0.15);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .allocation-fill {
            height: 100%;
            border-radius: 10px;
            position: relative;
            transition: width 1s ease-out;
        }

        .allocation-fill::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        /* Library grid improvements */
        .library-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .account-card {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            padding: 1.5rem;
        }

        .account-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--gradient-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .account-info h4 {
            color: var(--text-light);
            margin-bottom: 0.5rem;
            font-size: 1.1rem;
        }

        .account-info p {
            color: rgba(102, 102, 102, 0.7);
            margin-bottom: 0.8rem;
            font-size: 0.9rem;
        }

        .account-stats {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .account-stats span {
            background: rgba(0, 212, 255, 0.15);
            color: var(--primary-color);
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        /* Voting section */
        .voting-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .vote-card {
            text-align: center;
            position: relative;
        }

        .vote-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            overflow: hidden;
            background: none;
            margin: 0 auto 1.5rem;
            position: relative;
        }

        .vote-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            display: block;
        }

        .vote-stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 1.5rem 0;
            padding: 1rem;
            background: rgba(0, 212, 255, 0.1);
            border-radius: 10px;
        }

        .vote-count {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
        }

        .vote-btn {
            width: 100%;
            margin-top: 1rem;
        }

        .vote-btn:disabled {
            background: rgba(255, 255, 255, 0.1);
            color: rgba(238, 238, 238, 0.5);
            cursor: not-allowed;
        }

        /* Features grid */
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
            margin-top: 4rem;
        }

        .feature h3 {
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-size: 1.3rem;
        }

        .feature p {
            color: rgba(102, 102, 102, 0.8);
            line-height: 1.6;
        }

        /* Footer */
        footer {
            background: rgba(248, 250, 255, 0.95);
            backdrop-filter: blur(20px);
            text-align: center;
            padding: 3rem 0;
            margin-top: 6rem;
            border-top: 1px solid rgba(0, 212, 255, 0.2);
            box-shadow: 0 -5px 25px rgba(0, 212, 255, 0.1);
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .social-links img {
            width: 40px;
            height: 40px;
            background: rgba(0, 212, 255, 0.1);
            padding: 8px;
        }

        .social-links a:hover {
            color: var(--primary-color);
            background: rgba(0, 212, 255, 0.2);
            transform: translateY(-3px);
        }

        /* Loading states */
        .loading {
            position: relative;
            overflow: hidden;
        }

        .loading::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.1), transparent);
            animation: loading-shimmer 1.5s infinite;
        }

        @keyframes loading-shimmer {
            0% { left: -100%; }
            100% { left: 100%; }
        }

        /* Scroll animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .nav-links li a,
        header .nav-links a,
        nav .nav-links a {
            color: #ffffff !important;
            text-decoration: none !important;
            font-weight: 600 !important;
            font-size: 1.2rem !important;
            font-family: 'Space Grotesk', sans-serif !important;
            padding: 0.5rem 1rem !important;
            border-radius: 25px !important;
            transition: all 0.3s ease !important;
        }

        .nav-links li a:hover,
        header .nav-links a:hover,
        nav .nav-links a:hover {
            color: #ffffff !important;
            background: rgba(255, 255, 255, 0.2) !important;
            transform: translateY(-2px) !important;
        }

        /* Additional override for stubborn navigation text */
        header nav ul.nav-links li a,
        header nav .nav-links a,
        #header .nav-links a,
        body header .nav-links a {
            color: white !important;
        }

        /* Contract Address Button Styles */
        .ca-button {
            position: relative;
            padding: 1rem 2rem;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-family: 'Courier New', monospace;
            letter-spacing: 1px;
            background: linear-gradient(135deg, #00d4ff, #0099cc);
            color: white;
            box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
            overflow: hidden;
        }

        .ca-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.6s ease;
        }

        .ca-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
        }

        .ca-button:hover::before {
            left: 100%;
        }

        .ca-button:active {
            transform: translateY(-1px);
            box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
        }

        /* Animation when copied */
        .ca-button.copied {
            background: linear-gradient(135deg, #4ecdc4, #45b7aa);
            animation: pulse-success 0.6s ease;
        }

        @keyframes pulse-success {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
            }
        }

        /* Feedback message animation */
        #ca-feedback {
            margin-top: 1rem;
            font-size: 0.9rem;
            font-weight: 600;
            min-height: 20px;
            color: var(--secondary-color);
            opacity: 0;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }

        #ca-feedback.show {
            opacity: 1;
            transform: translateY(0);
        }

        /* Logo más pequeño en tablets y portátiles */
        @media (max-width: 1200px) {
            header .logo {
                width: 60px !important;
                height: 30px !important;
            }
            
            header .logo img,
            header img.header-logo,
            header .header-logo {
                transform: scale(0.6) !important;
            }

            .hero {
                padding: 70px 2rem 0;
            }

            .nav-links {
                gap: 0.25rem;
            }
            
            .nav-links li a {
                font-size: 0.65rem !important;
                padding: 0.1rem 0.25rem !important;
            }
            
            header {
                padding: 0 !important;
            }
            
            nav {
                padding: 0 0.25rem;
                min-height: 50px;
            }
        }

        @media (max-width: 1024px) {
            .nav-links {
                gap: 0.7rem;
            }
            
            .nav-links li a {
                font-size: 0.9rem !important;
                padding: 0.3rem 0.6rem !important;
            }
            
            header {
                padding: 0.15rem 0;
            }
            
            .features {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }
        }

        /* Responsive design */
        @media (max-width: 768px) {
            nav {
                padding: 0 0.5rem;
            }

            header .logo {
                width: 180px !important;
                height: 90px !important;
            }

            header .logo img {
                transform: scale(1.2) !important;
            }
            
            .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: linear-gradient(135deg, #87ceeb, #66e0ff);
                flex-direction: column;
                padding: 1rem;
                gap: 0;
                box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
            }

            .nav-links.active {
                display: flex;
            }

            .nav-links li {
                width: 100%;
                text-align: center;
                border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            }

            .nav-links li:last-child {
                border-bottom: none;
            }

            .nav-links li a {
                display: block;
                padding: 1rem !important;
                font-size: 1.1rem !important;
            }
            
            .mobile-menu-toggle {
                display: flex;
            }
            
            .hero {
                padding: 100px 0 80px;
            }
            
            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .dashboard-stats {
                grid-template-columns: 1fr;
            }
            
            .account-card {
                flex-direction: column;
                text-align: center;
            }
            
            .container {
                padding: 0 1rem;
            }
            
            .section {
                padding: 3rem 0;
            }
            
            header {
                padding: 0.1rem 0;
            }

            .ca-button {
                font-size: 0.85rem;
                padding: 0.9rem 1.5rem;
                letter-spacing: 0.5px;
            }
        }