* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #0B132B 0%, #1C2541 100%);
    color: #EDEDED;
    overflow-x: hidden;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Navigation */
nav {
    background: rgba(11, 19, 43, 0.95);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #F4B942;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.nav-logo-text {
    font-size: 22px;
    font-weight: bold;
    color: #EDEDED;
    text-shadow: 0 0 15px rgba(244, 185, 66, 0.5);
}

.nav-center {
    display: flex;
    gap: 8px;
    list-style: none;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-center a {
    color: #EDEDED;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 8px;
}

.nav-center a:hover {
    color: #F4B942;
    background: rgba(244, 185, 66, 0.1);
}

.nav-right {
    display: flex;
    gap: 10px;
}

.wallet-connect-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #F4B942 0%, #E09F3E 100%);
    color: #0B132B;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 185, 66, 0.3);
}

.wallet-connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 185, 66, 0.5);
}

.wallet-connect-btn.connected {
    background: linear-gradient(135deg, #3EC1D3 0%, #2A9DAD 100%);
    color: white;
}

.wallet-icon {
    font-size: 18px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    color: #0B132B;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #0B132B;
    color: #F4B942;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: rgba(11, 19, 43, 0.15);
    border: none;
    color: #F4B942;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 40px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.hero-content {
    padding-right: 20px;
    margin-top: 100px;
}

.hero-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #F4B942;
    text-shadow: 0 0 30px rgba(244, 185, 66, 0.6);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    color: #3EC1D3;
    font-weight: 600;
}

.hero-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.hero-feature-icon {
    font-size: 20px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.cta-btn {
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.cta-primary {
    background: linear-gradient(135deg, #F4B942 0%, #d89a2a 100%);
    color: #0B132B;
    box-shadow: 0 5px 15px rgba(244, 185, 66, 0.3);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 185, 66, 0.5);
}

.cta-secondary {
    background: transparent;
    color: #3EC1D3;
    border: 2px solid #3EC1D3;
}

.cta-secondary:hover {
    background: rgba(62, 193, 211, 0.1);
    transform: translateY(-3px);
}

/* Presale Widget - FIXED SIZING */
.presale-widget {
    background: rgba(31, 40, 51, 0.95);
    border: 3px solid #F4B942;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 40px rgba(244, 185, 66, 0.3);
    animation: glow-pulse 2s infinite;
    max-width: 450px;
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 40px rgba(244, 185, 66, 0.3);
    }

    50% {
        box-shadow: 0 0 60px rgba(244, 185, 66, 0.6);
    }
}

.widget-title {
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #F4B942;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.widget-title img {
    height: 35px;
}

.countdown-container {
    background: rgba(11, 19, 43, 0.8);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid #3EC1D3;
}

.countdown-title {
    font-size: 14px;
    color: #3EC1D3;
    margin-bottom: 12px;
    text-align: center;
    font-weight: bold;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-size: 26px;
    color: #F4B942;
    font-weight: bold;
}

.countdown-label {
    font-size: 10px;
    color: #3EC1D3;
    margin-top: 4px;
    text-transform: uppercase;
}

.currency-selection {
    margin-bottom: 20px;
}

.currency-label {
    font-size: 13px;
    color: #3EC1D3;
    margin-bottom: 10px;
    font-weight: 600;
}

.currency-buttons {
    display: flex;
    gap: 8px;
}

.currency-btn {
    flex: 1;
    padding: 10px;
    border: 2px solid #3EC1D3;
    background: rgba(11, 19, 43, 0.5);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #EDEDED;
    font-size: 13px;
}

.currency-btn:hover {
    border-color: #F4B942;
    transform: translateY(-2px);
}

.currency-btn.active {
    background: linear-gradient(135deg, #F4B942, #d89a2a);
    color: #0B132B;
    border-color: #F4B942;
}

.input-group {
    margin-bottom: 15px;
}

.input-label {
    font-size: 13px;
    color: #3EC1D3;
    margin-bottom: 8px;
    font-weight: 600;
    display: block;
}

.input-container {
    position: relative;
}

.input-field {
    width: 100%;
    padding: 12px 50px 12px 12px;
    border: 2px solid #3EC1D3;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: rgba(11, 19, 43, 0.5);
    color: #EDEDED;
}

.input-field:focus {
    outline: none;
    border-color: #F4B942;
    background: rgba(11, 19, 43, 0.7);
}

.currency-suffix {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #F4B942;
    font-weight: 700;
    font-size: 13px;
}

.buy-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #F4B942 0%, #E09F3E 100%);
    color: #0B132B;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(244, 185, 66, 0.5);
}

.buy-button.connected {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

.buy-button.connected:hover {
    box-shadow: 0 10px 20px rgba(72, 187, 120, 0.3);
}

.warning {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid #ff6b6b;
    margin-bottom: 15px;
}

.presale-address-box {
    margin: 20px 0;
}

.address-label {
    font-size: 13px;
    color: #3EC1D3;
    margin-bottom: 8px;
    font-weight: 600;
}

.presale-address {
    background: rgba(11, 19, 43, 0.8);
    padding: 12px;
    border-radius: 10px;
    word-break: break-all;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: #F4B942;
    border: 2px solid #3EC1D3;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-btn {
    flex: 1;
    background: linear-gradient(135deg, #3EC1D3 0%, #2a9aa8 100%);
    color: #0B132B;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s;
    font-size: 13px;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(62, 193, 211, 0.4);
}

/* About Section */
#about {
    display: flex;
    justify-content: center;
    padding: 60px 0;
}

.about-container {
    background-image: url('./images/about.png');
    background-size: cover;
    background-position: center;
    padding: 50px 35px;
    border-radius: 15px;
    border: 3px solid #F4B942;
    position: relative;
    max-width: 1200px;
}

.about-container::before {
    content: "";
    background-color: rgba(0, 0, 0, 0.404);
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    position: absolute;
    border-radius: 12px;
    z-index: 1;
}

.about-container>* {
    position: relative;
    z-index: 2;
}

.section {
    padding: 60px 0;
    position: relative;
}

.sections {
    padding: 0px 0;
    position: relative;

}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 35px;
    color: #F4B942;
    text-shadow: 0 0 20px rgba(244, 185, 66, 0.5);
}

.lore-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    text-align: center;
}

