:root {
    --primary-color: #d4af37;
    --background-color: #0a0a0a;
    --nav-bg: #000000;
    --text-color: #ffffff;
    --link-hover: #ffd700;
    --dark-overlay: rgba(0, 0, 0, 0.85);
}

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

body {
    font-family: 'MedievalSharp', cursive;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 26, 0.95));
    z-index: -1;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85));
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.nav-link:hover {
    color: var(--link-hover);
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: none;
    color: #666;
}

.download-btn {
    background: linear-gradient(135deg, var(--primary-color), #b38728);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.download-btn:hover {
    transform: scale(1.05);
    color: var(--text-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.download-btn .fa-chevron-down {
    margin-left: 5px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.dropdown.active .download-btn .fa-chevron-down {
    transform: rotate(180deg);
}

.download-dropdown {
    min-width: 220px;
    right: 0;
    left: auto;
}

.download-dropdown a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    font-weight: 500;
}

.download-dropdown a:last-child {
    border-bottom: none;
}

.download-dropdown a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    padding-left: 20px;
}

@media (max-width: 768px) {
    .download-dropdown {
        width: 100%;
        min-width: unset;
        right: auto;
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(10, 10, 10, 0.98));
    min-width: 200px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
    z-index: 1100;
    transition: visibility 0s linear 0.3s, opacity 0.3s ease;
    pointer-events: none;
}

.dropdown-content.show {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
    pointer-events: auto;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    padding-left: 20px;
}

.dropdown.active .fa-chevron-down {
    transform: rotate(180deg);
}

.fa-chevron-down {
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Add a pseudo-element to cover the gap between trigger and dropdown */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

/* Ensure dropdown items are clickable on mobile */
@media (max-width: 768px) {
    .dropdown-content {
        width: 100%;
        min-width: unset;
    }

    .dropdown-content a {
        padding: 15px 20px;
    }
}

main {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align: center;
    padding-bottom: 3rem;
}

.hero-content {
    max-width: 800px;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(10, 10, 10, 0.95));
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8),
                0 0 15px rgba(212, 175, 55, 0.2);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3),
                 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.description {
    font-size: 1.2rem;
    color: #cccccc;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.fab, .fas {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.fab:hover, .fas:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.client-image {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 2rem;
}

.game-preview {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8),
                0 0 15px rgba(212, 175, 55, 0.3);
    border: 2px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.game-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9),
                0 0 20px rgba(212, 175, 55, 0.4);
}

/* About Page Styles */
.about-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(10, 10, 10, 0.95));
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.about-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.about-content {
    line-height: 1.8;
}

.about-intro {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-style: italic;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments for About page */
@media (max-width: 768px) {
    .about-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .about-container h1 {
        font-size: 2rem;
    }
    
    .about-intro {
        font-size: 1.3rem;
    }
    
    .about-content p {
        font-size: 1rem;
    }
}
.copyright-footer {
    position: relative;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid var(--primary-color);
    padding: 1rem;
    margin-top: 2rem;
    text-align: center;
}

.copyright-footer p {
    color: var(--primary-color);
    font-size: 0.85rem;
    margin: 0;
}