/* Modern CSS reset and base styles */
.nav-logo {
    height: 75px;
    /* Adjust this value to fit your design */
    width: auto;
    vertical-align: middle;
}

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

.main-nav {
    background-color: #1e2b38;
    padding: 1rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ecf0f1;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #3498db;
}

.nav-toggle {
    display: none;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #1e2b38;
        padding: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }

    .hamburger {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #ecf0f1;
        position: relative;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: #ecf0f1;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        bottom: -8px;
    }
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #2c3e50;
    color: #ecf0f1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0;
    line-height: 1.6;
}

header {
    background-color: #1e2b38;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    flex-grow: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-align: center;
    color: #3498db;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

h3 {
    color: #3498db;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

h4 {
    color: #3498db;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

/* Game tagline */
.game-tagline {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #95a5a6;
}

/* Social share buttons */
.social-share {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.twitter {
    background-color: #1DA1F2;
}

.facebook {
    background-color: #4267B2;
}

.share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.7);
}

/* Game container */
.game-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    width: 100%;
    max-width: 800px;
    height: auto;
    position: relative;
    background-color: #1a2631;
}

.error-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #e74c3c;
    font-weight: bold;
    padding: 20px;
}

/* Game promo section */
.game-promo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #34495e;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.player-stats {
    flex: 1;
}

.cta-container {
    flex: 1;
    text-align: center;
}

