/* EPIC THEME ENHANCEMENTS */
body {
    font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%);
    color: #f5f5f5;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    letter-spacing: 0.02em;
    padding-top: 70px; /* offset for fixed banner */
}

header {
    background: rgba(10, 10, 10, 0.98);
    color: #ff1744;
    padding: 1rem 0 0.5rem 0; /* Reduced padding */
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.7);
    border-bottom: 2px solid #ff1744;
    transition: background 0.3s;
}

header h1 {
    font-size: 2.2rem; /* Smaller title */
    letter-spacing: 0.1em;
    margin: 0 0 0.3rem 0;
    color: #fff;
    text-shadow: 0 2px 24px #ff1744, 0 1px 0 #000;
}

header nav {
    margin-top: 0.5rem; /* Less margin above nav */
    display: flex;
    justify-content: center;
    gap: 1rem; /* Less gap */
    background: rgba(20, 30, 40, 0.85);
    border-radius: 8px;
    box-shadow: 0 2px 12px #ff1744aa;
    padding: 4px 0; /* Less padding */
    position: relative;
    z-index: 2;
}

header nav a {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 12px; /* Smaller nav links */
    border-radius: 4px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

header nav a::before {
    content: '';
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, #ff1744 0%, #ff9100 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.2s;
}

header nav a:hover, header nav a.active {
    color: #fffde7;
    transform: translateY(-2px) scale(1.07);
    box-shadow: 0 2px 16px #ff1744cc;
}

header nav a:hover::before, header nav a.active::before {
    opacity: 0.7;
}

.feedback-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    background: linear-gradient(90deg, #ff1744 0%, #ff9100 100%);
    color: #fff;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 2px 12px #ff1744aa;
    border: none;
    z-index: 2000;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.feedback-btn:hover {
    background: linear-gradient(90deg, #ff9100 0%, #ff1744 100%);
    color: #fffde7;
    box-shadow: 0 4px 24px #ff9100cc;
}

.hero {
    background: linear-gradient(rgba(10,10,10,0.7), rgba(44,83,100,0.7)), url('image/websitebanner.gif') no-repeat center center/cover;
    min-height: 380px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.7);
    border-bottom: 2px solid #ff1744;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3.2rem;
    margin: 0 0 1rem 0;
    color: #ffeb3b;
    text-shadow: 0 2px 24px #ff1744, 0 1px 0 #000;
}

.typing-effect {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    text-align: center;
    height: 2.2rem;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #ffeb3b;
    color: #fffde7;
    text-shadow: 0 1px 8px #ff1744;
}

.container {
    padding: 32px 18px 18px 18px;
    max-width: 1200px;
    margin: auto;
    background: rgba(20, 30, 40, 0.92);
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.5);
}

section {
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    color: #ffeb3b;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 8px #ff1744;
}

.features ul li, #credits ul li {
    background: rgba(44,83,100,0.7);
    margin: 10px 0;
    padding: 14px 18px;
    border-left: 5px solid #ff1744;
    color: #fff;
    border-radius: 8px;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px #0002;
    transition: background 0.2s, box-shadow 0.2s;
}
.features ul li:hover, #credits ul li:hover {
    background: #ff1744;
    color: #fffde7;
    box-shadow: 0 4px 16px #ff1744aa;
}

.screenshots-title {
    position:relative;
    top: 0;
    background: transparent;
    padding: 10px;
    z-index: 1;
}

.screenshots {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 20px;
    padding-top: 40px;
    display: flex;
    gap: 18px;
    justify-content: flex-start;
    align-items: center;
}

.screenshots img {
    width: 340px;
    border-radius: 12px;
    box-shadow: 0 4px 24px #000a, 0 1.5px 0 #ff1744;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #ff1744;
}
.screenshots img:hover {
    transform: scale(1.04) rotate(-2deg);
    box-shadow: 0 8px 32px #ff1744cc, 0 2px 0 #ffeb3b;
    border-color: #ffeb3b;
}

.call-to-action a {
    display: inline-block;
    padding: 14px 32px;
    color: #fff;
    background: linear-gradient(90deg, #ff1744 0%, #ff9100 100%);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 12px #ff1744aa;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.call-to-action a:hover {
    background: linear-gradient(90deg, #ff9100 0%, #ff1744 100%);
    color: #fffde7;
    box-shadow: 0 4px 24px #ff9100cc;
}

footer {
    background: #0f2027;
    color: #bdbdbd;
    text-align: center;
    padding: 1.5rem 0 1rem 0;
    margin-top: 2rem;
    font-size: 1.1rem;
    border-top: 2px solid #ff1744;
    box-shadow: 0 -2px 24px #000a;
}
footer a {
    color: #ffeb3b;
    text-decoration: underline;
    transition: color 0.2s;
}
footer a:hover {
    color: #ff1744;
}

#credits, #download, .play-testers {
    background: rgba(44,83,100,0.7);
    color: #fffde7;
    padding: 28px 18px;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: 0 2px 12px #0003;
}

#credits h2, #download h2, .play-testers h2 {
    color: #ffeb3b;
    text-shadow: 0 1px 8px #ff1744;
}

.tester-wrapper {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin: 0 auto;
}
.tester {
    flex: 1 1 220px;
    min-width: 220px;
    max-width: 320px;
    display: flex;
    align-items: center;
    background: rgba(20, 30, 40, 0.92);
    padding: 18px;
    border-radius: 10px;
    text-align: left;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px #ff1744aa;
    border-left: 5px solid #ffeb3b;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.tester:hover {
    box-shadow: 0 4px 24px #ff9100cc;
    border-left: 5px solid #ff1744;
}
.tester img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 18px;
    border: 2px solid #ffeb3b;
    box-shadow: 0 2px 8px #ff1744aa;
}
.tester-info h3 {
    margin: 0;
    color: #ffeb3b;
    font-size: 1.2rem;
    text-shadow: 0 1px 8px #ff1744;
}
.tester-info a {
    color: #ff9100;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.2s;
}
.tester-info a:hover {
    color: #ffeb3b;
}

/* --- WARNING BANNER ALWAYS ON TOP --- */
#update-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background: linear-gradient(90deg, #ffeb3b 0%, #ff9800 100%);
    color: #121212;
    font-weight: bold;
    text-align: center;
    padding: 18px 10px 18px 10px;
    z-index: 2000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    border-bottom: 3px solid #ff1744;
    animation: slideDown 0.7s cubic-bezier(.77,0,.18,1) 0s 1;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 900px) {
    .container {
        padding: 12px 2vw;
    }
    .screenshots img {
        width: 220px;
    }
    .tester-wrapper {
        gap: 12px;
    }
    header nav {
        flex-direction: column;
        gap: 0.2rem;
        padding: 4px 0;
    }
    header nav a {
        padding: 8px 0;
        width: 100%;
    }
}
@media (max-width: 700px) {
    header nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    .tester-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .screenshots img {
        width: 140px;
    }
}
@media (max-width: 600px) {
    .container {
        padding: 6px 1vw;
    }
    .screenshots img {
        width: 100px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.3rem;
    }
    #update-banner {
        flex-direction: column;
        font-size: 1rem;
        gap: 10px;
        padding: 12px 5px 12px 5px;
    }
}
