@import url('https://fonts.googleapis.com/css2?family=Fredoka+One:wght@400&family=Nunito:wght@400;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&display=swap');

.font-fredoka { font-family: 'Fredoka One', cursive; }
.font-nunito { font-family: 'Nunito', sans-serif; }
.font-mitr { font-family: 'Mitr', sans-serif; }
.font-inter { font-family: 'Inter', sans-serif; }

/* Font Weight Classes */
.font-extralight { font-weight: 200; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Scrolling Banner Animation */
@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.scrolling-banner {
    animation: scroll 15s linear infinite;
}

/* Floating Animation for Characters */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(45deg, #FEF3C7, #FCD34D, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Whitepaper Button Custom Colors */
.btn-whitepaper {
    background-color: #FCC96D;
}
.btn-whitepaper:hover {
    background-color: #F6C054;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    top: 60px;
    background-color: #FEF9EF;
    border-radius: 60px 60px 0 0;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .modal-content {
        left: 60px;
        right: 60px;
    }
}

.modal-header {
    position: relative;
    padding: 30px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #374151;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

/* Mobile Menu Styles */
.mobile-menu-content {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background-color: #FEF9EF;
    border-radius: 24px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .mobile-menu-content {
    transform: translateY(0);
}

.mobile-menu-header {
    background-color: #59AFFF;
    padding: 20px;
    text-align: center;
    position: relative;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.mobile-menu-item {
    display: block;
    padding: 20px;
    border-bottom: 1px solid #E5E7EB;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.mobile-menu-item:hover {
    background-color: #F3F4F6;
}

/* Form Styles */
.form-input {
    color: #374151 !important;
    background-color: white !important;
}

.form-input::placeholder {
    color: #9CA3AF !important;
}

.form-input.error {
    border-color: #EF4444 !important;
    background-color: #FEF2F2 !important;
}

.form-input.success {
    border-color: #10B981 !important;
    background-color: #F0FDF4 !important;
}

.error-message {
    color: #EF4444;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.success-message {
    color: #10B981;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

/* Desktop adjustments */
@media (min-width: 768px) {
    #home .relative.z-20 {
        padding-left: 190px !important;
        padding-right: 190px !important;
    }
    
    .mx-auto {
        padding-left: 240px !important;
        padding-right: 240px !important;
    }
    
    .font-inter {
        font-size: 14px !important;
    }
}

/* Mobile adjustments for hero section */
@media (max-width: 768px) {
    #home {
        min-height: 60vh !important;
        padding-bottom: 20px !important;
    }
    
    #home .relative.z-20 {
        padding-top: 30px !important;
    }
    
    #home .absolute.z-30 {
        transform: translate(-50%, 0) scale(2.0) !important;
        top: 42% !important;
        bottom: auto !important;
    }
    
    #home .absolute.z-10 {
        transform: scale(1.2) !important;
        bottom: 0 !important;
        top: auto !important;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #59AFFF 0%, #4A9DE8 100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    width: auto;
    height: auto;
    max-width: 200px;
    max-height: 200px;
    margin-bottom: 30px;
    animation: energeticBounce 0.8s ease-in-out infinite, continuousFloat 2.5s ease-in-out infinite, pulseGlow 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 40px rgba(89, 175, 255, 0.6));
    transition: all 0.3s ease;
}

.loading-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 1)) drop-shadow(0 0 60px rgba(89, 175, 255, 0.8));
}

.loading-text {
    color: white;
    font-family: 'Mitr', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: energeticPulse 1.5s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(252, 201, 109, 0.6), 0 0 30px rgba(252, 201, 109, 0.4);
    letter-spacing: 2px;
}

.loading-progress {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 15px;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FCC96D, #F6C054, #FCC96D);
    border-radius: 2px;
    animation: energeticLoading 2.5s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(252, 201, 109, 0.8), 0 0 30px rgba(252, 201, 109, 0.4);
}

@keyframes energeticLoading {
    0% {
        width: 0%;
        transform: translateX(-100%);
        box-shadow: 0 0 15px rgba(252, 201, 109, 0.8), 0 0 30px rgba(252, 201, 109, 0.4);
    }
    30% {
        width: 70%;
        transform: translateX(-15%);
        box-shadow: 0 0 20px rgba(252, 201, 109, 1), 0 0 40px rgba(252, 201, 109, 0.6);
    }
    60% {
        width: 100%;
        transform: translateX(0%);
        box-shadow: 0 0 25px rgba(252, 201, 109, 1.2), 0 0 50px rgba(252, 201, 109, 0.8);
    }
    100% {
        width: 0%;
        transform: translateX(100%);
        box-shadow: 0 0 15px rgba(252, 201, 109, 0.8), 0 0 30px rgba(252, 201, 109, 0.4);
    }
}

.loading-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-align: center;
    animation: fadeInOut 2s ease-in-out infinite;
}

