/* General */
body {
    background-color: rgb(1 24 20);
    font-family: 'Inter', sans-serif;
}

.main-container {
    max-width: 720px;
    min-width: 720px;
    width: 720px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Header */
.main-logo-header {
    position: relative;
    background-color: rgb(0 59 48);
}

 .main-logo-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px; 
            background: linear-gradient(to right, #ffd356, #ffd65a, #ffd356);
        }


.main-logo-header  {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-logo-header img {
    width: 100%;
    height: auto;
}

header {
    background: linear-gradient(to bottom, #27140a, #211512, #110b0a);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
        margin-top: -5px;
}

header .logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

header .logo-placeholder {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fce773;
    font-weight: 700;
        font-size: 1.25rem;
}

header .logo-text {
    color: #fce773;
    font-size: 1.25rem;
    font-weight: 700;
}

header .site-url {
    color: #fbbf24;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Image Slider */
#image-slider {
    width: 100%;
    position: relative;
    cursor: pointer;
}

#image-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#image-slider img.active {
    opacity: 1;
}

/* Main Content */
main {
    padding: 1.25rem;
        background: linear-gradient(to bottom, #110b0a, #160902, #271308);
}

.announcement-bar {
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.announcement-bar .icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.announcement-bar .marquee-container {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.announcement-bar .marquee-wrapper {
    display: inline-block;
    animation: marquee 10s linear infinite;
    white-space: nowrap;
}

.announcement-bar .marquee {
    display: inline-block;
    color: #4b5563;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: fangsong
}

.download-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.download-buttons a {
    color: #fff;
    font-weight: 600;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: background-color 0.2s;
}

.download-buttons .iphone {
    background-color: #16a34a;
}

.download-buttons .iphone:hover {
    background-color: #15803d;
}

.download-buttons .android {
    background-color: #14532d;
}

.download-buttons .android:hover {
    background-color: #166534;
}

.download-buttons .download-button-img {
    height: 50px;
    width: auto;
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.link-list .link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
background: #00000082;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.link-list .link-info {
    display: flex;
    align-items: center;
}

.link-list .ping-time {
    font-size: 1.5rem;
    color: #03b119;
    width: 5rem;
}

.link-list .status-dot {
    width: 1.25rem;
    height: 1.25rem;
    background-color: #01e31d;
    border-radius: 9999px;
    margin-right: 0.75rem;
}

.link-list .link-text {
    font-weight: 500;
    color: #fff1ce;
}

.link-list .action-button {
    background-color: #fbbf24;
    color: #000;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.link-list .action-button:hover {
    background-color: #f59e0b;
}

/* Sub Navigation */
nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    text-align: center;
    color: #4b5563;
    padding: 1rem 0;
}

nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #cfc343;
}

nav a:hover {
    color: #f59e0b;
}

nav .nav-item-icon-img {
    height: 40px;
    width: auto;
    margin: 0 auto 0.5rem;
}

nav .nav-item-text {
    font-size: 0.875rem;
}

/* Copyright */
.copyright {
    text-align: center;
    color: #ffffffb8;
    font-size: 0.75rem;
    margin-top: 1.5rem;
}

/* Footer */
footer {
    background-color: #011814;
    position: fixed;
    bottom: 0;
    z-index: 1000;
    color: gold;
    width: 720px
}

footer .footer-container {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    text-align: center;
    color: #d1d5db;
    background: linear-gradient(to right, #0c0807, #211512, #0c0807);
    font-weight: 800;
    position: relative; /* Add this for pseudo-element positioning */
}

footer .footer-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 7px;
    background: linear-gradient(to right, #ffd356, #ffd65a, #ffd356);
}

body {
    background-color: rgb(12 8 7);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding-bottom: 60px; /* Add padding to prevent footer overlap */
}

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

footer a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0;
    transition: background-color 0.2s;
    color: gold;
}

footer a:hover {
    background-color: #492d11;
}

footer .footer-icon-img {
    height: 30px;
    width: auto;
    margin: 0 auto 0.25rem;
}

footer .footer-text {
    font-size: 0.75rem;
        color: #dbc343;
}

/* Animations */
@keyframes marquee {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}
