body {
   font-family: "Press Start 2P";
    margin: 0;
    padding: 0;
    background: url('./dragonbackground.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
}

header {
    font-family: "Press Start 2P";
    text-align: center;
    padding: 3rem 2rem;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.6); 
    border-bottom: 2px solid #f39c12;
    position: relative;
}

header h1 {
font-family: "Press Start 2P";
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    color: #f39c12;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    }
    to {
        text-shadow: 0 4px 12px rgba(255, 165, 0, 0.8);
    }
}

header p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #eee;
}

header .home-btn {
    font-family: "Press Start 2P";
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #f39c12;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s;
}

header .home-btn:hover {
    background: #d08711;
    cursor: pointer;
}

.section {
    padding: 4rem 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.market-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    justify-items: center;
}

.market-item {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid #f39c12;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.market-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 165, 0, 0.7);
}

.market-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
    border-radius: 50%;
    border: 4px solid #f39c12;
}

.market-item h3 {
    font-family: "Press Start 2P";
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.market-item p {
    font-family: "Press Start 2P";
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 0.5rem;
}

.market-item .cost {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f39c12;
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    color: #fff;
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.6);
    border-top: 2px solid #f39c12;
}

footer p {
    font-size: 1rem;
    color: #ccc;
}
