body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #262630 0%, #3a3a4d 100%);
}

.carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 40px 0 0 0;
    position: relative;
    min-height: 400px;
}

.carousel>div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.carousel-btn {
    background: linear-gradient(90deg, #5a5aff 0%, #7f53ff 100%);
    color: #fff;
    border: none;
    border-radius: 32px;
    padding: 16px 20px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    margin: 0 16px;
    box-shadow: 0 4px 16px rgba(90, 90, 255, 0.15);
    transition: background 0.2s, transform 0.2s;
}

.carousel-btn:hover {
    background: linear-gradient(90deg, #7f53ff 0%, #5a5aff 100%);
    transform: scale(1.08);
}

#carousel-image {
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    background: #22223a;
    max-width: 700px;
    min-height: 320px;
    transition: max-width 0.4s, min-height 0.4s; /* <-- Add this line */
}

.carousel-pane {
    width: 50%;
    margin: -60px auto 0 auto;
    background: rgba(38, 38, 48, 0.95);
    color: #fff;
    padding: 32px 24px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    transition: transform 0.4s;
    transform: translateY(0);
    flex-direction: column;
    align-items: center;
}

.carousel-pane.hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(300px);
}
.carousel.expanded #carousel-image {
    max-width: 95vw;
    min-height: 480px;
    transition: max-width 0.4s, min-height 0.4s;
}

.logo {
    width: 100px;
    height: 100px;
    background-image: url('./icon.png');
    background-size: cover;
    margin: 20px auto 0 auto;
    display: block;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 24px 0 12px 0;
    letter-spacing: 2px;
    color: #7f53ff;
    text-align: center;
}

h2 {
    font-size: 1.3rem;
    color: #b3b3cc;
    margin-top: 32px;
    margin-bottom: 16px;
    text-align: center;
}

.buy-button-container {
    display: flex;
    justify-content: center;
    margin: 24px 0 0 0;
    width: 100%;
}

.carousel-pane p {
    color: #e0e0f0;
    font-size: 1rem;
    margin-bottom: 14px;
    text-align: left;
    width: 100%;
}

footer {
    margin-top: 80px;
    text-align: center;
    color: #b3b3cc;
    font-size: 1rem;
    padding-bottom: 24px;
}

@media (max-width: 900px) {
    .carousel-pane {
        width: 90%;
        padding: 24px 8px;
    }

    #carousel-image {
        max-width: 95vw;
    }
}

@media (max-width: 700px) {
    .carousel-pane {
        width: 100%;
        margin: -30px 0 0 0;
        padding: 16px 4px;
    }

    h1 {
        font-size: 1.5rem;
    }
}

#bg-video {
    position: fixed;
    top: 0;
    left: 50%;
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
    filter: blur(10px) brightness(0.7);
    pointer-events: none;
    transform: translate(-50%, 0) scale(1.5); /* Center horizontally and zoom */
}

a {
    color: #7f53ff;
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
}

#main-header {
    position: fixed;
    height: 50px;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #262630 60%, #3a3a4d 100%);
    box-shadow: 0 2px 24px rgba(90,90,255,0.10), 0 1.5px 0 #7f53ff inset;
    color: #fff;
    z-index: 100;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s, transform 0.4s, background 0.3s;
    padding: 0;
    backdrop-filter: blur(8px) saturate(1.2);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

#main-header.hide {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.header-content {
    margin: 10 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
}

.header-logo {
    margin: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #7f53ff;
    letter-spacing: 2.5px;
    text-shadow: 0 2px 12px rgba(127,83,255,0.15);
    background: linear-gradient(90deg, #7f53ff 30%, #5a5aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#main-header nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#main-header nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 8px 18px;
    border-radius: 22px;
    transition: 
        color 0.2s,
        background 0.2s,
        box-shadow 0.2s;
    position: relative;
}

#main-header nav a:hover, 
#main-header nav a:focus {
    color: #fff;
    background: linear-gradient(90deg, #7f53ff 0%, #5a5aff 100%);
    box-shadow: 0 2px 12px rgba(127,83,255,0.15);
    outline: none;
}

#main-header nav a.active {
    background: linear-gradient(90deg, #5a5aff 0%, #7f53ff 100%);
    color: #fff;
    box-shadow: 0 2px 12px rgba(90,90,255,0.18);
}

@media (max-width: 700px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 10px;
        gap: 8px;
    }
    #main-header nav {
        width: 100%;
        gap: 0;
    }
    #main-header nav a {
        margin-left: 0;
        margin-right: 18px;
        font-size: 1rem;
        padding: 8px 12px;
    }
}

.headerbtn {
    color: #7f53ff;
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s, background 0.2s;
    font-weight: 500;
    border-radius: 8px;
    padding: 2px 8px; /* Move padding here so it doesn't change on hover */
    transition: linear-gradient(90deg, #7f53ff 0%, #5a5aff 100%) 0.2s, color 0.2s, text-shadow 0.2s;
}

.headerbtn:hover, .headerbtn:focus {
    color: #fff;
    text-shadow: 0 2px 12px rgba(127,83,255,0.25);
    background: linear-gradient(90deg, #7f53ff 0%, #5a5aff 100%);
    outline: none;
    transition: linear-gradient(90deg, #7f53ff 0%, #5a5aff 100%) 0.2s, color 0.2s, text-shadow 0.2s;
}