body {
    font-family: sans-serif;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    width: calc(100% - 40px);
}

.subtitle {
    font-size: 1.1rem;
    margin-top: -5px;
    margin-bottom: 15px;
    color: #555;
}

/* Remove all old input section styling */
.input-section, .input-group, .input-section label, 
.input-section input, .input-section button, 
.status-message, #loading, .error, .disclaimer {
    /* Reset all styles to let Bootstrap handle these */
}

/* Yu-Gi-Oh Card Styling */
.yugioh-card {
    background-color: #fde68a; /* Light orange/yellow like effect monsters */
    border: 2px solid #a0522d; /* Brown border */
    border-radius: 15px;
    width: 100%;
    max-width: 450px;
    margin: 20px auto;
    padding: 15px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3), 0 0 20px #fff9c4;
    text-align: left;
    color: #000;
    position: relative;
    overflow: hidden;
}

.yugioh-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(ellipse at center, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.yugioh-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #d2691e; /* Darker orange */
    color: white;
    padding: 10px 15px;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 1px;
    border-bottom: none;
}

#card-name {
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

#card-attribute {
    font-size: 0.9em;
    background-color: #704214; /* Dark brown for attribute */
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

.card-level {
    text-align: right;
    padding: 6px 15px;
    font-size: 0.95em;
    font-weight: bold;
    color: #000;
    background-color: #f9e076;
}

.card-image {
    background-color: #eee;
    border: 1px solid #a0522d;
    height: 250px;
    margin: 5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
    pointer-events: none;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-type {
    font-weight: bold;
    padding: 6px 15px;
    font-size: 0.95em;
    border-bottom: 1px solid #a0522d;
    background-color: #f9e076;
    margin: 1px 0;
}

.card-effect {
    background-color: #fff8dc; /* Cornsilk background for effect */
    padding: 15px;
    margin: 5px 0;
    border: 1px solid #a0522d;
    font-size: 0.95em;
    min-height: 100px;
    line-height: 1.4;
}

.card-stats {
    text-align: right;
    padding: 8px 15px;
    font-size: 0.95em;
    font-weight: bold;
    border-top: 1px solid #a0522d;
    background-color: #f9e076;
}

.footer {
    text-align: center;
    margin-top: 30px;
    padding: 15px 0;
    color: #666;
    font-size: 0.9em;
    border-top: 1px solid #eee;
    width: 100%;
}

.footer a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

h2 {
    font-size: 1.5rem;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 576px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 15px;
        width: calc(100% - 30px);
    }
    
    h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-top: -5px;
        margin-bottom: 15px;
    }
    
    p {
        font-size: 0.9rem;
    }
    
    .disclaimer {
        font-size: 0.8rem;
    }
    
    .input-group, .input-section input, .input-section button {
        /* Reset to let Bootstrap handle these */
    }
    
    .yugioh-card {
        padding: 10px;
        max-width: 100%;
    }
    
    .yugioh-card .card-header {
        padding: 8px 12px;
        font-size: 1.2em;
    }
    
    #card-attribute {
        font-size: 0.85em;
        padding: 3px 6px;
    }
    
    .card-level, .card-stats, .card-type {
        padding: 5px 12px;
        font-size: 0.9em;
    }
    
    .card-effect {
        padding: 12px;
        font-size: 0.9em;
        min-height: 80px;
    }
    
    .card-image {
        height: 200px;
    }
} 