body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background: url('https://i.pinimg.com/564x/3b/a8/48/3ba8486a8d8800ffc1873d3553a16d01.jpg') no-repeat center center fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    color: #fff;
    scrollbar-width: thin;
    scrollbar-color: #ff4040 #202020;
}

html {
    scroll-behavior: smooth
}

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

::-webkit-scrollbar-track {
    background: #202020
}

::-webkit-scrollbar-thumb {
    background-color: #ff4040;
    border-radius: 10px
}

.full-page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity .5s ease, visibility .5s ease;
    opacity: 1;
    visibility: visible;
    pointer-events: all
}

.full-page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

body.loading,
html.loading {
    overflow: hidden
}

.loader {
    border: 10px solid #202020;
    border-top: 10px solid #5d40ff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite
}

@keyframes spin {
    0% {
        transform: rotate(0)
    }
    100% {
        transform: rotate(360deg)
    }
}

.full-page-loader p {
    color: #fff;
    font-size: 1rem;
    margin-top: 20px;
    text-align: center
}

.navbar {
    background-color: #202020;
    padding: .5rem 1rem
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    color: #ff4040
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px
}

.navbar-nav .nav-link {
    color: #ff4040;
    transition: color .3s ease
}

.navbar-nav .nav-link:hover {
    color: #f66
}

.navbar-nav .btn-danger {
    margin-left: 10px;
    color: #fff;
    background-color: #ff4040;
    border: none
}

.navbar-nav .btn-danger:hover {
    background-color: #f66
}

.hero {
    background-color: #111;
    padding: 100px 0;
    text-align: center;
    position: relative
}

.hero h1 {
    font-size: 3rem;
    color: #ff4040
}

.hero p {
    font-size: 1.2rem;
    color: #fff
}

.hero .btn-primary {
    margin-top: 20px;
    background-color: #ff4040;
    border-color: #ff4040;
    transition: background-color .3s ease, transform .3s ease
}

.hero .btn-primary:hover {
    background-color: #f66;
    transform: scale(1.05)
}

.features {
    background-color: #202020;
    padding: 80px 0
}

.features h2 {
    color: #ff4040;
    text-align: center;
    margin-bottom: 50px
}

.feature-box {
    background-color: #111;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    transition: background-color .3s ease
}

.feature-box h3 {
    color: #ff4040
}

.feature-box:hover {
    background-color: #151515
}

.contact {
    background-color: #1a1a1a;
    padding: 60px 0
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px
}

.contact-info a {
    color: #ff4040;
    text-decoration: none
}

.contact-info a:hover {
    color: #f66
}

.section-divider {
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #ff4040, #202020, #ff4040);
    margin: 50px 0
}

.footer {
    background-color: #111;
    color: #fff;
    padding: 40px 0;
    border-top: 2px solid #ff4040
}

.footer-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff4040;
    margin-bottom: 15px
}

.footer-description {
    font-size: 1rem;
    color: #ddd
}

.footer-links {
    margin-top: 20px
}

.footer-link {
    color: #ff4040;
    text-decoration: none;
    margin-right: 15px;
    transition: color .3s ease, text-decoration .3s ease
}

.footer-link:hover {
    color: #f66;
    text-decoration: underline
}

.footer-bottom {
    font-size: .875rem;
    color: #aaa
}

@media (max-width:767px) {
    .footer .text-md-end {
        text-align: center;
        margin-top: 20px
    }
    .footer-link {
        display: block;
        margin-bottom: 10px
    }
}

.contact {
    background-color: #1a1a1a;
    padding: 60px 0
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px
}

.contact-info p {
    font-size: 1rem;
    color: #fff
}

.contact-info a {
    color: #ff4040;
    text-decoration: none
}

.contact-info a:hover {
    color: #f66
}

.supported-games {
    padding: 60px 0;
    background-color: #111;
    color: #fff
}

.supported-games h2 {
    font-size: 2.5rem;
    color: #ff4040;
    margin-bottom: 40px;
    text-align: center
}

.supported-games .game-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px
}

.supported-games .game-box {
    background-color: #222;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
    transition: transform .3s ease, box-shadow .3s ease
}

