/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

header {
    background-color: #6fb1fc;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img {
    height: 50px; /* Adjust logo size */
}

header h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #6fb1fc;
}

/* Main content styling */
main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Gallery Section */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 40px;
}

.ticket-item {
    margin: 20px;
    text-align: center;
    width: 300px;
}

.ticket-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.ticket-item button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #6fb1fc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    width: 100%;
}

.ticket-item button:hover {
    background-color: #6fb1fc;
}

/* Subtitles */
h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #1f2937;
}

footer {
    text-align: center;
    padding: 30px;
    background-color: #1f2937;
    color: #fff;
    margin-top: 50px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

footer p {
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery {
        flex-direction: column;
        align-items: center;
    }

    .ticket-item {
        width: 80%;
        margin-bottom: 20px;
    }
}

.purchase-btn, .lottery-btn {
    background-color: #6fb1fc; /* Updated to match the light blue */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px 30px;
    cursor: pointer;
    font-size: 16px;
}

.purchase-btn:hover, .lottery-btn:hover {
    background-color: #5a9de6;
}

.tooltip {
    visibility: hidden;
    width: 300px;
    background-color: #f9f9f9;
    color: #333;
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -150px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #f9f9f9 transparent transparent transparent;
}

.lottery-btn:hover + .tooltip {
    visibility: visible;
    opacity: 1;
}

footer {
    text-align: center;
    padding: 30px;
    background-color: #6fb1fc;
    color: white;
    margin-top: 50px;
}


.connect-btn {
    background-color: white;
    color: #6fb1fc;
    padding: 10px 20px;
    border: 2px solid #6fb1fc;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 20px;
}

.connect-btn:hover {
    background-color: #5a99e6;
    color: white;
}


#connect-wallet-choose-popup {
  display: none; /* Initially hidden */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 1px solid #ccc;
  padding: 20px;
  z-index: 1000;
}

.wallet-item {
  cursor: pointer;
  padding: 10px;
  border: 1px solid #ddd;
  margin: 5px 0;
}

.wallet-item:hover {
  background-color: #f0f0f0;
}
