* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Navigation Buttons */
.nav-buttons {
    position: fixed;
    top: 55px;
    right: 30px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    z-index: 1000;
}

.nav-item {
    position: relative;
}

.nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #000000;
    backdrop-filter: blur(20px);
    border: 2px solid #ffffff;
    border-radius: 25px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 120px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-button:hover {
    background: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.testnet-btn {
    background: #000000;
    border-color: #ffffff;
    color: #ffffff;
    animation: float 3s ease-in-out infinite;
}

.testnet-btn:hover {
    background: #000000;
    border-color: #ffffff;
    animation-play-state: paused;
}

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

.new-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b6b;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Social Dropdown */
.social-btn {
    position: relative;
}

.dropdown-arrow {
    margin-left: 8px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.social-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid #000;
    border-radius: 12px;
    padding: 8px 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.social-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease;
}

.social-link:hover {
    background: rgba(0, 0, 0, 0.1);
}



/* Main Container */
.main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* Swap Container (Blur Card) */
.swap-container {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    padding: 45px 35px 35px 35px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    min-height: 450px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}





/* Coming Soon Content Styles */
.coming-soon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    gap: 20px;
    margin-top: 100px;
}

.coming-soon-heading {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-transform: lowercase;
}

.coming-soon-description {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    max-width: 400px;
    line-height: 1.5;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.email-subscription {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    max-width: 400px;
}

.email-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.email-input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.subscribe-button {
    padding: 12px 20px;
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}



/* Success Overlay Styles */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.success-overlay.show {
    display: flex;
    animation: overlayFadeIn 0.3s ease-out;
}

/* Success Checkmark Styles */
.success-checkmark {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: scale(0.5);
    animation: checkmarkPopIn 0.6s ease-out 0.2s forwards;
}

.success-checkmark.show {
    display: flex;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0px) !important;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
    animation: checkmarkBounce 0.6s ease-out 0.3s both;
    filter: blur(0px) !important;
}

.checkmark {
    color: white;
    font-size: 40px;
    font-weight: bold;
    animation: checkmarkAppear 0.4s ease-out 0.6s both;
    filter: blur(0px) !important;
}

.success-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    animation: textAppear 0.4s ease-out 0.8s both;
    filter: blur(0px) !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Checkmark Animations */
@keyframes overlayFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes checkmarkPopIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes checkmarkAppear {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textAppear {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Blur Effect */
.swap-container.blurred {
    filter: blur(3px);
    transition: filter 0.5s ease;
}

.swap-container:not(.blurred) {
    filter: blur(0px);
    transition: filter 0.5s ease;
}

.logo-container {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    pointer-events: none;
    user-select: none;
}

.logo {
    width: 150px;
    height: auto;
    display: block;
}

.coming-soon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    z-index: 100;
    pointer-events: none;
    user-select: none;
    filter: blur(0px);
    text-shadow: 
        0 0 8px rgba(0, 0, 0, 0.6),
        0 0 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: 
        fadeInUp 1.5s ease-out forwards,
        blink 3.5s ease-in-out infinite;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate(-50%, -30%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}







/* Responsive Design */
@media (max-width: 768px) {
    .nav-buttons {
        top: 20px;
        left: 60px;
        right: 20px;
        gap: 10px;
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .nav-button {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 100px;
    }
    
    .swap-container {
        padding: 40px 20px;
        margin: 20px;
        max-width: 500px;
    }
    
    .email-subscription {
        flex-direction: column;
        gap: 15px;
    }
    
    .email-input {
        width: 100%;
    }
    
    .subscribe-button {
        width: 100%;
    }
    
    .logo-container {
        top: 25%;
    }
}

@media (max-width: 480px) {
    .nav-buttons {
        top: 15px;
        left: 45px;
        right: 15px;
        gap: 8px;
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .nav-button {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 80px;
    }
    
    .email-subscription {
        flex-direction: column;
        gap: 12px;
    }
    
    .email-input {
        width: 100%;
    }
    
    .subscribe-button {
        width: 100%;
    }
    
    .logo-container {
        top: 22%;
    }
}
