* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    overflow: hidden;
}

.content-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    text-shadow: 0 0 20px  white,
                 0 0 40px rgba(255, 255, 255, 0.5);
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
    animation-delay: 0.2s;
    margin: 0;
}

.contract-address {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #888;
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
    animation-delay: 0.5s;
    margin: 0;
    letter-spacing: 0.05rem;
}

.image-container {
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
}

.image-container:nth-child(1) {
    animation-delay: 0.5s;
}

.image-container:nth-child(2) {
    animation-delay: 1.5s;
}

.image-container img {
    max-width: 400px;
    max-height: 50vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.chart-container {
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
    animation-delay: 1.5s;
    position: relative;
}

.chart-container::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 68, 68, 0.1) 0%, transparent 70%);
    opacity: 0;
    animation: chartGlow 3s ease-in-out 2s forwards;
    pointer-events: none;
    border-radius: 12px;
}

.chart-svg {
    max-width: 600px;
    width: 50vw;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(100, 200, 255, 0.3));
}

.world-map-bg {
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
    animation-delay: 1.6s;
}

.coordinates {
    opacity: 0;
    animation: fadeIn 1.5s ease-in forwards;
    animation-delay: 2.2s;
}

.grid-lines {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 1.8s;
}

.grid-h, .grid-v {
    stroke-dasharray: 5, 5;
    animation: dashMove 20s linear infinite;
}

.tick-marks {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 2s;
}

.axis-arrow {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 2.3s;
}

.ship, .plane {
    opacity: 0;
    animation: vehicleAppear 1s ease-in forwards;
}

.ship-1 {
    animation-delay: 3s;
}

.ship-2 {
    animation-delay: 3.5s;
}

.plane-1 {
    animation-delay: 3.2s;
}

.plane-2 {
    animation-delay: 4.2s;
}

.axis-x, .axis-y {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawAxis 1.5s ease-out forwards;
    animation-delay: 1.8s;
}

.chart-line-shadow {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-out forwards;
    animation-delay: 2s;
}

.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-out forwards, linePulse 2s ease-in-out 5s infinite;
    animation-delay: 2s, 5s;
}

@keyframes vehicleAppear {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.axis-label {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

.x-axis-label {
    animation-delay: 2.5s;
}

.y-axis-label {
    animation-delay: 3s;
}

.track {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
    animation-delay: 3.5s;
}

.track-card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 2rem auto;
    max-width: 900px;
}

.links-label {
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.track-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 1rem;
}

.track-links img {
    width: clamp(40px, 10vw, 60px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.track-links img:hover {
    transform: scale(1.15) translateY(-4px);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawAxis {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes dashMove {
    to {
        stroke-dashoffset: 100;
    }
}

@keyframes linePulse {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(255, 68, 68, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(255, 68, 68, 1));
    }
}

@keyframes pointAppear {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes chartGlow {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.4;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
        padding: 0.5rem;
        gap: 1rem;
    }

    h1 {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
        letter-spacing: 0.1rem;
        text-align: center;
    }

    .contract-address {
        font-size: clamp(0.6rem, 3vw, 1rem);
        text-align: center;
        word-break: break-all;
        padding: 0 1rem;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 1rem;
        max-width: 100%;
    }

    .chart-container {
        width: 100%;
        order: 1;
    }

    .chart-svg {
        width: 95vw;
        max-width: 100%;
    }

    .image-container {
        width: 100%;
        order: 2;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .image-container img {
        max-width: 95vw;
        max-height: 40vh;
        margin: 0 auto;
    }

    .track {
        width: 100%;
    }

    .links-label {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .track-links {
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .track-links img {
        width: clamp(35px, 12vw, 50px);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.3rem;
        letter-spacing: 0.05rem;
    }

    .contract-address {
        font-size: 0.55rem;
        letter-spacing: 0;
    }

    .chart-svg {
        width: 98vw;
    }

    .image-container img {
        max-height: 30vh;
    }

    .track-links {
        gap: 1rem;
    }

    .track-links img {
        width: clamp(30px, 15vw, 45px);
    }
}
 