:root {
    --bg-primary: #0f0e0b;
    --accent: #d5fad3;
    --text-primary: #f9f9f0;
    --text-secondary: rgba(249, 249, 240, 0.7);
    --card-bg: rgba(249, 249, 240, 0.05);
    --card-border: rgba(213, 250, 211, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.accent {
    color: var(--accent);
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease-in-out 2s forwards;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 30px;
    animation: pulse 1.5s ease-in-out infinite;
    letter-spacing: 8px;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(213, 250, 211, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* =========================================
   NAVIGATION
   ========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 14, 11, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    padding: 20px 0;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    color: var(--accent);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   HERO SECTION
   ========================================= */

.hero {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: -80px;
    left: -80px;
    right: -80px;
    bottom: -80px;
    width: auto;
    height: auto;
    background: 
        radial-gradient(circle at 20% 30%, rgba(213, 250, 211, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(213, 250, 211, 0.03) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(30px, -30px);
    }
    66% {
        transform: translate(-20px, 20px);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-title span {
    display: block;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-right {
    animation: fadeInRight 0.8s ease-out 0.3s backwards;
}

.twitter-embed {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.twitter-embed::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, var(--accent), transparent);
    border-radius: 20px;
    opacity: 0;
    animation: borderGlow 3s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 0.6s ease-out 0.2s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.6s ease-out 0.4s backwards;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 0.6s ease-out 0.6s backwards;
}

.animate-fade-in-delay-4 {
    animation: fadeIn 0.6s ease-out 0.8s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;

}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 10px 30px rgba(213, 250, 211, 0.2);
}

.btn-secondary {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(213, 250, 211, 0.2);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.legal-page {
    padding: 150px 0 100px;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-intro {
    text-align: center;
    margin-bottom: 60px;
}

.legal-meta {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 15px;
}

.legal-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
}

.legal-card h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.legal-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.legal-card ul {
    margin-left: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-card li {
    margin-bottom: 12px;
}

.legal-highlight {
    background: rgba(213, 250, 211, 0.05);
    border-left: 3px solid var(--accent);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.wallets-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(213, 250, 211, 0.02) 50%, transparent 100%);
}

.wallets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.wallet-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
    position: relative;align-self: start;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.wallet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(213, 250, 211, 0.1), transparent);
    transition: var(--transition);
}

.wallet-card:hover::before {
    left: 100%;
}

.wallet-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(213, 250, 211, 0.1);
}

.wallet-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.icon-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), rgba(213, 250, 211, 0.5));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--bg-primary);
}

.wallet-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--accent);
}

.wallet-type {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wallet-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.wallet-features,
.wallet-benefits {
    margin-bottom: 30px;
}

.wallet-features h4,
.wallet-benefits h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.wallet-features ul,
.wallet-benefits ul {
    list-style: none;
}

.wallet-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 15px;
}

.wallet-benefits li {
    padding: 12px 0;
    color: var(--text-secondary);
}

.wallet-benefits strong {
    color: var(--accent);
}

.wallet-btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.dex-section {
    padding: 100px 0;
}

.dex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.dex-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.dex-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(213, 250, 211, 0.1);
}

.dex-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(213, 250, 211, 0.1), rgba(213, 250, 211, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.dex-image::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(213, 250, 211, 0.1), transparent);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.image-placeholder {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    z-index: 1;
}

.dex-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dex-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.dex-category {
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.dex-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex: 1;
}

.dex-info {
    background: rgba(213, 250, 211, 0.05);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.dex-info p {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.dex-info p:last-child {
    margin-bottom: 0;
}

.dex-info strong {
    color: var(--accent);
}

.footer {
    background: rgba(249, 249, 240, 0.02);
    border-top: 1px solid var(--card-border);
    padding: 80px 0 30px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact li {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--card-border);
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--accent);
}

.footer-seo {
    margin-top: 20px;
}

.footer-seo-text {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-seo-text strong {
    color: var(--accent);
}

@media (max-width: 968px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 15px);
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: rgba(15, 14, 11, 0.98);
        border: 1px solid var(--card-border);
        border-radius: 16px;
        padding: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 12px 0;
    }
    
    .navbar .container {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .dex-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
    }

    .legal-page {
        padding: 120px 0 60px;
    }

    .legal-card {
        padding: 30px;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(213, 250, 211, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(213, 250, 211, 0.4);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.wallet-icon img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .wallets-grid {
        grid-template-columns: 1fr;
    }
}