.features {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.feature-card {
    background: rgba(31, 40, 51, 0.9);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    border: 2px solid #3EC1D3;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(62, 193, 211, 0.3);
}

.feature-card h3 {
    color: #3EC1D3;
    margin-bottom: 12px;
    font-size: 20px;
}

/* Tokenomics Section */
.tokenomics-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 35px;
}

.tokenomics-card {
    background: rgba(31, 40, 51, 0.9);
    padding: 10px;
    max-width: 30%;
    width: auto;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #F4B942;
    transition: all 0.3s;
}

.tokenomics-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(244, 185, 66, 0.4);
}

.tokenomics-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.tokenomics-card h3 {
    color: #F4B942;
    font-size: 22px;
    margin-bottom: 10px;
}

.tokenomics-card p {
    color: #EDEDED;
    font-size: 16px;
    line-height: 1.6;
}

/* Slider Container */
.slider-container {
    position: relative;
    flex: 1 50%;
    max-width: 50%;
    margin: 20px auto;
    overflow: hidden;
    padding: 0 60px;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    padding: 0 10px;
}

/* Roadmap Slide Card with Glow */
.roadmap-container {
    display: flex;
    max-width: 100%;
    width: auto;

}

.roadmap-img {
    display: flex;
    flex: 1 50%;
    max-width: 50%;
    justify-content: center;
}

.roadmap-img img {
    width: 60%;
    height: auto;
    border-radius: 20px;
    border: 3px solid #F4B942;
    box-shadow: 0 0 40px rgba(244, 185, 66, 0.3);
}

.roadmap-card {
    background: rgba(31, 40, 51, 0.9);
    padding: 35px;
    height: 100%;
    border-radius: 15px;
    border: 3px solid #F4B942;
    position: relative;
    box-shadow: 0 0 20px rgba(244, 185, 66, 0.3);
    transition: all 0.3s;
}

.roadmap-card:hover {
    box-shadow: 0 0 40px rgba(244, 185, 66, 0.6);
    transform: translateY(-5px);
}

.roadmap-card h3 {
    color: #F4B942;
    font-size: 26px;
    margin-bottom: 20px;
}

.roadmap-card ul {
    list-style: none;
    padding-left: 0;
}

.roadmap-card li {
    margin: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
}

.roadmap-card li:before {
    content: "🗻";
    position: absolute;
    left: 0;
}

/* How to Buy Card */
.howto-container {
    display: flex;
    max-width: 100%;

}

.howto-img {
    order: 2;
    display: flex;
    flex: 1 50%;
    max-width: 50%;
    justify-content: center;
}

