/* Custom styles */
@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;500;600;700;800&display=swap');

* {
    font-family: 'Oxanium', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
    color: #e0e0e0;
    position: relative;
}

/* Main content overlay with low capacity */
main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(5px);
    z-index: -1;
    pointer-events: none;
}

.back-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.2);
}

.shadow-btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 10px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    background: rgba(217, 32, 39, 0.25);
    border: 2px solid #d92027;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.shadow-btn:hover {
    background: #d92027;
    color: white;
    box-shadow: 0 0 20px rgba(217, 32, 39, 0.5);
    transform: translateY(-3px);
}

.shadow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.shadow-btn:hover::before {
    left: 100%;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #d92027;
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.stats-counter {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #d92027, #ff483b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.server-card {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(217, 32, 39, 0.4);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.server-card:hover {
    transform: translateY(-5px);
    border-color: #d92027;
    box-shadow: 0 10px 25px rgba(217, 32, 39, 0.3);
}

.stats-card {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(217, 32, 39, 0.4);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.stats-card:hover {
    transform: translateY(-5px);
    border-color: #d92027;
    box-shadow: 0 10px 25px rgba(217, 32, 39, 0.3);
}

.progress-bar {
    height: 6px;
    background: rgba(217, 32, 39, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-value {
    height: 100%;
    background: #d92027;
    border-radius: 3px;
}

.discord-widget {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(217, 32, 39, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #d92027;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff483b;
}

/* Selection color */
::selection {
    background: #d92027;
    color: white;
}

/* Loader styles */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 3px solid;
    border-color: #d92027 #d92027 transparent transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader::after,
.loader::before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid;
    border-color: transparent transparent #ff483b #ff483b;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotationBack 0.5s linear infinite;
    transform-origin: center center;
}

.loader::before {
    width: 40px;
    height: 40px;
    border-color: #d92027 #d92027 transparent transparent;
    animation: rotation 1.5s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotationBack {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

/* Store specific styles */
.filter-btn {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(217, 32, 39, 0.3);
    color: #e0e0e0;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #d92027;
    color: white;
    border-color: #d92027;
}

.arrow-down {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 2px solid #d92027;
    border-radius: 50%;
    color: #d92027;
    font-size: 24px;
    text-align: center;
    line-height: 45px;
    animation: bounce 2s infinite;
    transition: all 0.3s;
}

.arrow-down:hover {
    background: #d92027;
    color: white;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.vip-section {
    margin-bottom: 3rem;
}

.vip-label {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(to right, #d92027, #ff483b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.vip-description {
    color: #aaa;
    margin-bottom: 1.5rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(217, 32, 39, 0.3);
    transition: all 0.3s;
}

.feature-image:hover {
    transform: scale(1.02);
    border-color: #d92027;
    box-shadow: 0 5px 15px rgba(217, 32, 39, 0.2);
}

/* Server specific styles */
.server-map-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid rgba(217, 32, 39, 0.3);
}

.server-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.server-detail-item {
    margin-bottom: 0.5rem;
}

.server-detail-label {
    font-size: 0.8rem;
    color: #aaa;
    display: block;
}

.server-detail-value {
    font-size: 0.9rem;
    color: white;
    font-weight: 500;
}

.status-online {
    color: #10b981;
    font-weight: bold;
}

.status-offline {
    color: #ef4444;
    font-weight: bold;
}

.connect-btn {
    background: linear-gradient(to right, #d92027, #ff483b);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    display: block;
    font-weight: bold;
    transition: all 0.3s;
}

.connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 32, 39, 0.4);
}

/* Download specific styles */
.download-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(217, 32, 39, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    text-align: center;
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: #d92027;
    box-shadow: 0 10px 25px rgba(217, 32, 39, 0.3);
}

.download-img {
    width: 100%;
    height: auto;
    transition: all 0.3s;
}

.download-card:hover .download-img {
    transform: scale(1.05);
}

.version-badge {
    background: linear-gradient(to right, #d92027, #ff483b);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Original image size styling */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.download-item {
    text-align: center;
}

.download-item a {
    display: block;
    transition: all 0.3s;
}

.download-item a:hover {
    transform: translateY(-5px);
}

.download-item img {
    width: 100%;
    height: auto;
    max-width: 300px;
    border-radius: 8px;
    border: 2px solid rgba(217, 32, 39, 0.3);
    transition: all 0.3s;
}

.download-item a:hover img {
    border-color: #d92027;
    box-shadow: 0 10px 25px rgba(217, 32, 39, 0.3);
}

/* Custom styles for the launcher section */
.launcher-section {
    position: relative;
    overflow: hidden;
}

.launcher-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d92027' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

.launcher-card {
    background: linear-gradient(145deg, #1a1a1a, #0c0c0c);
    border: 1px solid rgba(217, 32, 39, 0.3);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(217, 32, 39, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.launcher-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.01));
    transform: rotate(30deg);
    z-index: 1;
}

.launcher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(217, 32, 39, 0.3);
    border-color: rgba(217, 32, 39, 0.5);
}

.launcher-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #d92027, #ff4838);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(217, 32, 39, 0.4);
    z-index: 2;
    animation: pulse 2s infinite;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: #d92027;
    margin-right: 15px;
    font-size: 1.2rem;
}

.download-btn-launcher {
    display: inline-block;
    background: linear-gradient(45deg, #d92027, #ff4838);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(217, 32, 39, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.download-btn-launcher::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.download-btn-launcher:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(217, 32, 39, 0.6);
}

.download-btn-launcher:hover::before {
    left: 100%;
}

.launcher-image {
    border-radius: 10px;
    transition: all 0.5s ease;
    transform: perspective(1000px) rotateY(5deg);
}

.launcher-card:hover .launcher-image {
    transform: perspective(1000px) rotateY(0deg);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}