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

:root {
    --main-color: #e3b44e;
    --secondary-color: #f0f0f0;
    --text-color: #333;
    --font-family: 'Segoe UI', 'Arial', sans-serif;
    --font-size: 16px;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size);
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">🦆</text></svg>'), auto;
}

/* Custom Cursors */
a, button, .btn {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">👆</text></svg>'), pointer !important;
}

input[type="range"] {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">🎚️</text></svg>'), pointer !important;
}

.home .image-container img {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">👈</text></svg>'), pointer !important;
}

#game-canvas {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">🎮</text></svg>'), pointer !important;
}

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

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}

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

.justify-content-space-between {
    justify-content: space-between;
}

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

.gap-20 {
    gap: 20px;
}

.fixed-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Navbar styles */
.navbar {
    background-color: var(--main-color);
    padding: 1rem 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.navbar .wise-duck-home {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.navbar .wise-duck-home:hover {
    transform: translateY(-2px);
    color: #fff;
}

.menu-icon {
    font-size: 1.8rem;
    display: none;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

.menu-icon:hover {
    color: #fff;
}

#menu-toggle {
    display: none;
}

.links {
    list-style: none;
    gap: 20px;
}

.links li {
    display: inline;
    margin: 0 10px;
}

.links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.links a:hover {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.1);
}

/* Home Section */
.home {
    background: linear-gradient(135deg, var(--main-color) 0%, #f5d78e 100%);
    padding: 80px 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.home .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.home .image-container {
    width: 100%;
    max-width: 300px;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.home .image-container:hover {
    transform: scale(1.05);
}

.home img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: var(--box-shadow);
}

.home h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
    color: var(--text-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.home .quote-container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: auto;
    max-width: 600px;
    width: 100%;
    transition: var(--transition);
}

.home .quote-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.home .quote {
    font-size: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    line-height: 1.8;
}

.home .quote::before,
.home .quote::after {
    content: '"';
    font-size: 3rem;
    color: var(--main-color);
    position: absolute;
    opacity: 0.5;
}

.home .quote::before {
    top: -1rem;
    left: -1rem;
}

.home .quote::after {
    bottom: -2rem;
    right: -1rem;
}

.btn {
    background-color: var(--main-color);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: var(--text-color);
    color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.rightSide-buttons {
    display: flex;
    gap: 1rem;
}

/* About Section */
.about {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.about .container {
    display: flex;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about .image-container {
    flex: 0 0 300px;
    height: 400px;
    background-image: url('../assets/wise-duck-about.jpg');
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about .image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 100%);
    transition: var(--transition);
}

.about .image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about .image-container:hover::after {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 100%);
}

.about .about-content {
    flex: 1;
    padding: 2rem;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about .about-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about .about-content h1 {
    color: var(--main-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about .about-content h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--main-color);
    transition: var(--transition);
}

.about .about-content:hover h1::after {
    width: 100%;
}

.about .about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Media Queries for About Section */
@media screen and (max-width: 992px) {
    .about .container {
        gap: 2rem;
    }

    .about .image-container {
        flex: 0 0 250px;
        height: 350px;
    }

    .about .about-content h1 {
        font-size: 2.2rem;
    }

    .about .about-content p {
        font-size: 1rem;
    }
}

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

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

    .about .image-container {
        flex: 0 0 250px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

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

    .about .about-content h1::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about .about-content:hover h1::after {
        width: 60px;
    }
}

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

    .about .image-container {
        height: 250px;
    }

    .about .about-content {
        padding: 1.5rem;
    }

    .about .about-content h1 {
        font-size: 2rem;
    }

    .about .about-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Adventures Section */
.adventures {
    padding: 50px;
    background-color: var(--secondary-color);
    width: 100%;
}
.adventures .adventure {
    padding: 20px;
    border-radius: 8px;
    margin: auto;
    width: 100%;
    max-width: 700px;
}
.adventures .adventure .adventure-content {
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: auto;
    max-width: 600px;
    width: 100%;
    height: 100%;
    display: flex;
}
.adventures .adventure .image-container {
    height: 100%;
    width: 180px;
    display: flex;
    justify-content: center;

}

.adventures .adventure .image-container img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Store Section */
.store {
    padding: 50px;
    background-color: var(--secondary-color);
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    padding: 40px;
    text-align: center;
    color: var(--secondary-color);
}
.footer p {
    font-size: 16px;
    margin: 0;
}
.footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}
.footer a:hover {
    color: var(--main-color);
}

/* Ad Container */ 
.ad-container {
    max-width: 100%;
    overflow: hidden;
    text-align: center;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .menu-icon {
        display: block;
    }

    .navbar .links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--main-color);
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar #menu-toggle:checked + .menu-icon + .links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .links li {
        margin: 0.5rem 0;
    }

    .home h1 {
        font-size: 2rem;
    }

    .home .quote {
        font-size: 1.2rem;
    }

    .home .quote-container {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .home {
        padding: 60px 0;
    }

    .home h1 {
        font-size: 1.8rem;
    }

    .home .quote {
        font-size: 1.1rem;
    }

    .home .quote-container {
        padding: 1rem;
    }

    .buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .rightSide-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 680px) {
    .adventures .adventure {
        flex-direction: column;
    }
    
}