:root {
    --primary-teal: #006994;
    --primary-turquoise: #40E0D0;
    --accent-gold: #FFD700;
    --surface-white: #FFFFFF;
    --surface-off-white: #F5F9FA;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --font-display: 'Pirata One', system-ui;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, var(--surface-off-white) 0%, #E0F2F1 100%);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
.logo {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2,
h3 {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.logo {
    font-size: 2rem;
    color: var(--primary-teal);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a:not(.btn-nav) {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:not(.btn-nav):hover {
    color: var(--primary-turquoise);
}

.btn-nav {
    background: var(--primary-teal);
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.btn-nav:hover {
    background: var(--primary-turquoise);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 10%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(64, 224, 208, 0.1), transparent 40%);
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--primary-teal);
    background: linear-gradient(to right, var(--primary-teal), var(--primary-turquoise));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glitch {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.ca-container {
    margin-bottom: 2.5rem;
}

.ca-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ca-box {
    display: inline-flex;
    align-items: center;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    gap: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.ca-box:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-turquoise);
    transform: translateY(-2px);
}

#ca-text {
    font-family: 'Outfit', monospace;
    color: var(--primary-teal);
    font-size: 1.1rem;
    font-weight: 600;
}

#copy-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
}

#copy-btn:hover {
    color: var(--primary-teal);
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-teal);
    color: white;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

.btn-primary:hover {
    background: var(--primary-turquoise);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-image {
    position: relative;
    z-index: 1;
}

.image-frame {
    width: 450px;
    height: 450px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(3deg);
    transition: transform 0.5s ease;
    background: white;
    border: 8px solid white;
}

.image-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section {
    padding: 8rem 10%;
    position: relative;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-teal);
    font-family: var(--font-display);
    position: relative;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: var(--accent-gold);
    margin: 10px auto 0;
    border-radius: 2px;
}

.about,
.roadmap {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23006994' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.wave-divider {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-top {
    top: -1px;
    transform: rotate(180deg);
}

.wave-bottom {
    bottom: -1px;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: var(--surface-off-white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 2rem;
}

.about-content strong {
    color: var(--primary-teal);
}

.tokenomics {
    background: var(--surface-off-white);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.6s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(64, 224, 208, 0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 105, 148, 0.3);
    border-color: var(--primary-turquoise);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.card p {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
    position: relative;
}

.card .detail {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.stats {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-turquoise) 100%);
    color: white;
    padding: 6rem 10%;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    opacity: 0;
    transform: scale(0.8);
    animation: statPop 0.6s ease-out forwards;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

@keyframes statPop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: rgba(0, 105, 148, 0.1);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 50px;
    position: relative;
    background-color: inherit;
    width: 50%;
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.6s ease-out forwards;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px;
    background-color: white;
    border: 4px solid var(--primary-teal);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(0, 105, 148, 0.1);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -12px;
}

.timeline-item .content {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.timeline-item:hover .content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-item h3 {
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.timeline-item p {
    color: var(--text-muted);
}

.buy {
    background: var(--surface-off-white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.step {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.6s ease-out forwards;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23006994' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: -15px;
    right: 10px;
    font-size: 6rem;
    font-weight: 800;
    color: rgba(64, 224, 208, 0.1);
    font-family: var(--font-body);
    line-height: 1;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
}

.step p {
    color: var(--text-muted);
    position: relative;
}

.footer {
    padding: 4rem 10%;
    background: var(--primary-teal);
    color: white;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.socials {
    display: flex;
    gap: 2rem;
}

.socials a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.socials a:hover {
    color: white;
    transform: translateY(-2px);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(64, 224, 208, 0.2);
    border-radius: 50%;
    animation: floatUp 15s infinite linear;
}

.b1 {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
}

.b2 {
    width: 120px;
    height: 120px;
    left: 30%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.b3 {
    width: 50px;
    height: 50px;
    left: 60%;
    animation-duration: 10s;
    animation-delay: 5s;
}

.b4 {
    width: 90px;
    height: 90px;
    left: 80%;
    animation-duration: 14s;
    animation-delay: 1s;
}

.b5 {
    width: 60px;
    height: 60px;
    left: 45%;
    animation-duration: 16s;
    animation-delay: 8s;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-120vh) rotate(360deg);
        opacity: 0;
    }
}

.treasure-coins {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.coin {
    position: absolute;
    top: -50px;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 30%, var(--accent-gold), #B8860B);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), inset -5px -5px 10px rgba(0, 0, 0, 0.2);
    animation: coinFall 8s infinite ease-in;
}

.coin::before {
    content: '$';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
    color: #8B4513;
}

@keyframes coinFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0;
    }
}

.marquee-container {
    background: var(--primary-teal);
    color: white;
    padding: 1.5rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    border-top: 4px solid var(--accent-gold);
    border-bottom: 4px solid var(--accent-gold);
}

.marquee {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee span {
    font-family: var(--font-display);
    font-size: 2rem;
    margin: 0 3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.3s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.5s;
}

.step:nth-child(1) {
    animation-delay: 0.1s;
}

.step:nth-child(2) {
    animation-delay: 0.2s;
}

.step:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 10px 15px -3px rgba(0, 105, 148, 0.3);
    }

    50% {
        box-shadow: 0 10px 25px -3px rgba(0, 105, 148, 0.6), 0 0 20px rgba(64, 224, 208, 0.4);
    }
}

@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-image {
        margin-top: 4rem;
    }

    .image-frame {
        width: 300px;
        height: 300px;
    }

    .cta-group {
        justify-content: center;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .left::after,
    .right::after {
        left: 19px;
    }

    .right {
        left: 0%;
    }

    .nav-links {
        display: none;
    }
}