/* Raptoreum Bootstraps Style - Version 1.6.7 */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif !important;
    background-color: #000000 !important;
    color: #e0e0e0 !important; /* Softer white for content text */
    line-height: 1.6 !important;
}

/* Header styles */
header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1.5rem 5% !important;
    background-color: #1a1a1a !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5) !important;
}

.logo img {
    height: 60px !important;
}

nav ul {
    display: flex !important;
    list-style: none !important;
    gap: 2.5rem !important;
}

nav a {
    color: #e0e0e0 !important; /* White for menu items */
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    transition: color 0.3s ease !important;
}

nav a:hover {
    color: #b64426 !important; /* Red on hover */
}

/* Main content styles */
main {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 3rem 5% !important;
    text-align: center !important; /* Center all content */
}

section {
    margin-bottom: 4rem !important;
    background-color: #1a1a1a !important;
    padding: 2rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}

h1, h2 {
    color: #b64426 !important; /* Red for titles */
    margin-bottom: 1.5rem !important;
    font-weight: bold !important;
}

.intro p {
    max-width: 800px !important;
    margin: 0 auto 1rem !important;
    font-size: 1.1rem !important;
    color: #e0e0e0 !important;
    text-align: left !important;
    overflow-wrap: break-word !important; /* Ensure long strings wrap */
    word-break: break-all !important; /* Break long asset names */
}

.intro p code {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    padding: 0.2rem 0.4rem !important;
    border-radius: 4px !important;
}

.docs ul {
    list-style: none !important;
    text-align: left !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

.docs li {
    margin-bottom: 0.75rem !important;
}

.docs a {
    color: #b64426 !important; /* Red for hyperlinks */
    text-decoration: none !important;
    font-weight: bold !important;
}

.docs a:hover {
    text-decoration: underline !important;
}

/* Warning card styles */
.warning-card {
    background-color: #FFC107 !important; /* Yellow background */
    color: #1a1a1a !important; /* Dark text for contrast */
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    border-radius: 8px !important;
    border: 2px solid #b64426 !important; /* Red border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    font-size: 1.1rem !important;
    text-align: left !important;
}

.warning-card strong {
    color: #b64426 !important; /* Red for emphasis */
}

.warning-card code {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    padding: 0.2rem 0.4rem !important;
    border-radius: 4px !important;
}

/* Download section styles */
.download-list {
    display: grid !important;
    gap: 1.5rem !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

.download-item {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
    padding: 1.25rem !important;
    background-color: #2a2a2a !important;
    border-radius: 8px !important;
    transition: transform 0.2s ease !important;
}

.download-item:hover {
    transform: translateY(-3px) !important;
}

.download-link {
    color: #b64426 !important; /* Red for download links */
    text-decoration: none !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    flex: 1 !important;
    text-align: left !important;
}

.download-link:hover {
    text-decoration: underline !important;
}

.verify-btn {
    background-color: #b64426 !important;
    color: #e0e0e0 !important;
    border: none !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-weight: bold !important;
    transition: background-color 0.3s ease !important;
}

.verify-btn:hover {
    background-color: #8e351d !important;
}

/* Footer styles */
footer {
    background-color: #1a1a1a !important;
    padding: 2rem 5% !important;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5) !important;
    text-align: center !important;
}

footer ul {
    display: flex !important;
    justify-content: center !important;
    list-style: none !important;
    gap: 3rem !important;
}

footer ul li {
    display: inline-block !important;
}

footer a {
    color: #e0e0e0 !important;
    font-size: 2.5rem !important; /* Large icons */
    transition: color 0.3s ease !important;
}

footer a:hover {
    color: #b64426 !important; /* Red on hover */
}

/* Modal styles */
.modal {
    display: none; /* Removed !important to allow JS override */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 1000 !important;
}

.modal-content {
    background-color: #1a1a1a !important;
    padding: 2.5rem !important;
    border-radius: 8px !important;
    max-width: 600px !important;
    text-align: center !important;
    border: 2px solid #b64426 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
    overflow-y: auto !important; /* Allow scrolling if content overflows */
}

.loading-message {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
    color: #e0e0e0 !important;
}

.spinner {
    width: 24px !important;
    height: 24px !important;
    border: 3px solid #e0e0e0 !important;
    border-top: 3px solid #b64426 !important;
    border-radius: 50% !important;
    animation: spin 1s linear infinite !important;
}

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

.success {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    color: #4CAF50 !important;
    font-size: 1.1rem !important;
    overflow-wrap: break-word !important;
    word-break: break-all !important;
    padding: 0 1rem !important;
}

.success a {
    color: #b64426 !important;
    text-decoration: none !important;
}

.success a:hover {
    text-decoration: underline !important;
}

.error {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    color: #b64426 !important;
    font-size: 1.1rem !important;
    overflow-wrap: break-word !important;
    word-break: break-all !important;
    padding: 0 1rem !important;
}

.checkmark, .error-icon {
    font-size: 2rem !important;
}

.close-btn {
    background-color: #b64426 !important;
    color: #e0e0e0 !important;
    border: none !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    margin-top: 1.5rem !important;
    font-weight: bold !important;
}

.close-btn:hover {
    background-color: #8e351d !important;
}

.hidden {
    display: none !important;
}

/* Mobile-specific styles */
@media (max-width: 600px) {
    .intro p {
        padding: 0 1rem !important; /* Add padding for better readability */
    }

    .modal-content {
        max-width: 90vw !important; /* Use viewport width for smaller screens */
        padding: 1.5rem !important; /* Reduce padding */
    }

    .loading-message {
        font-size: 1rem !important; /* Smaller font */
        gap: 0.75rem !important; /* Smaller gap */
    }

    .spinner {
        width: 18px !important; /* Smaller spinner */
        height: 18px !important;
        border-width: 2px !important;
    }

    .success, .error {
        font-size: 1rem !important; /* Smaller font */
        padding: 0 0.5rem !important; /* Less padding */
    }

    .checkmark, .error-icon {
        font-size: 1.5rem !important; /* Smaller icons */
    }

    .close-btn {
        padding: 0.5rem 1rem !important; /* Smaller button */
        font-size: 1rem !important;
    }

    /* Footer mobile styles */
    footer ul {
        gap: 1.5rem !important; /* Smaller gap for icons */
    }

    footer a {
        font-size: 2rem !important; /* Slightly smaller icons for mobile */
    }
}
