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

:root {
    --primary-color: #f7c419;
    --bg-dark: #0a0a0a;
    --bg-dark-2: #141414;
    --bg-dark-3: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --gradient-1: linear-gradient(135deg, #f7c419 0%, #ffdb5c 100%);
    --gradient-2: linear-gradient(135deg, rgba(247, 196, 25, 0.1) 0%, rgba(247, 196, 25, 0) 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #000000;
    border-bottom: 1px solid rgba(247, 196, 25, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 20px;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(247, 196, 25, 0.5);
}

.nav {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
    width: 44px;
    height: 44px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(247, 196, 25, 0.1);
    transform: translateY(-2px);
}

.nav-link svg {
    width: 24px;
    height: 24px;
}

.nav-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(247, 196, 25, 0.15) 0%, rgba(10, 10, 10, 0) 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-snail {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-snail-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 60px rgba(247, 196, 25, 0.3));
}

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

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.title-ticker {
    font-family: 'Press Start 2P', cursive;
    font-size: 32px;
    color: var(--primary-color);
    text-shadow: 0 0 30px rgba(247, 196, 25, 0.5);
    letter-spacing: 2px;
}

.title-main {
    font-family: 'Press Start 2P', cursive;
    font-size: 32px;
    color: var(--text-primary);
    text-shadow: 0 0 40px rgba(247, 196, 25, 0.3);
    line-height: 1.2;
}

.hero-description {
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 2;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
}

.contract-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contract-label {
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contract-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(247, 196, 25, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 100%;
    max-width: 600px;
}

.contract-box:hover {
    background: rgba(247, 196, 25, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(247, 196, 25, 0.3);
}

.contract-box:active {
    transform: translateY(0);
}

.contract-address {
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    word-break: break-all;
    line-height: 1.6;
    flex: 1;
}

.copy-icon {
    flex-shrink: 0;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contract-box:hover .copy-icon {
    transform: scale(1.1);
}

.copy-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 16px 32px;
    border-radius: 12px;
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    box-shadow: 0 8px 32px rgba(247, 196, 25, 0.6);
    z-index: 10000;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.copy-toast.show {
    bottom: 40px !important;
}

/* Skeleton Loaders */
.skeleton-loader {
    display: inline-block;
    width: 100%;
    height: 14px;
    background: linear-gradient(90deg, rgba(247, 196, 25, 0.1) 25%, rgba(247, 196, 25, 0.2) 50%, rgba(247, 196, 25, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-loader-stat {
    display: inline-block;
    width: 80px;
    height: 24px;
    background: linear-gradient(90deg, rgba(247, 196, 25, 0.1) 25%, rgba(247, 196, 25, 0.2) 50%, rgba(247, 196, 25, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
    padding-top: 32px;
    border-top: 1px solid rgba(247, 196, 25, 0.2);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-family: 'Press Start 2P', cursive;
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-color);
}

.stat-label {
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Manifesto Section */
.manifesto {
    padding: 100px 0 120px 0;
    background: var(--bg-dark-2);
    position: relative;
    overflow: visible;
}

.manifesto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.manifesto-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.manifesto-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 60px;
    text-shadow: 0 0 30px rgba(247, 196, 25, 0.5);
}

.manifesto-intro {
    margin-bottom: 40px;
}

.manifesto-intro p {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 2;
}

.manifesto-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.manifesto-opening {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    color: var(--text-primary);
    line-height: 2;
    margin-bottom: 20px;
}

.manifesto-situations {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.manifesto-situations p {
    font-family: 'Press Start 2P', cursive;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 2;
}

.manifesto-feelings p {
    font-family: 'Press Start 2P', cursive;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 2;
}

.manifesto-good {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.manifesto-good p {
    font-family: 'Press Start 2P', cursive;
    font-size: 28px;
    color: var(--primary-color);
    line-height: 1.5;
}

.manifesto-cta {
    font-size: 36px !important;
    text-shadow: 0 0 40px rgba(247, 196, 25, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.manifesto-closing p {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    color: var(--primary-color);
    line-height: 2;
    margin-top: 20px;
}

/* Mobile adjustments for manifesto */
@media (max-width: 768px) {
    .manifesto {
        padding: 60px 0 100px 0;
    }

    .manifesto-title {
        font-size: 20px;
    }

    .manifesto-intro p {
        font-size: 11px;
    }

    .manifesto-opening {
        font-size: 12px;
    }

    .manifesto-situations p {
        font-size: 10px;
    }

    .manifesto-feelings p {
        font-size: 12px;
    }

    .manifesto-good p {
        font-size: 20px;
    }

    .manifesto-cta {
        font-size: 24px !important;
    }

    .manifesto-closing p {
        font-size: 11px;
    }
}

/* Footer */
.footer {
    background: #000000;
    padding: 60px 0 32px;
    border-top: 1px solid rgba(247, 196, 25, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
}

.footer-logo-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    font-family: 'Press Start 2P', cursive;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 10px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(247, 196, 25, 0.1);
}

.footer-bottom p {
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.8;
}

.disclaimer {
    font-family: 'Press Start 2P', cursive;
    font-size: 8px;
    opacity: 0.6;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 24px;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-snail {
        order: 1;
    }

    .hero-text {
        order: 2;
        text-align: center;
    }

    .hero-snail-img {
        max-width: 400px;
    }

    .title-ticker {
        font-size: 24px;
    }

    .title-main {
        font-size: 28px;
    }

    .hero-actions {
        display: flex;
        justify-content: center;
    }

    .contract-container {
        width: 100%;
        max-width: 500px;
    }

    .hero-stats {
        gap: 20px;
        justify-content: center;
    }

    .nav {
        gap: 8px;
    }

    .nav-link {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .nav-link svg {
        width: 20px;
        height: 20px;
    }

    .nav-icon-img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .header .container {
        padding: 16px 20px;
    }

    .logo-text {
        font-size: 14px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .hero {
        padding-top: 70px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-snail-img {
        max-width: 280px;
    }

    .title-ticker {
        font-size: 18px;
    }

    .title-main {
        font-size: 16px;
    }

    .hero-actions {
        margin-top: 20px;
    }

    .contract-label {
        font-size: 9px;
    }

    .contract-box {
        padding: 12px 16px;
        max-width: 100%;
    }

    .contract-address {
        font-size: 7px;
        letter-spacing: 0.3px;
    }

    .copy-icon {
        width: 16px;
        height: 16px;
    }

    .stat-value {
        font-size: 14px;
    }

    .stat-label {
        font-size: 7px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 40px;
        margin-top: 20px;
        padding-top: 20px;
    }

    .copy-toast {
        font-size: 9px;
        padding: 12px 20px;
        max-width: 90%;
        white-space: nowrap;
    }

    .copy-toast.show {
        bottom: 30px !important;
    }

    .nav {
        gap: 6px;
    }

    .nav-link {
        width: 36px;
        height: 36px;
    }

    .manifesto {
        padding: 60px 0 120px 0;
    }

    .manifesto-title {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .footer {
        padding: 40px 0 24px;
    }

    .footer-logo-text {
        font-size: 12px;
    }

    .footer-logo-img {
        width: 32px;
        height: 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .footer-link {
        font-size: 9px;
    }

    .footer-bottom p {
        font-size: 8px;
        line-height: 1.6;
    }

    .disclaimer {
        font-size: 7px;
    }
}

/* Crawling Snail Animation */
.crawling-snail {
    position: absolute;
    bottom: -30px;
    left: -150px;
    width: 60px;
    height: 60px;
    z-index: 10;
    pointer-events: none;
}

.crawling-snail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Different animation speeds for multiple snails - speeds: 10, 8, 7, 5 */
.crawling-snail.snail-1 {
    animation: crawl 10s linear infinite;
    bottom: -25px;
}

.crawling-snail.snail-2 {
    animation: crawl 8s linear infinite;
    animation-delay: -3s;
    bottom: -30px;
    width: 50px;
    height: 50px;
}

.crawling-snail.snail-3 {
    animation: crawl 7s linear infinite;
    animation-delay: -2s;
    bottom: -20px;
    width: 55px;
    height: 55px;
}

.crawling-snail.snail-4 {
    animation: crawl 5s linear infinite; /* Fastest! */
    animation-delay: -1s;
    bottom: -28px;
    width: 52px;
    height: 52px;
}

@keyframes crawl {
    0% {
        left: -150px;
    }
    100% {
        left: 100vw;
    }
}

/* Mobile adjustments for crawling snails */
@media (max-width: 640px) {
    .crawling-snail {
        width: 40px !important;
        height: 40px !important;
    }
    
    .crawling-snail.snail-1 {
        animation: crawlMobile 10s linear infinite;
    }
    
    .crawling-snail.snail-2 {
        animation: crawlMobile 8s linear infinite;
        animation-delay: -3s;
    }
    
    .crawling-snail.snail-3 {
        animation: crawlMobile 7s linear infinite;
        animation-delay: -2s;
    }
    
    .crawling-snail.snail-4 {
        animation: crawlMobile 5s linear infinite; /* Fastest */
        animation-delay: -1s;
    }
    
    @keyframes crawlMobile {
        0% {
            left: -100px;
        }
        100% {
            left: 100vw;
        }
    }
}

/* Links without a URL set in the admin panel stay hidden */
[hidden] {
    display: none !important;
}