.supported-games .game-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .3)
}

.supported-games .game-box img {
    width: 100%;
    max-width: 400px;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 0 auto
}

.supported-games .game-box h3 {
    color: #fff;
    margin-top: 15px;
    font-size: 1.2rem
}

.supported-games .game-box p {
    color: #bbb;
    font-size: .9rem;
    margin-top: 10px
}

.about-us {
    padding: 60px 0;
    background-color: #222;
    color: #fff
}

.about-us h2 {
    font-size: 2.5rem;
    color: #ff4040;
    margin-bottom: 40px
}

.about-us p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 20px
}

.about-us .btn-primary {
    background-color: #ff4040;
    border-color: #ff4040;
    transition: background-color .3s ease, box-shadow .3s ease
}

.about-us .btn-primary:hover {
    background-color: #f66;
    box-shadow: 0 5px 15px rgba(255, 64, 64, .3)
}

main {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease
}

main.loaded {
    opacity: 1;
    transform: translateY(0)
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff4040;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
    opacity: 0;
    visibility: hidden
}

.back-to-top.show {
    opacity: 1;
    visibility: visible
}

.back-to-top:hover {
    background-color: #f66;
    transform: scale(1.1)
}

.hide-scrollbar {
    overflow: hidden
}

.key-box {
    background-color: #202020;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: 100px auto
}

.key-input {
    background-color: #333;
    color: #fff;
    border: 2px solid #ff4040;
    text-align: center
}

.key-input:focus {
    background-color: #333;
    color: #fff;
    border-color: #ff4040;
    box-shadow: none
}

.copy-btn {
    background-color: #ff4040;
    color: #fff;
    border: none;
    transition: background-color .3s ease, transform .3s ease
}

.copy-btn:hover {
    background-color: #f66;
    transform: scale(1.05)
}

.copy-notification {
    margin-top: 15px;
    color: #0f0;
    font-size: 1rem;
    display: none;
    opacity: 0;
    transition: opacity .5s ease-in-out
}

.copy-notification.show {
    display: block;
    opacity: 1
}

.delete-btn {
    background-color: #ff4040;
    color: #fff;
    border: none;
    transition: background-color .3s ease, transform .3s ease
}

.delete-btn:hover {
    background-color: #f66;
    transform: scale(1.05)
}

.delete-notification {
    margin-top: 15px;
    color: #0f0;
    font-size: 1rem;
    display: none;
    opacity: 0;
    transition: opacity .5s ease-in-out
}

.delete-notification.show {
    display: block;
    opacity: 1
}

.key-title {
    font-size: 1.5rem;
    font-weight: 700
}

.key-expiry {
    font-size: .9rem;
    color: #ff4040;
    margin-top: 10px
}

.terminal-code {
    background-color: #1e1e1e;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    white-space: pre-wrap
}

.modal-content {
    background-color: #2d2d2d;
    color: #fff
}

.modal-header {
    border-bottom: 1px solid #444
}

.btn-close {
    filter: brightness(0) invert(1)
}

.alert-custom {
    background-color: #caa01f;
    color: #1f1f1f;
    font-weight: 600;
    padding: 20px 30px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, .3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    max-width: 600px;
    text-align: center;
    transition: transform .3s ease
}

.alert-custom:hover {
    transform: scale(1.02)
}

@media (max-width:768px) {
    .alert-custom {
        font-size: 1rem;
        padding: 15px 20px
    }
}

.alert-custom-icon {
    font-size: 2.5rem;
    margin-right: 15px;
    color: red;
    vertical-align: middle;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .2)
}

.alert-custom-text {
    display: inline-block;
    vertical-align: middle;
    font-size: 1.2rem;
    color: #000;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .2)
}
.ad-banner {
    position: fixed;
    bottom: -60px; 
    left: 0;
    width: 100%;
    height: 62px;
    background-color: #f4f4f4;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
}

.ad-banner.show {
    bottom: 0; 
}
.ad-banner .close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background-color: #ff4d4d;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.ad-banner .close-btn:hover {
    background-color: #e60000;
}
