
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1f1c2c, #928dab);
    color: #fff;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow:initial;
    position: relative;
}

.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #1e1e2f;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}
.navbar a {
    color: #e0e0e0;
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    transition: background 0.3s, color 0.3s;
}
.navbar a:hover, .navbar a.active {
    background: #00d4ff;
    color: #1e1e2f;
}
.navbar svg {
    width: 32px;
    height: 32px;
}
#offlineMessage {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ff4d4d;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    z-index: 1000;
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    margin-top: 100px;
}

h2 {
    font-size: 35px;
    margin-bottom: 5px;
    color: #0fe6bb;
}
h3 {
    font-size: 25px;
    margin-bottom: 15px;
    color: #ffffff;
}

h1 {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ffffff;
}

.container2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #e74c3c;
}

input,
button {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: none;
    text-align: center;
}

button {
    background: linear-gradient(45deg, #1abc9c, #16a085);
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.yallow {
    background: linear-gradient(45deg, #f1c40f, #f39c12);
    color: white;
    cursor: pointer;
    transition: 0.3s;
    min-height: 50px;
}

button:hover {
    transform: scale(1.1);
}

#reader {
    width: 300px;
    margin: auto;
}

#result {
    margin-top: 20px;
    font-size: 18px;
    color: green;
}

#offlineMessage {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #e74c3c;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
}


.hero-media__img img {
    max-width: -webkit-fill-available;
    height: aut-webkit-fill-availableo;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 60%;
    width: 100%;
    left: 10%;
    z-index: -1;
}


@media (min-width: 768px) {
    .container2 {
        flex-direction: row;
    }

    .h22 {
        font-size: 40px;
        top: 10%;
        left: 5%;
    }
}

@media (min-width: 1024px) {
    .h22 {
        font-size: 20px;
        top: 50%;
        left: 10%;
    }
}

.glow {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #0fe6bb, 0 0 40px #0fe6bb, 0 0 50px #0fe6bb, 0 0 60px #0fe6bb, 0 0 70px #0fe6bb;
}
.ticket {
    width: 300px;
    height: 150px;
    background: linear-gradient(135deg, #0ff, #00a);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 20px #0ff;
    overflow: hidden;
    animation: appear 1s ease-out forwards;
    transform: scale(0);
    display: none;
}

@keyframes appear {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.ticket::before, .ticket::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: #000;
    border-radius: 50%;
}

.ticket::before {
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.ticket::after {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: blink 1s infinite ease-in-out;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.3; }
}