body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2c3e50;
    color: #fff;
}

header {
    background-color: #2c3e50; /* Update the background color to match the body */
    padding: 15px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

li {
    margin: 0 15px;
}

a {
    text-decoration: none;
    color: #c8d9e4;
    cursor: pointer;
    transition: color 0.3s;
}

a:hover {
    color: #3498db;
}

nav ul {
    display: flex;
    justify-content: space-around;
}

nav li {
    position: relative;
}

nav a {
    padding: 10px;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s, color 0.3s;
}

nav a:hover {
    color: #fff;
    border-bottom: 2px solid #3498db;
}

nav a.active {
    color: #fff;
    border-bottom: 2px solid #3498db;
}

header {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

section {
    padding: 40px;
    text-align: center;
    background-color: #34495e;
    color: #fff;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.credits {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.credits-item {
    margin: 0 20px;
    text-align: center;
    position: relative;
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.credits-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://cdn.dribbble.com/users/39141/screenshots/4370017/01_copy_195.gif') no-repeat center center fixed;
    filter: blur(8px);
    z-index: -1;
    background-size: cover;
    border-radius: 10px;
}

.credits img {
    max-width: 80px;
    max-height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.faq-container {
    max-width: 600px;
    margin: auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #34495e;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding: 10px;
    background-color: #2c3e50;
    color: #fff;
    border-radius: 5px;
}

.faq-question:hover {
    background-color: #3d566e;
}

.faq-question span {
    font-size: 1.2em;
}

.download-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    margin: 20px;
    padding: 40px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: linear-gradient(to bottom, #3498db, #2980b9);
}

.blur-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://cdn.dribbble.com/users/1770290/screenshots/6183149/bg_79.gif') no-repeat center center fixed;
    filter: blur(8px);
    z-index: 1;
    background-size: cover;
    border-radius: 10px;
}

.download-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.download-container img {
    max-width: 150px;
    margin-right: 10px;
}

.download-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2em;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    border: 2px solid #3498db;
    margin-right: 10px;
}

.download-button:hover {
    background-color: #fff;
    color: #3498db;
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    padding-top: 60px;
}

.modal-content {
    background-color: #2c3e50;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #3498db;
    width: 80%;
    border-radius: 10px;
    color: #fff;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.close {
    color: #3498db;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #2980b9;
}

.ok-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2em;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    cursor: pointer;
    margin-top: 20px;
}

.ok-button:hover {
    background-color: #2980b9;
    color: #fff;
    text-decoration: none;
}

img {
    -webkit-user-drag: none;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('your-background-image.jpg');
    background-size: cover;
    z-index: 999;
    display: none;
}

#popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 500px;
    background-color: #2c3e50;
    padding: 30px;
    border: 3px solid #3498db;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: none;
    color: white;
    border-radius: 15px;
    text-align: center;
}

#timer {
    margin-bottom: 15px;
    font-size: 18px;
    color: #ecf0f1;
}

#popup p {
    margin-bottom: 20px;
    font-size: 16px;
}

#popup button {
    background-color: #3498db;
    color: white;
    font-size: 18px;
    padding: 15px 20px;
    margin-right: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#popup button:hover {
    background-color: #2980b9;
}

#buttonContainer {
    display: flex;
    justify-content: center;
}

#popup button {
    background-color: #3498db;
    color: white;
    font-size: 18px;
    padding: 15px 20px;
    margin-right: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#disabledDownloadButton {
    background-color: #7f8c8d;
    color: #bdc3c7;
    font-size: 18px;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    cursor: not-allowed;
}

#popup iframe {
    max-width: 100%;
    height: auto;
}
