body {
    background: var(--bg-download) no-repeat center center fixed;
    background-size: cover;
}
:root {
    --wow-gold: #e4c062;
    --wow-brown: #3a2a1a;
    --wow-dark-brown: #1a1208;
    --wow-light-brown: #7a5c3c;
    --wow-red: #a52a2a;
    --wow-blue: #3a6ea5;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    /* background is handled dynamically in PHP */
    font-family: 'Arial', sans-serif;
    color: var(--wow-gold);
    text-shadow: 1px 1px 2px #000;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.container {
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--wow-gold);
    border-radius: 5px;
    padding: 2rem;
    margin: auto;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

h1 {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    color: var(--wow-gold);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.error {
    color: var(--wow-red);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--wow-red);
    text-align: center;
}

/* Enhanced Download Button Styles */
.download-button {
    background: linear-gradient(to bottom, #8B4513, #A0522D);
    color: var(--wow-gold);
    border: 2px solid var(--wow-gold);
    padding: 1rem 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    display: block;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-button:hover {
    background: linear-gradient(to bottom, #A0522D, #8B4513);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(228, 192, 98, 0.5);
    text-shadow: 0 0 5px var(--wow-gold);
}

.download-button i {
    margin-right: 10px;
}

.download-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    pointer-events: none;
}

.download-button:hover::after {
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% { left: -100%; top: -100%; }
    100% { left: 100%; top: 100%; }
}

/* File info styling */
.file-info {
    background: rgba(58, 42, 26, 0.5);
    padding: 1rem;
    border-left: 3px solid var(--wow-gold);
    margin: 1.5rem 0;
}

.file-info p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
}

.file-info i {
    width: 25px;
    text-align: center;
    margin-right: 10px;
    color: var(--wow-gold);
}

/* Footer styling remains the same */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--wow-gold);
    padding: 1rem;
    text-align: center;
    border-top: 1px solid var(--wow-gold);
    margin-top: auto;
}