.howto-img img {
    width: 60%;
    height: auto;
    border-radius: 20px;
    border: 3px solid #F4B942;
    box-shadow: 0 0 40px rgba(244, 185, 66, 0.3);
}

.howto-card {
    background: rgba(31, 40, 51, 0.9);
    padding: 35px;
    border-radius: 15px;
    border: 3px solid #3EC1D3;
    box-shadow: 0 0 20px rgba(62, 193, 211, 0.3);
    transition: all 0.3s;
    height: 50vh;
}

.howto-card:hover {
    box-shadow: 0 0 40px rgba(62, 193, 211, 0.6);
    transform: translateY(-5px);
}

.howto-card h3 {
    color: #3EC1D3;
    font-size: 26px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.howto-step-number {
    background: linear-gradient(135deg, #F4B942, #d89a2a);
    color: #0B132B;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    flex-shrink: 0;
}

.howto-card p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.howto-card strong {
    color: #F4B942;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    background: linear-gradient(135deg, #F4B942, #d89a2a);
    color: #0B132B;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.slider-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(244, 185, 66, 0.5);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(244, 185, 66, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #F4B942;
    transform: scale(1.3);
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(31, 40, 51, 0.9);
    margin-bottom: 15px;
    border-radius: 15px;
    border: 2px solid #3EC1D3;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    color: #F4B942;
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(244, 185, 66, 0.1);
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
    font-size: 15px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

.community {
    text-align: center;
    background: rgba(31, 40, 51, 0.8);
    padding: 50px 35px;
    border-radius: 20px;
    margin: 35px auto;
    max-width: 900px;
}

.community-emoji img {
    height: 150px;
    margin-bottom: 15px;
}

.motto {
    font-size: 24px;
    font-style: italic;
    color: #3EC1D3;
    margin: 25px 0;
}

footer {
    text-align: center;
    padding: 35px 0;
    background: rgba(11, 19, 43, 0.9);
    margin-top: 60px;
}

.constellation-logo img {
    height: 40px;
    margin-bottom: 15px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .presale-widget {
        max-width: 100%;
    }

    .nav-center {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 19, 43, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }

    .nav-center.active {
        display: flex;
    }

    .nav-right {
        .wallet-connect-btn {
            display: flex;
            margin-bottom: 10px;
        }

        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .slider-container {
        padding: 0 50px;
    }

    .tokenomics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {

    .hero-content {
        margin-top: 0px;
        text-align: center;
        align-items: center;
    }
    .cta-buttons {
        justify-content: center;
    }
    .tokenomics-grid {
        display: block;
    }

    .tokenomics-card {
        max-width: 100%;
        width: auto;
        margin-bottom: 30px;
    }

    .roadmap-container,
    .howto-container {
        display: block;
        margin: 0;

    }

    .slider-container {
        flex: 1 90%;
        padding: 0 0px;
        max-width: 90%;
    }

    .roadmap-card {
        margin: 0;
        padding: 0;

    }

    .roadmap-container img,
    .howto-container img {
        display: none;
        margin: 0;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .roadmap-card,
    .howto-card {
        padding: 25px;
    }
}

/* Wallet Connection Styles */
.connect-wallet-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #3EC1D3 0%, #F4B942 100%);
    color: #1C2541;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(62, 193, 211, 0.3);
}

.connect-wallet-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(62, 193, 211, 0.4);
}

.wallet-info {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
}

.wallet-address {
    font-size: 14px;
    color: #3EC1D3;
    margin-bottom: 10px;
    word-break: break-all;
}

.disconnect-button {
    padding: 8px 16px;
    background: rgba(244, 185, 66, 0.2);
    color: #F4B942;
    border: 1px solid #F4B942;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.disconnect-button:hover {
    background: rgba(244, 185, 66, 0.3);
}

/* Hide USDC option since we're only supporting SOL and USDT */
.currency-btn[data-currency="USDC"] {
    display: none;
}

/* Responsive wallet styles */
@media (max-width: 768px) {
    .wallet-address {
        font-size: 12px;
    }

    .connect-wallet-button,
    .buy-button {
        font-size: 16px;
        padding: 16px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #1C2541 0%, #0B132B 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(244, 185, 66, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #F4B942;
}

.modal-content p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #EDEDED;
    opacity: 0.9;
}

/* Loading Modal */
.modal-loading {
    padding: 50px 40px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(244, 185, 66, 0.3);
    border-top: 5px solid #F4B942;
    border-radius: 50%;
    margin: 0 auto 25px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Success Modal */
.modal-success .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3EC1D3 0%, #2A9DAD 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: white;
    margin: 0 auto 25px;
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.tx-link {
    margin-top: 20px;
    padding: 15px;
    background: rgba(244, 185, 66, 0.1);
    border-radius: 10px;
    font-size: 14px;
}

.tx-link a {
    color: #3EC1D3;
    text-decoration: none;
    font-weight: bold;
}

.tx-link a:hover {
    color: #F4B942;
    text-decoration: underline;
}

/* Error Modal */
.modal-error .error-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF4757 0%, #E03E4A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: white;
    margin: 0 auto 25px;
    animation: errorShake 0.5s ease;
}

@keyframes errorShake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

/* Modal Button */
.modal-btn {
    background: linear-gradient(135deg, #F4B942 0%, #E09F3E 100%);
    color: #0B132B;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 185, 66, 0.5);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .modal-content h3 {
        font-size: 24px;
    }

    .success-icon,
    .error-icon {
        width: 60px;
        height: 60px;
        font-size: 40px;
    }
}
/* ===== ENHANCED MOBILE NAVIGATION STYLING ===== */

/* Enhanced Mobile Menu Button - Override */
@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: block !important;
        background: linear-gradient(135deg, rgba(244, 185, 66, 0.1) 0%, rgba(62, 193, 211, 0.1) 100%) !important;
        border: 2px solid rgba(244, 185, 66, 0.4) !important;
        color: #F4B942 !important;
        font-size: 28px !important;
        cursor: pointer;
        padding: 12px 16px !important;
        border-radius: 12px !important;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(244, 185, 66, 0.2);
        z-index: 10000;
    }

    .mobile-menu-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(244, 185, 66, 0.3), transparent);
        transition: left 0.6s;
    }

    .mobile-menu-btn:hover::before {
        left: 100%;
    }

    .mobile-menu-btn:hover {
        background: linear-gradient(135deg, rgba(244, 185, 66, 0.2) 0%, rgba(62, 193, 211, 0.2) 100%) !important;
        border-color: #F4B942 !important;
        transform: scale(1.08);
        box-shadow: 0 6px 25px rgba(244, 185, 66, 0.4);
        text-shadow: 0 0 10px rgba(244, 185, 66, 0.8);
    }

    /* Hamburger to X transformation */
    .mobile-menu-btn {
        font-size: 0 !important; /* Hide the original hamburger text */
        width: 50px;
        height: 50px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
    }

    /* Create hamburger lines */
    .mobile-menu-btn::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: #F4B942;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 
            0 -8px 0 #F4B942,
            0 8px 0 #F4B942;
    }

    /* Transform to X when menu is active */
    .nav-center.active ~ .nav-container .mobile-menu-btn::after,
    .mobile-menu-btn.menu-open::after {
        background: transparent;
        box-shadow: none;
        transform: rotate(45deg);
    }

    .nav-center.active ~ .nav-container .mobile-menu-btn::after::before,
    .mobile-menu-btn.menu-open::after::before,
    .nav-center.active ~ .nav-container .mobile-menu-btn::after::after,
    .mobile-menu-btn.menu-open::after::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: #F4B942;
        border-radius: 2px;
        top: 0;
        left: 0;
    }

    /* Alternative X approach - using transform */
    .mobile-menu-btn.menu-open::after {
        transform: rotate(45deg);
        box-shadow: 
            0 0 0 #F4B942,
            0 0 0 #F4B942;
    }

    .mobile-menu-btn.menu-open::before {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: #F4B942;
        border-radius: 2px;
        transform: rotate(-45deg);
        z-index: 2;
    }

    /* Enhanced menu open state */
    .mobile-menu-btn.menu-open {
        background: linear-gradient(135deg, rgba(244, 185, 66, 0.2) 0%, rgba(62, 193, 211, 0.2) 100%) !important;
        border-color: #F4B942 !important;
        box-shadow: 0 6px 25px rgba(244, 185, 66, 0.5);
        animation: pulseActive 2s infinite;
    }

    @keyframes pulseActive {
        0%, 100% {
            box-shadow: 0 6px 25px rgba(244, 185, 66, 0.5);
        }
        50% {
            box-shadow: 0 8px 35px rgba(244, 185, 66, 0.7);
        }
    }

    /* Full-Screen Glassy Mobile Menu */
    .nav-center {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: 
            linear-gradient(135deg, 
                rgba(11, 19, 43, 0.85) 0%, 
                rgba(28, 37, 65, 0.85) 50%, 
                rgba(11, 19, 43, 0.85) 100%);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 60px 40px !important;
        gap: 0 !important;
        border: none;
        box-shadow: none;
        transform: translateX(-100%);
        opacity: 0;
        transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 9999;
    }

    /* Glassy overlay effect */
    .nav-center::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 30% 20%, rgba(244, 185, 66, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 70% 80%, rgba(62, 193, 211, 0.1) 0%, transparent 50%),
            linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
        pointer-events: none;
        z-index: 0;
    }

    .nav-center.active {
        display: flex !important;
        transform: translateX(0);
        opacity: 1;
    }

    /* Prevent body scroll when menu is open */
    body:has(.nav-center.active) {
        overflow: hidden;
    }

    .nav-center li {
        margin-bottom: 20px;
        transform: translateX(-60px);
        opacity: 0;
        animation: slideInGlassy 0.6s ease forwards;
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 400px;
    }

    .nav-center li:nth-child(1) { animation-delay: 0.2s; }
    .nav-center li:nth-child(2) { animation-delay: 0.3s; }
    .nav-center li:nth-child(3) { animation-delay: 0.4s; }
    .nav-center li:nth-child(4) { animation-delay: 0.5s; }
    .nav-center li:nth-child(5) { animation-delay: 0.6s; }
    .nav-center li:nth-child(6) { animation-delay: 0.7s; }

    @keyframes slideInGlassy {
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    .nav-center a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 24px 32px !important;
        font-size: 20px !important;
        font-weight: 600;
        color: #EDEDED !important;
        text-decoration: none;
        border-radius: 20px !important;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.12);
        position: relative;
        overflow: hidden;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        margin-bottom: 0;
        width: 100%;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    /* Glassy effect for menu items */
    .nav-center a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
            135deg,
            rgba(244, 185, 66, 0.1) 0%,
            rgba(62, 193, 211, 0.1) 100%
        );
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 0;
    }

    .nav-center a::after {
        content: '→';
        font-size: 18px;
        color: #3EC1D3;
        opacity: 0;
        transform: translateX(-15px);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 2;
        position: relative;
    }

    .nav-center a:hover::before {
        opacity: 1;
    }

    .nav-center a:hover::after {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-center a:hover {
        transform: translateX(12px) scale(1.02) !important;
        background: rgba(255, 255, 255, 0.12) !important;
        border-color: rgba(244, 185, 66, 0.4);
        box-shadow: 
            0 12px 40px rgba(244, 185, 66, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        color: #F4B942 !important;
        text-shadow: 0 0 12px rgba(244, 185, 66, 0.6);
    }

    /* Floating text effect */
    .nav-center a span {
        position: relative;
        z-index: 2;
    }

    /* Close button or indicator */
    .nav-center::after {
        content: 'Tap × to close or click anywhere';
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255, 255, 255, 0.5);
        font-size: 14px;
        font-weight: 400;
        animation: fadeInLate 1s ease 1s both;
    }

    @keyframes fadeInLate {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
    }

    /* Animated background particles */
    .nav-center li:nth-child(odd) a::before {
        background: linear-gradient(
            45deg,
            rgba(244, 185, 66, 0.12) 0%,
            rgba(62, 193, 211, 0.08) 100%
        );
    }

    .nav-center li:nth-child(even) a::before {
        background: linear-gradient(
            135deg,
            rgba(62, 193, 211, 0.12) 0%,
            rgba(244, 185, 66, 0.08) 100%
        );
    }
}

/* Enhanced mobile responsiveness */
@media (max-width: 640px) {
    .nav-center {
        padding: 50px 30px !important;
    }

    .nav-center li {
        margin-bottom: 16px;
        max-width: 100%;
    }

    .nav-center a {
        padding: 20px 28px !important;
        font-size: 18px !important;
        border-radius: 16px !important;
    }

    .mobile-menu-btn {
        font-size: 24px !important;
        padding: 10px 14px !important;
        width: 46px !important;
        height: 46px !important;
    }

    .mobile-menu-btn::after {
        width: 20px !important;
        box-shadow: 
            0 -6px 0 #F4B942,
            0 6px 0 #F4B942;
    }

    .mobile-menu-btn.menu-open::before {
        width: 20px !important;
    }

    .nav-center::after {
        bottom: 30px;
        font-size: 13px;
    }
}

/* Ultra-smooth entrance animation */
@media (prefers-reduced-motion: no-preference) {
    .nav-center.active li {
        animation-duration: 0.8s;
        animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
    }
}