/* Loading Animations */
@keyframes energeticBounce {
    0% { 
        transform: translateY(0) scale(1) rotate(0deg);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 40px rgba(89, 175, 255, 0.6));
    }
    12% { 
        transform: translateY(-35px) scale(1.3) rotate(15deg);
        filter: drop-shadow(0 8px 30px rgba(255, 255, 255, 1.2)) drop-shadow(0 8px 60px rgba(89, 175, 255, 1));
    }
    25% { 
        transform: translateY(-50px) scale(1.4) rotate(30deg);
        filter: drop-shadow(0 10px 35px rgba(255, 255, 255, 1.4)) drop-shadow(0 10px 70px rgba(89, 175, 255, 1.2));
    }
    37% { 
        transform: translateY(-35px) scale(1.2) rotate(45deg);
        filter: drop-shadow(0 7px 25px rgba(255, 255, 255, 1)) drop-shadow(0 7px 50px rgba(89, 175, 255, 0.9));
    }
    50% { 
        transform: translateY(-60px) scale(1.5) rotate(180deg);
        filter: drop-shadow(0 12px 40px rgba(255, 255, 255, 1.6)) drop-shadow(0 12px 80px rgba(89, 175, 255, 1.4));
    }
    62% { 
        transform: translateY(-35px) scale(1.2) rotate(225deg);
        filter: drop-shadow(0 7px 25px rgba(255, 255, 255, 1)) drop-shadow(0 7px 50px rgba(89, 175, 255, 0.9));
    }
    75% { 
        transform: translateY(-40px) scale(1.3) rotate(270deg);
        filter: drop-shadow(0 8px 30px rgba(255, 255, 255, 1.2)) drop-shadow(0 8px 60px rgba(89, 175, 255, 1));
    }
    87% { 
        transform: translateY(-20px) scale(1.1) rotate(330deg);
        filter: drop-shadow(0 5px 20px rgba(255, 255, 255, 0.9)) drop-shadow(0 5px 40px rgba(89, 175, 255, 0.7));
    }
    100% { 
        transform: translateY(0) scale(1) rotate(360deg);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 40px rgba(89, 175, 255, 0.6));
    }
}

@keyframes loading {
    0% {
        width: 0%;
        transform: translateX(-100%);
    }
    50% {
        width: 100%;
        transform: translateX(0%);
    }
    100% {
        width: 0%;
        transform: translateX(100%);
    }
}

@keyframes energeticPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(252, 201, 109, 0.6), 0 0 30px rgba(252, 201, 109, 0.4);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.08);
        text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 30px rgba(252, 201, 109, 0.8), 0 0 45px rgba(252, 201, 109, 0.6);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@keyframes continuousFloat {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(10px) translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateX(-5px) translateY(-25px) rotate(-3deg);
    }
    75% {
        transform: translateX(-8px) translateY(-10px) rotate(7deg);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 40px rgba(89, 175, 255, 0.6)) brightness(1);
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(255, 255, 255, 1.2)) drop-shadow(0 0 80px rgba(89, 175, 255, 1)) brightness(1.3);
    }
}

/* Mobile loading adjustments */
@media (max-width: 768px) {
    .loading-logo {
        max-width: 150px;
        max-height: 150px;
        margin-bottom: 20px;
    }
    
    .loading-text {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .loading-progress {
        width: 250px;
        margin-bottom: 10px;
    }
    
    .loading-subtitle {
        font-size: 12px;
        padding: 0 20px;
    }
    
    /* Roadmap Mobile Fixes */
    .modal-content {
        left: 10px;
        right: 10px;
        top: 40px;
    }
    
    /* Roadmap phase headers - mobile responsive */
    #roadmapModal .text-2xl {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
    }
    
    /* Status badges - smaller on mobile */
    #roadmapModal .flex.items-center.justify-between {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    
    #roadmapModal .bg-green-100,
    #roadmapModal .bg-blue-100,
    #roadmapModal .bg-purple-100,
    #roadmapModal .bg-red-100 {
        padding: 4px 8px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* Timeline adjustments for mobile */
    #roadmapModal .relative.pl-20 {
        padding-left: 60px !important;
    }
    
    #roadmapModal .absolute.left-4 {
        left: 16px !important;
        width: 24px !important;
        height: 24px !important;
        font-size: 11px !important;
    }
    
    #roadmapModal .absolute.left-8 {
        left: 28px !important;
    }
    
    /* Content padding for mobile */
    #roadmapModal .p-8 {
        padding: 16px !important;
    }
    
    #roadmapModal .bg-gray-100.rounded-3xl.p-6 {
        padding: 16px !important;
        border-radius: 16px !important;
    }
    
    /* Statistics grid for mobile */
    #roadmapModal .grid.md\\:grid-cols-3 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    /* Text size adjustments */
    #roadmapModal .text-3xl {
        font-size: 1.5rem !important;
    }
    
    #roadmapModal .text-xl {
        font-size: 1.1rem !important;
    }
    
    /* List items spacing */
    #roadmapModal .space-y-2 > li {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
    
    /* Tokenomics Mobile Fixes */
    #tokenomicsModal .grid.md\\:grid-cols-2.lg\\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    #tokenomicsModal .text-3xl {
        font-size: 1.5rem !important;
    }
    
    #tokenomicsModal .text-xl {
        font-size: 1.1rem !important;
    }
    
    #tokenomicsModal .p-8 {
        padding: 16px !important;
    }
    
    #tokenomicsModal .bg-gray-100.rounded-3xl.p-6 {
        padding: 16px !important;
        border-radius: 16px !important;
    }
    
    /* Contact Modal Mobile Fixes */
    #contactModal .grid.lg\\:grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    #contactModal .grid.md\\:grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    #contactModal .p-8 {
        padding: 16px !important;
    }
    
    #contactModal .text-2xl {
        font-size: 1.25rem !important;
    }
    
    #contactModal .text-xl {
        font-size: 1.1rem !important;
    }
} 