/* Base styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Press Start 2P', cursive;
    background: url('https://images.unsplash.com/photo-1550745165-9bc0b252726f') no-repeat center center fixed;
    background-size: cover;
    color: white;
    overflow-x: hidden;
    line-height: 25px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

}

.container {
    text-align: center;
    padding: 10px 10px;
}

/* Navbar */
nav {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

nav a {
    text-decoration: none;
    color: white;
    margin: 0 15px;
    font-size: 14px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ff004f;
}

.logo {
    z-index: 0;
    position: fixed;
    top: 1.4%;
    left: 2%;
    height: 65px;
}

.discordbutton {
    z-index: 0;
    position: fixed;
    top: 2%;
    right: 1%;
    background: transparent;
    border: none !important;
    font-size: 0;
    height: 40px;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
}

#hero .title {
    font-size: 48px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    animation: neonGlow 1.5s ease-in-out infinite alternate;
}

#hero .tagline {
    font-size: 24px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    margin: 20px auto;
}

@keyframes neonGlow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 0, 79, 0.4);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.9), 0 0 30px rgba(255, 0, 79, 0.7);
    }
}

/* Call to Action */
.cta {
    margin-top: 30px;
}

.cta .button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    background: #ff004f;
    color: white;
    font-family: 'Press Start 2P', cursive;
    animation: bounce 1s infinite alternate;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-top: 30px;
    text-decoration: none;
    text-align: center;
}

.cta .button:hover {
    background: #ff0080;
    transform: scale(1.05);
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* Countdown Timer */
.container-countdown {
    margin-top: 50px;
    font-size: 30px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    align-items: center;
    text-align: center;
}

/* About Section */
.game-showcase {
    margin: 50px 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
}

.games {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

@media screen and (max-width: 768px) {
    .games {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    color: #fff;
    text-align: center;
    transition: transform 0.3s ease;
}

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

/* FAQ Section */
.testimonials {
    padding: 40px 0;
    background: rgba(27, 15, 61, 0.8);
}

/* Add a container for the title */
.faq-header {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

.faqtitle {
    font-size: 50px;
    line-height: 100px;
    display: block;  /* Change to block */
    margin: 0 auto;  /* Center the title */
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease;
}

.faq-card:hover {
    transform: translateY(-5px);
}

.faq-question {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1em;
}

.faq-answer {
    line-height: 1.6;
}

/* Footer */
footer {
    background: rgba(27, 15, 61, 0.8);
    padding: 20px;
}

footer p {
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: rgba(27, 15, 61, 0.9);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    text-align: center;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Press Start 2P', cursive;
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

button[type="submit"] {
    background: #ff004f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

button[type="submit"]:hover {
    background: #ff007f;
}

.cursor {
    width: 20px;
    height: 20px;
    border: 1px solid white;
    border-radius: 50%;
    position: fixed;
    transition-duration: 200ms;
    transition-timing-function: ease-out;
    animation: cursorAnim .5s infinite alternate;
    pointer-events: none;
    z-index: 999;
}

.cursor::after {
    content: "";
    width: 20px;
    height: 20px;
    position: fixed;
    border: 8px solid gray;
    border-radius: 50%;
    opacity: .5;
    animation: cursorAnim2 .5s infinite alternate;
    z-index: 999;
    top:4%;
    left:4%



}


@keyframes cursorAnim {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(.7);
    }
}

@keyframes cursorAnim2 {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(.4);
    }
}

@keyframes cursorAnim3 {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(3);
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.expand {
    animation: cursorAnim3 .5s forwards;
    border: 1px solid red;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    nav {
        padding: 10px 0;
    }

    nav a {
        font-size: 12px;
        margin: 0 10px;
    }

    .logo {
        height: 60px;
    }

    .discordbutton {
        height: 30px;
    }
    #hero {
        height: 450px;
    }
    #hero .title {
        font-size: 30px;
        line-height: 1.6;
    }

    #hero .tagline {
        font-size: 18px;
    }

    .countdown {
        font-size: 24px;
    }

    .games {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .faqtitle {
        font-size: 36px;
        line-height: 60px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    nav a {
        font-size: 10px;
        margin: 0 5px;
    }

    .logo {
        height: 40px;
    }

    .discordbutton {
        height: 20px;
    }
    #hero {
        background: rgba(0, 0, 0, 0);
    }
    #hero .title {
        font-size: 28px;
    }

    #hero .tagline {
        font-size: 14px;
    }

    .countdown {
        font-size: 20px;
    }

    .cta .button {
        font-size: 14px;
        padding: 10px 20px;
    }

    .faqtitle {
        font-size: 24px;
        line-height: 30px;
    }

    .faq-question {
        font-size: 14px;
    }

    .faq-answer {
        font-size: 12px;
    }
}
.cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #eee;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: width 1000ms, height 1000ms;
}

