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

body{
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    padding: 20px;
}

.centre-alignment{
    display: flex;
    justify-content: center;
    align-items: center;
}

.margin-top{
    margin-top: 10vh;
}

.margin-top-1{
    margin-top: 1vh;
}

.margin-top-2{
    margin-top: 2vh;
}

.margin-top-3{
    margin-top: 25vh;
}

h1 {
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

h3 {
    font-size: 1.2rem;
    font-weight: 300;
}

h4 {
    font-size: 1rem;
    margin: 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#amount {
    padding: 15px 20px;
    font-size: 18px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

#amount:focus {
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.from, .to {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    gap: 15px;
}

select {
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    background: white;
    color: #333;
    cursor: pointer;
    min-width: 80px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

select:focus {
    outline: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#submit {
    height: 50px;
    width: 120px;
    cursor: pointer;
    border-radius: 25px;
    border: none;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.swap-button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.swap-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(180deg);
}

.result {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin: 10px;
    min-height: 60px;
    backdrop-filter: blur(10px);
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.exchange-rate {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

img {
    width: 40px;
    height: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

footer {
    margin-top: 50px;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    #amount {
        width: 250px;
    }
    
    .from, .to {
        flex-direction: column;
        gap: 10px;
    }
}
