@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Basic styles */
body {
    font-family: 'Poppins', sans-serif;
}

/* Gradient backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #6366F1, #3B82F6, #2DD4BF);
}

.text-gradient {
    background: linear-gradient(135deg, #6366F1, #3B82F6, #2DD4BF);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

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

/* Header styles */
header {
    transition: background-color 0.3s ease;
}

/* Hero section styles */
#hero {
    overflow: hidden;
}

#hero .container {
    padding-top: 80px;
}

/* Feature card styles */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Tokenomics styles */
#tokenomics ul {
    list-style-type: none;
    padding-left: 0;
}

#tokenomics li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

#tokenomics li i {
    margin-right: 0.5rem;
}

#tokenomics-chart {
    width: 160px;
    height: 160px;
    max-width: 100%;
    border-radius: 50%;
}

@media (min-width: 375px) {
    #tokenomics-chart {
        width: 240px;
        height: 240px;
    }
}

@media (min-width: 768px) {
    #tokenomics .flex-col {
        align-items: flex-start;
    }

    #tokenomics-chart {
        width: 320px;
        height: 320px;
    }

    #tokenomics-legend {
        max-width: 320px;
    }
}

/* Footer styles */
footer a:hover {
    text-decoration: underline;
}

/* Language dropdown */
.language-dropdown {
    position: relative;
}

.language-dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
}

.language-dropdown:hover .dropdown-content {
    display: block;
}

.language-dropdown .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.language-dropdown .dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1F2937;
}

::-webkit-scrollbar-thumb {
    background: #4B5563;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6B7280;
}

/* Responsive styles */
@media (max-width: 768px) {
    .embeds a {
        width: 100%;
        text-align: center;
    }

    .roadmap-item::before,
    .roadmap-item::after {
        left: 0;
    }

    #hero .container {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }
}

.add-to-wallet-btn {
    position: relative;
    overflow: hidden;
}

.add-to-wallet-btn .reflection {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: reflectionAnimation 3s infinite;
}

@keyframes reflectionAnimation {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Profit Calculator Styles */
#profit-calculator input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

#profit-calculator input::-webkit-outer-spin-button,
#profit-calculator input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#profit-calculator .bg-gray-800 {
    transition: all 0.3s ease;
}

#profit-calculator .bg-gray-800:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    #profit-calculator .grid {
        grid-template-columns: 1fr;
    }
}

.text-profit-positive {
    color: #4ade80;
}

.text-profit-negative {
    color: #f87171;
}

/* Scanner embed styles */
#scanner-embed-wrap {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

#scanner-embed-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 1024px) {
    #scanner-embed-wrap {
        padding-bottom: 600px;
        height: 600px;
    }

    #scanner-embed-wrap iframe {
        height: 600px;
    }
}

#scanner-embed-wrap iframe {
    position: absolute;
    width: 100%;
    max-height: 600px;
    top: 0;
    left: 0;
    border: 0;
}

.scanner-embed {
    width: 100%;
    max-height: 600px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    border-radius: 50%;
}

.proofs-grid {
    width: fit-content;
    margin: 0 auto;
}
