/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow-y: auto;
}

/* Body */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

/* Fullscreen Media */
.media-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000;
    overflow: hidden;
    pointer-events: none;
}

#fullscreen-image,
#myVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

#myBtn {
    z-index: 1;
}

/* Button Visual Styling (purple) */
.purple-btn {
    display: inline-block;
    background: #6441a5;
    color: #fff;
    padding: 0.6em 1.2em;
    text-decoration: none;
    font-size: 1.2rem;
    border: none;
    border-radius: 0.5em;
    cursor: pointer;
    transition: background 0.3s;
    margin: 0.5em 0;
}

.purple-btn:hover {
    background: #7d5bbe;
}

/* Fixed Bottom Positioning (for Play button) */
.fixed-bottom-btn {
    position: fixed;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    pointer-events: auto;
}

/* Bottom mid Positioning (for Twitch button) */
.bottom-mid-btn {
    position: fixed;
    bottom: 3em;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: auto;
}

/* Menu Button */
.menu-btn {
    position: fixed;
    right: 1.5em;
    top: 1.5em;
    height: 4em;
    width: 4em;
    background: #6441a5;
    border: none;
    border-radius: 0.5em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    z-index: 20;
}

.menu-btn .btn-text::before {
    content: "menu";
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    font-family: sans-serif;
}

body.menu-open .menu-btn .btn-text::before {
    content: "close";
}

/* Menu Wrapper */
.wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 15;
    overflow-y: auto;
    clip-path: circle(0px at calc(100% - 3em) 3em);
    transition: clip-path 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.menu-open .wrapper {
    clip-path: circle(150% at calc(100% - 3em) 3em);
}

.wrapper ul {
    list-style: none;
    text-align: center;
    padding: 2em 0;
    margin: auto;
    width: 100%;
}

.wrapper ul li {
    margin: 1.5em 0;
}

.wrapper ul li a {
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    transition: color 0.3s;
}

.wrapper ul li a:hover {
    color: #6441a5;
}

/* Content Container (overlay) */
.content-container {
    position: relative;
    z-index: 5;
    margin-top: 100vh;
    /* Push content below the fold */
    padding: 1em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
}

/* Ad Container */
#ad-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 5;
    display: flex;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    color: #3d3d3d;
    text-align: center;
    padding: 1em;
    font-size: 0.8rem;
    z-index: 10;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .wrapper ul li a {
        font-size: 1.5rem;
    }

    .purple-btn {
        font-size: 1rem;
    }

    .fixed-bottom-btn {
        bottom: 5rem;
    }
}