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

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #fff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ADD THIS NEW CSS FOR THE GLOWS */
.glow-element {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.2) 0%, rgba(138, 43, 226, 0) 70%);
    filter: blur(60px); /* This makes the edges much softer */
}

/* Position for the first glow (behind the hero section) */
.glow-element.top-left {
    width: 900px;
    height: 900px;
    top: -250px;
    left: -300px;
}

/* Position for the second glow (further down the page) */
.glow-element.middle-right {
    width: 1000px;
    height: 1000px;
    top: 900px; /* Adjust this value to move it up/down */
    right: -400px;
}

/* Position for the third glow (near the bottom) */
.glow-element.bottom-center {
    width: 800px;
    height: 800px;
    top: 2000px; /* Adjust this value to move it up/down */
    left: 50%;
    transform: translateX(-50%);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #8A2BE2;
    border-radius: 4px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.logo img {
    height: 40px;
    margin-right: 12px;
}

.navbar-links ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.navbar-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.navbar-links a:hover {
    color: #fff;
}

.cta-button {
    background-color: #8A2BE2;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    background-color: #7b24cc;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.7);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 120px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    max-width: 800px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    color: #ccc;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #8A2BE2;
    color: #fff;
}

.btn-primary:hover {
    background-color: #7b24cc;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.7);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.creator-info {
    font-size: 14px;
    color: #aaa;
    margin-top: 20px;
}

/* General Section Styling */
section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
}

section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
}

/* About Section */
.glassy-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    margin-top: 20px;
    text-align: left;
}

.glassy-box h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #d77aff;
}

.glassy-box p {
    color: #ccc;
    line-height: 1.7;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-box h3 {
    font-size: 20px;
    color: #d77aff;
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-box {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    width: 320px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.pricing-box h3 {
    font-size: 22px;
    color: #d77aff;
    margin-bottom: 15px;
}

.pricing-box p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 30px;
}

/* FAQ & External Section */
.dropdown-container {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.dropdown-button {
    width: 100%;
    background: transparent;
    color: white;
    padding: 18px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s;
}

.dropdown-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    color: #ccc;
    transition: max-height 0.4s ease, padding 0.3s ease;
    line-height: 1.6;
}

/* Team Section */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.member {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.member img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.member div {
    text-align: left;
}

.member strong {
    display: block;
    font-size: 18px;
    color: #fff;
}

.member span {
    font-size: 14px;
    color: #ccc;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.game-card h3 {
    font-size: 20px;
    color: #d77aff;
    margin-bottom: 15px;
}

.game-card ul {
    list-style: none;
    padding-left: 0;
    color: #ccc;
}

.game-card ul li {
    margin-bottom: 8px;
}

#controller-support .glassy-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#controller-support h3 {
    margin-bottom: 15px;
}

/* ==========================
   PURCHASE PAGE STYLES
   ========================== */

.purchase-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 20px;
}

.purchase-details {
    text-align: left;
}

.purchase-details h2 {
    font-size: 32px;
    color: #d77aff;
    margin-bottom: 10px;
}

.purchase-details .price {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.purchase-details .description {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 30px;
}

.purchase-btn {
    width: 100%;
    text-align: center;
    font-size: 18px;
    padding: 18px;
}

.purchase-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.5);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.features-list p {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments for purchase page */
@media (max-width: 800px) {
    .purchase-box {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    .purchase-image {
        order: -1; /* Move image to the top on mobile */
    }
}
