body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 800px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

header h1 {
    font-weight: 700;
    font-size: 2.5em;
    margin: 0;
}

header p {
    color: #a0a0a0;
    font-size: 1.1em;
}

.status-card {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 5px solid #555; /* Default border */
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}



.status-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.clickable {
    cursor: pointer;
}

.status-card .tool-info {
    flex-grow: 1;
}



.status-card h2 {
    margin: 0 0 5px 0;
    font-size: 1.4em;
    font-weight: 700;
}

.status-card p {
    margin: 0;
    color: #b0b0b0;
}

.status-indicator {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.1em;
    padding: 8px 15px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Status Colors */
.status-card.online { border-left-color: #2ecc71; }
.status-indicator.online { background-color: rgba(46, 204, 113, 0.1); color: #2ecc71; }

.status-card.offline { border-left-color: #e74c3c; }
.status-indicator.offline { background-color: rgba(231, 76, 60, 0.1); color: #e74c3c; }

.status-card.maintenance { border-left-color: #f39c12; }
.status-indicator.maintenance { background-color: rgba(243, 156, 18, 0.1); color: #f39c12; }

.status-card.unknown { border-left-color: #95a5a6; }
.status-indicator.unknown { background-color: rgba(149, 165, 166, 0.1); color: #95a5a6; }


/* Discord Card Specifics */
.discord-status {
    display: flex;
    align-items: center;
}

.discord-status .guild-info {
    text-align: right;
}

.discord-status .guild-info .member-count {
    font-size: 0.9em;
    color: #a0a0a0;
}

.discord-status .join-button {
    background-color: #5865F2;
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 5px;
    font-weight: 700;
    margin-left: 20px;
    transition: background-color 0.2s ease;
}

.discord-status .join-button:hover {
    background-color: #4752C4;
}

footer {
    text-align: center;
    margin-top: 40px;
    color: #777;
}

/* Loading Animation */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 40px auto;
}

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

/* Contact Form Specific Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #e0e0e0;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #1e1e1e;
    color: #e0e0e0;
    font-size: 1em;
    box-sizing: border-box; /* Ensures padding doesn't increase width */
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: #3498db; /* Highlight on focus */
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

button[type="submit"] {
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button[type="submit"]:hover {
    background-color: #2980b9;
}

.success-message {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.error-message {
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

/* Style for the contact button in header */
.contact-button {
    display: inline-block;
    background-color: #555; /* A neutral dark color */
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 700;
    margin-top: 20px; /* Space from the paragraph above */
    transition: background-color 0.2s ease;
}

.contact-button:hover {
    background-color: #777;
}
