/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Space Grotesk', 'Nunito', sans-serif;
    background: url('background.jpg') no-repeat center top;
    background-size: cover;
    background-attachment: fixed;
    color: #000000;
    line-height: 1.6;
    touch-action: manipulation;
    -webkit-overflow-scrolling: touch;
}

/* Liquid Glass Effect - iOS Style */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    background: linear-gradient(to bottom, rgba(204, 255, 0, 0.95), transparent);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-wrapper:hover {
    transform: scale(1.05);
}

.logo-glass {
    padding: 3px 12px 2px 12px;
    display: inline-block;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.logo-glass:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.logo {
    width: 80px;
    object-fit: contain;
    pointer-events: none;
}

.buy-button {
    padding: 12px 28px;
    background: #000000;
    color: #CCFF00;
    border: 2px solid #000000;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.buy-button:hover {
    background: transparent;
    color: #000000;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px 60px;
    text-align: center;
}

.hero-inner {
    max-width: 900px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
    color: #000000;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 400;
    margin-bottom: 48px;
    color: #000000;
    opacity: 0.85;
}

.cta-button {
    padding: 18px 42px;
    background: #000000;
    color: #CCFF00;
    border: 2px solid #000000;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background: transparent;
    color: #000000;
    transform: translateY(-3px);
}

/* Section Styles */
section {
    padding: 30px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #000000;
    letter-spacing: -0.02em;
}

/* Lore Section */
.lore {
    padding: 50px 40px;
}

.lore-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.x-embed {
    border-radius: 20px;
    overflow: hidden;
}

.twitter-tweet {
    margin: 0 auto !important;
}

/* Story Section */
.story {
    padding: 50px 40px;
}

.story-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: start;
}

.story-twitter {
    position: sticky;
    top: 100px;
    max-width: 350px;
}

.x-embed {
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.85);
    transform-origin: top left;
}

.twitter-tweet {
    margin: 0 auto !important;
}

.story-content {
    color: #000000;
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-content p {
    margin-bottom: 16px;
}

.story-content .mission {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-top: 30px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
    border-radius: 20px;
}

/* Token Section */
.token {
    padding: 50px 40px;
}

.token-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.token-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.stat {
    padding: 40px 30px;
    text-align: center;
    color: #000000;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-8px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #000000;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000000;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
}

.contract {
    padding: 24px;
    margin-bottom: 30px;
    color: #000000;
}

.contract-label {
    font-size: 1rem;
    margin-bottom: 16px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000000;
}

.contract-wrapper {
    display: flex;
    gap: 12px;
}

.contract-input {
    flex: 1;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    color: #000000;
    font-family: 'Space Grotesk', monospace;
    font-size: 14px;
    outline: none;
}

.contract-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.copy-button {
    padding: 16px 24px;
    background: #000000;
    border: 2px solid #000000;
    border-radius: 12px;
    color: #CCFF00;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-button:hover {
    background: transparent;
    color: #000000;
}

.partners {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    color: #000000;
    font-weight: 500;
}

.partner-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* Community Section */
.community {
    padding: 50px 40px;
}

.community-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.community-text {
    font-size: 1.25rem;
    margin-bottom: 36px;
    color: #000000;
    line-height: 1.8;
}

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

.social-link {
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 50px;
    min-width: 220px;
    justify-content: center;
    border: 2px solid transparent;
}

.social-link:hover {
    transform: translateY(-5px);
    background: transparent;
    border: 2px solid #000000;
}

.social-link i {
    font-size: 1.6rem;
}

/* Mission Log Section */
.mission-log {
    padding: 80px 40px;
}

.mission-log-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #000000;
}

.mission-log-subtitle {
    font-size: 1.3rem;
    margin-bottom: 60px;
    font-weight: 400;
    opacity: 0.8;
}

.mission-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.phase {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    position: relative;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideIn 0.8s ease forwards;
}

.phase-1 {
    animation-delay: 0.2s;
}

.phase-2 {
    animation-delay: 0.4s;
}

.phase-3 {
    animation-delay: 0.6s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.phase-marker {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phase-icon {
    width: 80px;
    height: 80px;
    background: #000000;
    color: #CCFF00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.phase:hover .phase-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.phase-line {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 60px;
    background: linear-gradient(to bottom, #000000, transparent);
    border-radius: 2px;
    overflow: hidden;
}

.phase-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: #CCFF00;
    animation: lineFlow 2s ease-in-out infinite;
}

@keyframes lineFlow {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(300%);
        opacity: 0;
    }
}

.phase-content {
    flex: 1;
    padding: 40px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: left;
}

.phase:hover .phase-content {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.1);
}

