/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #121212; /* Dark background */
    color: #e0e0e0; /* Light text color */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    overflow-x: hidden;
}

/* Wrapper Styling */
.wrapper {
    width: 100%;
    max-width: 430px;
    padding: 30px;
    background: #1e1e1e; /* Darker background for the content area */
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); /* Stronger shadow for dark mode */
    text-align: center;
    overflow: hidden;
}

/* Header Styling */
header img {
    display: block;
    margin: 0 auto 15px; /* Centering the image and adding space below */
    border-radius: 8px; /* Optional: adds rounded corners */
}

header p {
    font-size: 0.9rem;
    color: #bbb; /* Slightly lighter gray for the subtitle */
    margin-bottom: 30px;
}

/* Link List Styling with Scrollbar */
.link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 430px; /* Set the maximum height */
    overflow-y: auto; /* Enable vertical scrollbar */
    padding-right: 10px; /* Optional: add padding to avoid content touching scrollbar */
    padding-left: 10px;
}

/* Optional: Custom Scrollbar Styling */
.link-list::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}

.link-list::-webkit-scrollbar-thumb {
    background-color: #555; /* Color of the scrollbar handle */
    border-radius: 10px; /* Rounded edges on the scrollbar handle */
}

.link-list::-webkit-scrollbar-track {
    background-color: #1e1e1e; /* Background color of the scrollbar track */
}

/* Link Item Styling */
.link-item {
    display: block;
    padding: 12px;
    font-size: 1rem;
    color: #c82d2d; /* Red accent color for links */
    background: #2a2a2a; /* Dark background for links */
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.link-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Stronger shadow on hover */
    background-color: #333; /* Darker background on hover */
}

/* Footer Styling */
footer p {
    font-size: 0.8rem;
    color: #77777786;
    margin-top: 30px;
}

/* Media Queries for Responsiveness */
@media (max-width: 430px) {
    .wrapper {
        padding: 15px;
        border-radius: 12px;
    }

    header h1 {
        font-size: 1.7rem;
    }

    .link-item {
        padding: 10px;
        font-size: 0.9rem;
    }
}