.cta-button {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* Game info section */
.game-info {
    background-color: #34495e;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.game-info p {
    margin-bottom: 15px;
}

.game-info ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.key-info {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: bold;
    margin: 0 3px;
}

/* Features section */
.features {
    background-color: #34495e;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.features ul {
    margin-left: 20px;
}

.features li {
    margin-bottom: 10px;
}

/* Reviews section */
.reviews {
    background-color: #34495e;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.review-card {
    background-color: #2c3e50;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.stars {
    color: #f1c40f;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.review-text {
    font-style: italic;
    margin-bottom: 10px;
}

.reviewer {
    text-align: right;
    color: #95a5a6;
}

/* About page specific styles */
.about-container {
    background-color: #34495e;
    padding: 30px;
    border-radius: 8px;
    margin: 20px 0;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-section {
    margin-bottom: 40px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section h2 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    display: inline-block;
}

.about-section h3 {
    color: #2ecc71;
    margin: 20px 0 10px;
    font-size: 1.2rem;
}

.about-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.about-section ul {
    margin: 15px 0 15px 25px;
}

.about-section li {
    margin-bottom: 8px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.team-member {
    background-color: #2c3e50;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2.5rem;
    color: white;
}

.team-name {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.team-role {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tech-tag {
    background-color: #2c3e50;
    color: #3498db;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.timeline {
    margin: 30px 0;
    position: relative;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    height: 100%;
    width: 2px;
    background: #3498db;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    padding-bottom: 25px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3498db;
}

.timeline-date {
    font-weight: bold;
    color: #3498db;
    margin-bottom: 5px;
}

.timeline-content {
    background-color: #2c3e50;
    padding: 15px;
    border-radius: 5px;
}

.cta-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .about-container {
        padding: 20px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 480px) {
    .about-container {
        padding: 15px;
    }

    .timeline:before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 30px;
    }

    .timeline-item:before {
        left: 5px;
        width: 10px;
        height: 10px;
    }
}

/* Contact form specific styles */
.contact-container {
    background-color: #34495e;
    padding: 30px;
    border-radius: 8px;
    margin: 20px 0;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-intro {
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: bold;
}

.form-control {
    padding: 12px;
    border-radius: 5px;
    border: none;
    background-color: #2c3e50;
    color: #ecf0f1;
    font-family: inherit;
    font-size: 1rem;
}

.form-control:focus {
    outline: 2px solid #3498db;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.alt-contact {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #2c3e50;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 15px;
    }

    .submit-btn {
        width: 100%;
    }
}

/* Footer */
footer {
    background-color: #1e2b38;
    padding: 30px 20px;
    width: 100%;
    margin-top: 30px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-nav {
    flex: 1;
    min-width: 200px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center the logo and text */
}

.footer-logo-image {
    height: 50px;
    /* Adjust the size as needed */
    width: auto;
    margin-bottom: 10px;
    /* Add some space between the logo and the text */
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    color: #95a5a6;
    font-size: 0.9rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

footer a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Additional styles for the privacy policy page */

.privacy-content {
    background-color: #34495e;
    padding: 30px;
    border-radius: 8px;
    margin: 20px 0;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.last-updated {
    background-color: #2c3e50;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 25px;
    font-style: italic;
    color: #95a5a6;
}

.policy-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #2c3e50;
    padding-bottom: 20px;
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-section h2 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.policy-section h3 {
    color: #2ecc71;
    margin: 20px 0 10px;
    font-size: 1.2rem;
}

.policy-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.policy-section ul {
    margin: 15px 0 15px 25px;
}

.policy-section li {
    margin-bottom: 8px;
}

.policy-section a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px dotted #3498db;
    transition: all 0.3s ease;
}

.policy-section a:hover {
    color: #2ecc71;
    border-bottom-color: #2ecc71;
}

/* Email obfuscation for privacy protection */
.email-protection {
    /* Uses visible text with the real email hidden in a data attribute */
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px dotted #3498db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-protection:hover {
    color: #2ecc71;
    border-bottom-color: #2ecc71;
}

.thank-you-container {
    background-color: #34495e;
    padding: 40px;
    border-radius: 8px;
    margin: 20px 0;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.thank-you-icon {
    margin-bottom: 20px;
    color: #2ecc71;
    font-size: 4rem;
}

.thank-you-heading {
    color: #2ecc71;
    margin-bottom: 20px;
    font-size: 2rem;
}

.thank-you-message {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.back-to-home {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .thank-you-container {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .thank-you-container {
        padding: 20px;
    }

    .thank-you-heading {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .privacy-content {
        padding: 15px;
    }

    .policy-section h2 {
        font-size: 1.3rem;
    }

    .policy-section h3 {
        font-size: 1.1rem;
    }
}

/* Mobile modal styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    background-color: #34495e;
    margin: 15% auto;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    width: 350px;
    animation: modalFadeIn 0.3s ease-in-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    margin-bottom: 15px;
}

.modal-header h3 {
    color: #3498db;
    margin: 0;
}

.modal-body {
    margin-bottom: 20px;
}

.modal-body p {
    margin-bottom: 10px;
}

.modal-footer {
    text-align: right;
}

#modal-close-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#modal-close-btn:hover {
    background-color: #2980b9;
}

.ad-container {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    padding: 15px;
    text-align: center;
    background-color: #34495e;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ad-placeholder {
    display: block;
    text-align: center;
    padding: 10px;
}

.ad-placeholder p {
    font-size: 0.9rem;
    color: #3498db;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tip-container {
    background-color: #2c3e50;
    border-radius: 6px;
    padding: 15px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.game-tip {
    color: #ecf0f1;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}

/* Media queries for responsive behavior */
@media (max-width: 768px) {
    .ad-container {
        padding: 10px;
        margin: 15px auto;
    }

    .tip-container {
        min-height: 70px;
        padding: 12px;
    }

    .game-tip {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .ad-container {
        padding: 8px;
        margin: 10px auto;
        max-width: 95%;
    }

    .tip-container {
        min-height: 60px;
        padding: 10px;
    }

    .game-tip {
        font-size: 0.8rem;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .game-promo {
        flex-direction: column;
        gap: 20px;
    }

    .player-stats,
    .cta-container {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    h1 {
        font-size: 1.8rem;
    }

    .game-container {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .game-container {
        height: 300px;
    }

    body {
        padding: 0;
    }

    main {
        padding: 15px;
    }

    h1 {
        font-size: 1.6rem;
    }
}