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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a;
    color: white;
    line-height: 1.6;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo-link {
    display: inline-block;
    transition: opacity 0.3s;
}

.logo-link:hover {
    opacity: 0.8;
}

nav img {
    height: 40px;
    display: block;
}

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #e74c3c;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-menu-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.mobile-menu-header img {
    height: 40px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.mobile-menu-links li {
    width: 100%;
    text-align: center;
}

.mobile-menu-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 1rem;
    display: block;
    border-radius: 10px;
    transition: all 0.3s;
}

.mobile-menu-links a:hover {
    background: #e74c3c;
    color: white;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #e74c3c;
}

.cta-button.secondary:hover {
    background: #e74c3c;
}

/* Sections */
section {
    padding: 80px 0;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: #e74c3c;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e74c3c;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Demo Section */
#demo {
    background: #2c2c2c;
}

.demo-container {
    text-align: center;
}

.demo-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.demo-frame {
    width: 100%;
    max-width: 800px;
    height: 500px;
    margin: 2rem auto;
    border: 2px solid #e74c3c;
    border-radius: 10px;
    background: #1a1a1a;
    overflow: hidden;
    position: relative;
}

.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.demo-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.overlay-content {
    text-align: center;
    padding: 2rem;
}

.overlay-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #e74c3c;
}

.overlay-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ccc;
}

.demo-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* About Section */
.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.about-image {
    order: 1;
}

.about-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    border: 2px solid #e74c3c;
}

.about-content {
    order: 2;
    text-align: left;
    max-width: 1000px;
}

/* Strategy Section */
.strategy-list {
    list-style: none;
    margin: 2rem 0;
}

.strategy-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
}

.strategy-list li::before {
    content: '🐔';
    position: absolute;
    left: 0;
    top: 1rem;
}

/* Mechanics Section */
.difficulty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.difficulty-card {
    background: #2c2c2c;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.difficulty-card:hover {
    border-color: #e74c3c;
    transform: translateY(-5px);
}

.difficulty-card.hardcore {
    border-color: #e74c3c;
    background: linear-gradient(135deg, #2c2c2c, #3c1e1e);
}

/* Hack Section */
.hack-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.hack-image {
    order: 1;
}

.hack-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    border: 2px solid #e74c3c;
}

.hack-content {
    order: 2;
    text-align: left;
    max-width: 1000px;
}

/* FAQ Section */
.faq-item {
    background: #2c2c2c;
    margin: 1rem 0;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

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

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: #0f0f0f;
    padding: 3rem 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

footer img {
    height: 50px;
}

footer ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

footer a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #e74c3c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .about-container,
    .hack-container {
        text-align: center;
    }

    .about-image img,
    .hack-image img {
        max-width: 100%;
    }

    .difficulty-grid {
        grid-template-columns: 1fr;
    }

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

    footer ul {
        justify-content: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Section spacing */
section:nth-child(even) {
    background: #2c2c2c;
}

.text-center {
    text-align: center;
}

.highlight {
    color: #e74c3c;
    font-weight: 600;
}
