@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
    --primary-color: #f5c518; /* Oscar gold */
    --secondary-color: #212121;
    --text-color: #ffffff;
    --bg-color: #121212;
    --card-bg-color: #1e1e1e;
    --border-color: #333333;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    display: inline-flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
}

nav ul li a i {
    margin-right: 8px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
}

section {
    margin: 60px 0;
    padding: 40px 20px;
    border-radius: 8px;
    background-color: var(--card-bg-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero {
    text-align: center;
    padding: 80px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1542204165-65bf26472b9b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    margin-top: 0;
    border-radius: 0;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Features section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: rgba(245, 197, 24, 0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Platforms section */
#platforms {
    padding: 60px 20px;
}

#platforms h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    font-size: 2rem;
}

.download-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.download-button {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background-color: var(--card-bg-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--text-color);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 200px;
}

.download-button:hover {
    background-color: rgba(245, 197, 24, 0.2);
    transform: translateY(-3px);
}

.download-button i {
    font-size: 24px;
    margin-right: 15px;
    color: var(--primary-color);
}

.download-button span {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.download-button span strong {
    font-size: 16px;
}

.download-button span small {
    font-size: 12px;
    opacity: 0.8;
}

.download-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-toggle .fa-chevron-down {
    margin-left: 10px;
    font-size: 12px;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 100%;
    background-color: var(--card-bg-color);
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border: 1px solid var(--border-color);
    margin-top: 5px;
    overflow: hidden;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 15px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s;
    white-space: nowrap;
    font-size: 14px;
}

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

.dropdown-content a:hover {
    background-color: rgba(245, 197, 24, 0.2);
    color: var(--primary-color);
}

.version-info {
    text-align: center;
    margin-top: 40px;
    color: var(--text-color);
}

.version-info p {
    margin-bottom: 5px;
}

.version-link {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--primary-color);
    transition: all 0.3s;
    display: inline-block;
    margin-top: 10px;
}

.version-link:hover {
    border-bottom: 1px solid var(--primary-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.footer-logo p {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* GitHub icon in nav - Updated to match RateMe exactly */
.github-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.github-icon i {
    font-size: 20px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--bg-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        padding: 10px 0;
    }
    
    nav.show {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0 20px;
        width: 100%;
    }
    
    nav ul li {
        margin: 0;
        padding: 5px 0;
        width: 100%;
    }
    
    nav ul li a {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 12px 0;
        text-align: center;
        line-height: 1.5;
    }
    
    nav ul li a.github-icon {
        justify-content: center; /* Center GitHub icon and text */
        width: 100%;
        gap: 8px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .download-options {
        flex-direction: column;
        align-items: center;
    }
    
    .download-button, .download-dropdown {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}