.phase-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: #000000;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.phase-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.phase-tasks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.phase-tasks li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    font-size: 1.1rem;
    color: #000000;
    line-height: 1.6;
    opacity: 0.9;
}

.phase-tasks li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #CCFF00;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Footer */
.footer {
    padding: 60px 40px;
    text-align: center;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.disclaimer {
    padding: 30px 24px;
    color: #FFFFFF;
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: left;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.disclaimer-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.footer-build {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
}

.footer-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.footer-inner p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.7;
}

.disclaimer p {
    margin: 0;
}

/* Notification */
.notification {
    position: fixed !important;
    top: 120px;
    right: 20px;
    z-index: 99999;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateX(20px) !important;
    pointer-events: none;
    -webkit-transform: translateX(20px) !important;
}

.notification.show {
    opacity: 1;
    transform: translateX(0) !important;
    -webkit-transform: translateX(0) !important;
    pointer-events: auto;
}

.notification-content {
    padding: 28px 32px;
    max-width: 400px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #FFFFFF;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.notification-icon {
    font-size: 1.6rem;
    color: #CCFF00;
    flex-shrink: 0;
}

.notification-text p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #FFFFFF;
}

.notification-text p:last-child {
    margin-bottom: 0;
}

.inline-logo {
    height: 18px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    display: inline-block;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for multiple elements */
.scroll-reveal:nth-child(1) {
    transition-delay: 0ms;
}

.scroll-reveal:nth-child(2) {
    transition-delay: 100ms;
}

.scroll-reveal:nth-child(3) {
    transition-delay: 200ms;
}

.scroll-reveal:nth-child(4) {
    transition-delay: 300ms;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        padding: 15px 20px;
    }
    
    .buy-button {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .buy-button i {
        margin: 0;
    }
    
    .hero {
        padding: 200px 50px 30px;
        min-height: 60vh;
    }
    
    section {
        padding: 15px 50px;
    }
    
    .section-title {
        margin-bottom: 15px;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .story-twitter {
        position: static;
        max-width: 100%;
        margin-bottom: -100px;
    }
    
    .x-embed {
        transform: scale(0.7);
        transform-origin: top center;
    }
    
    .lore-inner,
    .story-inner,
    .mission-inner {
        padding: 0;
    }
    
    .story-content {
        font-size: 1rem;
    }
    
    .story-content p {
        margin-bottom: 16px;
    }
    
    .story-content .mission {
        padding: 20px 16px;
        font-size: 1.1rem;
    }
    
    .token-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .mission-steps {
        grid-template-columns: 1fr;
    }
    
    .stat {
        padding: 20px 16px;
    }
    
    .stat-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .stat-label {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .contract {
        padding: 20px 16px;
        margin-bottom: 24px;
    }
    
    .contract-label {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .contract-wrapper {
        flex-direction: row;
        gap: 8px;
    }
    
    .contract-input {
        font-size: 0.85rem;
        padding: 12px 16px;
    }
    
    .copy-button {
        width: auto;
        padding: 12px 16px;
    }
    
    .partners {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .social-link {
        width: 100%;
        max-width: 320px;
    }
    
    .mission-inner {
        padding: 0;
    }
    
    .mission-log {
        padding: 40px 20px;
    }
    
    .mission-log-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .mission-timeline {
        gap: 30px;
    }
    
    .phase {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }
    
    .phase-marker {
        width: 100%;
    }
    
    .phase-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .phase-line {
        height: 40px;
    }
    
    .phase-content {
        padding: 24px 20px;
        text-align: center;
        width: 100%;
    }
    
    .phase-title {
        font-size: 1.4rem;
        margin-bottom: 16px;
    }
    
    .phase-tasks li {
        font-size: 1rem;
        padding: 10px 0;
        padding-left: 24px;
    }
    
    .step {
        padding: 24px 20px;
    }
    
    .notification {
        top: 100px;
        bottom: auto;
        right: 20px;
        left: auto;
        max-width: 300px;
        z-index: 9999;
    }
    
    .notification-content {
        max-width: none;
    }
    
    .footer {
        padding: 30px 20px;
    }
    
    .disclaimer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .story-text,
    .community-text {
        font-size: 1.05rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .mission-inner p {
        font-size: 1.3rem;
    }
}

/* Disable bump effect for all browsers including iOS Safari */
* {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

button, a, input {
    -webkit-tap-highlight-color: transparent;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hide scrollbar but keep functionality */
body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}
