body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle, rgba(40, 104, 120, 1) 0%, #1a4450 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    padding: 15px 40px;
    backdrop-filter: blur(10px);
    /* border-bottom: 5px solid #fcff00; Removed in favor of gradient */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    background: #262626;
    box-shadow: inset 0px 0px 5.83396px #272400;
    position: relative;
}

header::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(0deg, #936c18 0%, #deb35d 100%);
    z-index: 11;
}

header:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background-image: url('../assets/btn_bg_pattern.svg');
    background-repeat: repeat;
    background-size: 80px;
    opacity: .05;
    pointer-events: none;
    z-index: -1;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: #DDB35C;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;

}

.nav-link:hover {
    color: #BDFF02;
}

/* Main Content */
#app {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#app::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background-image: url('../assets/background_pattern.svg');
    background-repeat: repeat;
    background-size: 80px;
    opacity: .05;
    pointer-events: none;
    z-index: -1;
}

/* #app::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background-image: url('../assets/game_board.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 1;
    pointer-events: none;
    z-index: -1;

} */


/* Footer Styles */
footer {
    background: #262626;
    box-shadow: inset 0px 0px 5.83396px #272400;
    padding: 40px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    position: relative;
    z-index: 10;
}

footer::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, #E9BB55 0%, #F0E76E 100%);
    z-index: 11;
}

footer::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background-image: url('../assets/btn_bg_pattern.svg');
    background-repeat: repeat;
    background-size: 80px;
    opacity: .05;
    pointer-events: none;
    z-index: -1;
}

.footer-section h3 {
    color: #BDFF02;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

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

.download-btn {
    padding: 12px 30px 12px 30px;
    color: #DDB35C;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-image: url(../assets/btn-base.png);
    background-repeat: no-repeat;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    display: inline-block;
    background-size: contain;
    aspect-ratio: 409 / 159;
    min-width: 64px;
    text-align: center;
}

.download-btn:hover {
    color: #BDFF02;
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Split Layout */
.split-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

.board-preview img {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

/* Gameplay Buttons */
.gameplay-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.game-btn {
    display: block;
    transition: transform 0.3s ease;
}

.game-btn img {
    display: block;
    height: 140px;
    /* Adjust based on actual image size preference */
    width: auto;
}

.game-btn:hover {
    transform: scale(1.05);
}

/* Hero Tagline */
.hero-tagline {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(135deg, #E9BB55 0%, #F0E76E 50%, #DDB35C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    line-height: 1.4;
    max-width: 500px;
    text-shadow: 0 2px 10px rgba(233, 187, 85, 0.3);
}

/* Royal Button Styles */
.royal-btn {
    position: relative;
    width: 355px;
    /* Scaled down by 50% from 711px */
    height: 131px;
    /* Scaled down by 50% from 263px */
    background: #262626;
    box-shadow: 4.7px 4.7px 4.7px rgba(0, 0, 0, 0.25), inset 0px 0px 9.4px rgba(0, 0, 0, 0.24);
    border-radius: 45px;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.royal-btn:hover {
    transform: scale(1.05);
    box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.3), inset 0px 0px 12px rgba(0, 0, 0, 0.3);
}

.royal-btn:active {
    transform: scale(0.98);
}

.btn-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: #AE945E;
    letter-spacing: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.decoration-group {
    position: absolute;
    width: 93px;
    /* Scaled down */
    height: 25px;
    /* Scaled down */
    top: 50%;
    transform: translateY(-50%);
}

.decoration-group.left {
    left: 20px;
    transform: translateY(-50%) rotate(90deg);
}

.decoration-group.right {
    right: 20px;
    transform: translateY(-50%) rotate(-90deg);
}

.vec {
    position: absolute;
    border: 1px solid #AE945E;
    /* Scaled border */
    box-sizing: border-box;
}

.vec-90 {
    width: 6px;
    height: 14px;
    top: 0;
    left: 20px;
}

.vec-91 {
    width: 4.4px;
    height: 10.6px;
    top: 5px;
    left: 30px;
    transform: rotate(35deg);
}

.vec-92 {
    width: 4.4px;
    height: 10.6px;
    top: 5px;
    left: 10px;
    transform: rotate(-35deg);
}

.vec-93 {
    width: 4.2px;
    height: 9.5px;
    top: 15px;
    left: 35px;
    transform: rotate(74deg);
}

.vec-94 {
    width: 4.2px;
    height: 9.5px;
    top: 15px;
    left: 5px;
    transform: rotate(-74deg);
}

.ellipse-45 {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    top: 20px;
    left: 20px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #DDB35C;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        /* Adjust based on header height */
        gap: 0;
        flex-direction: column;
        background-color: #262626;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 9;
        border-bottom: 5px solid #E9BB55;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-link {
        display: block;
        padding: 20px 0;
    }

    .split-layout {
        flex-direction: column;
        gap: 30px;
    }

    .board-preview img {
        max-height: 40vh;
    }

    .gameplay-buttons {
        flex-direction: column;
        gap: 20px;
    }

    footer {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }
}