.cursor.large {
    height: 70px;
    width: 70px;
}
.bob {
    cursor: url('custom-cursor.png'), auto;
    cursor: default;
}

.bob:hover{
    cursor: url('custom-cursor.png'), auto;
}
@media screen and (max-width: 768px) {
    body, html {
        /* Use 'scroll' instead of 'fixed' for better mobile performance */
        background-attachment: scroll;
    }
}
/* Center the grid container, like the FAQ */
.centered-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Auto adjusts to screen size */
    gap: 15px; /* Reduced space between grid items */
    justify-items: center; /* Centers the items in each grid cell */
    align-items: center; /* Vertically centers the content */
    max-width: 100%; /* Prevents overflow */
    margin: 20px auto;
    padding: 20px;
}

/* Individual grid items styling */
.centered-grid .grid-item {
    text-align: center;
    background: rgba(255, 204, 204, 0.5); /* Light red background */
    border-radius: 10px;
    padding: 15px; /* Reduced padding */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.centered-grid .grid-item:hover {
    transform: translateY(-5px); /* Add a slight hover effect */
}

.centered-grid h2 {
    font-size: 32px;
    margin-bottom: 8px; /* Reduced space between question and answer */
}

.centered-grid p {
    font-size: 16px;
    line-height: 1.4; /* Reduced line height for closer text */
    margin-bottom: 0; /* No space below the answer */
}

/* Adjust "When" section to match answer length */
.centered-grid .grid-item:nth-child(2) p {
    white-space: normal; /* Ensures the text wraps as needed */
    word-break: break-word; /* Prevents overflow */
    max-width: 300px; /* Restricts the "When" answer's width */
}

/* Media Queries for responsiveness */
@media screen and (max-width: 768px) {
    .centered-grid h2 {
        font-size: 28px;
    }

    .centered-grid p {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .centered-grid h2 {
        font-size: 24px;
    }

    .centered-grid p {
        font-size: 14px;
    }
}
.light-red {
    color: #ffcccc; /* Light red color */
}
@media screen and (max-width: 768px) {
    body, html {
        background-attachment: scroll;
    }
}
/* Adding new sponsorship styles to your existing CSS */
.sponsor
.sponsor-showcase {
    margin: 50px 0;
    padding: 0px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
}
.sponsor-text{
    font-size: 2.0em;
    font-family: "Host Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 35px;
    text-align: left;
  }
.sponsor-widget {
    max-width: 1000px;
    margin: 10px auto;
}

.sponsor-link {
    text-decoration: none;
    color: white;
    display: block;
}

.sponsor-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: left;
    gap: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sponsor-content:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.sponsor-logo img {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 1;
}

.sponsor-info {
    text-align: left;
}

.sponsor-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffcccc;
}

.sponsor-info p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

@media screen and (max-width: 768px) {
    .sponsor-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding: 20px;
    }

    .sponsor-logo {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .sponsor-info {
        text-align: center;
    }
}
  @media (max-width: 768px) {
    .sponsor-showcase {
        scale: 80%;
        margin-top: -100px;
        text-align: center;
    }
    .sponsor-widget {
      flex-direction: column;
      text-align: center;
    }
  
    .sponsor-logo{
      margin-bottom: 15px;
      margin-left: 20%; 

    }
  
    .sponsor-text h3{
      font-size: 1.2em;
      font-family: "Host Grotesk", sans-serif;
      font-optical-sizing: auto;
      font-style: normal;
      text-align: center;
      line-height: 40px;
    }
    .sponsor-text{
        text-align: center;
    }
    .video-demo {
        display: none;
    }
    video{
        display: none;
    }
    .container-countdown{
        line-height: 10px;
        text-align: center;
        font-size: 13px;
    }
  }
/* Flappy widget styles */
.flappy-widget {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.flappy-game {
    width: 80%;
    height: 80%;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: red;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
}

.rosebud-logo {
    cursor: pointer;
}
video{
    border-radius: 70px;
}