body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
}

a {
    color: cyan;
    text-decoration: none;
}

header {
    text-align: center;
    padding: 20px;
}

.logo {
    font-size: 28px;
    color: cyan;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-svg {
    width: 220px;
    height: auto;
}

.logo-svg text {
    fill: cyan;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 8px cyan, 0 0 15px cyan;
}
.logo-svg:hover {
    transform: scale(1.05);
    transition: 0.2s;
}

.socials a {
    margin: 0 10px;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    line-height: 1.6;
}

.container h1 {
    color: cyan;
}

.container p {
    color: #ccc;
}
.controls {
    text-align: center;
    margin: 20px;
}

input {
    padding: 8px;
    width: 200px;
    border-radius: 5px;
    border: none;
}

button.filter {
    margin: 5px;
    padding: 6px 10px;
    background: #111;
    border: 1px solid cyan;
    color: cyan;
    cursor: pointer;
    border-radius: 5px;
}

button.filter.active {
    background: cyan;
    color: black;
}

#codes {
    max-width: 900px;
    margin: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0a0a0a;
    border: 1px solid rgba(0,255,255,0.3);
    border-radius: 10px;
    padding: 10px 15px;
    transition: 0.2s;
}

.card:hover {
    box-shadow: 0 0 8px cyan;
}

.card-left {
    display: flex;
    flex-direction: column;
}

.code {
    color: cyan;
    font-weight: bold;
}

.expiry {
    font-size: 11px;
    color: orange;
}

.expired {
    opacity: 0.4;
}

.copy-btn {
    background: cyan;
    border: none;
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.copy-btn:hover {
    background: #00bbbb;
}

.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: cyan;
    color: black;
    padding: 8px 15px;
    border-radius: 5px;
    display: none;
}

footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid cyan;
    margin-top: 40px;
}

footer a {
    margin: 0 10px;
}
.socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.socials a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: cyan;
    text-decoration: none;
    font-size: 14px;
}

.socials svg {
    width: 20px;
    height: 20px;
    fill: cyan;
}

.live-box {
    max-width: 900px;
    margin: 40px auto;
    padding: 10px;
    text-align: center;
}

.live-box h3 {
    color: red;
    margin-bottom: 10px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,255,255,0.3);
    box-shadow: 0 0 10px rgba(0,255,255,0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-wrapper:hover {
    box-shadow: 0 0 20px cyan;
    transition: 0.3s;
}
.live-controls {
    text-align: center;
    margin-bottom: 10px;
}

.live-controls button {
    background: cyan;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.live-controls button:hover {
    background: #00bbbb;
}

.live-container {
    display: flex;
    gap: 10px;
    max-width: 1100px;
    margin: auto;
}

.video-wrapper {
    flex: 2;
    position: relative;
    padding-top: 56.25%;
}

.video-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.chat-box {
    flex: 1;
    height: 400px;
}

.chat-box iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: none;
}

@media(max-width:768px){
    .live-container {
        flex-direction: column;
    }

    .chat-box {
        height: 300px;
    }
}