/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #000000;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-teal: #0ff;
    --accent-purple: #a29bfe;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--accent-teal), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

/* Swap Section */
.swap-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    min-height: calc(100vh - 150px);
}

.swap-container {
    max-width: 600px;
    width: 100%;
    position: relative;
}

.back-button {
    margin-bottom: 2rem;
}

.back-button a {
    color: var(--accent-teal);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-button a:hover {
    color: var(--accent-purple);
    transform: translateX(-5px);
}

.subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* Widget Container */
.widget-container {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(162, 155, 254, 0.05) 100%);
    border: 2px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, rgba(162, 155, 254, 0.05) 100%);
    padding: 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    margin-top: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-purple);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .swap-section {
        padding: 2rem 1rem;
        min-height: calc(100vh - 120px);
    }

    .widget-container {
        padding: 1rem;
    }

    .back-button a {
        font-size: 0.9rem;
    }

    .footer-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .swap-container {
        padding: 0;
    }
}
