* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

/* Background with image overlay */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(10, 10, 10, 0.5), rgba(26, 5, 5, 0.5), rgba(42, 0, 0, 0.5));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating particles */
.particles {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ff3333;
    border-radius: 50%;
    animation: float 20s infinite;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-100vh) translateX(50px); }
}

/* Header */
header {
    text-align: center;
    padding: 60px 20px;
}

h1 {
    font-size: 3.5em;
    color: #ff3333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2em;
    color: #cc6666;
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Discord Link */
.discord-link {
    color: #5865F2;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.discord-link:hover {
    color: #7289DA;
    border-bottom: 2px solid #7289DA;
}

/* Version Info */
.version-info {
    margin: 15px 0;
    color: #999;
    font-size: 0.9em;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Server IP Container */
.server-ip-container {
    display: inline-block;
    background: rgba(139, 0, 0, 0.2);
    padding: 25px 40px;
    border-radius: 15px;
    border: 2px solid #ff3333;
    box-shadow: 0 0 30px rgba(255, 51, 51, 0.3);
    transition: all 0.3s ease;
    animation: slideDown 0.8s ease;
    margin-top: 20px;
    min-width: 400px;
}

.server-ip-container:hover {
    transform: scale(1.02);
    box-shadow: 0 0 50px rgba(255, 51, 51, 0.5);
}

.server-ip-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 51, 51, 0.3);
}

.ip-section {
    flex: 1;
}

.ip-text {
    font-size: 1.5em;
    color: #ffcccc;
    font-family: 'Courier New', monospace;
    user-select: all;
}

.copy-btn {
    background: #ff3333;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
}

.copy-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 51, 51, 0.4);
}

.copy-btn:active {
    transform: translateY(0);
}

/* Server Status */
.server-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #666;
    transition: all 0.3s ease;
}

.status-indicator.online {
    background: #00ff00;
    box-shadow: 0 0 10px #00ff00;
    animation: pulse 2s infinite;
}

.status-indicator.offline {
    background: #ff0000;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.player-count {
    color: #cc6666;
    font-size: 1.1em;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Section */
.section {
    background: rgba(20, 0, 0, 0.6);
    border: 2px solid #660000;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease;
    backdrop-filter: blur(10px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.section h2 {
    color: #ff3333;
    font-size: 2.2em;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
}

/* Download Cards */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.download-card {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3), rgba(70, 0, 0, 0.3));
    border: 2px solid #ff3333;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 51, 51, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.download-card:hover::before {
    left: 100%;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(255, 51, 51, 0.4);
    border-color: #ff6666;
}

.download-card h3 {
    color: #ff6666;
    font-size: 1.6em;
    margin-bottom: 15px;
}

.download-card p {
    color: #cc9999;
    margin-bottom: 20px;
    line-height: 1.6;
}

.download-btn {
    background: #ff3333;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.download-btn:hover {
    background: #cc0000;
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(255, 51, 51, 0.5);
}

/* CurseForge Code */
.cf-code {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ff3333;
    margin: 20px 0;
    position: relative;
}

.cf-code code {
    color: #ffcccc;
    font-family: 'Courier New', monospace;
    font-size: 1.1em;
    user-select: all;
    display: block;
    word-break: break-all;
}

/* Form */
.report-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #ff6666;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 1.1em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #660000;
    border-radius: 8px;
    color: #fff;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff3333;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.3);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: #ff3333;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 51, 51, 0.5);
}

.submit-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
}

/* Success Message */
.success-message {
    display: none;
    background: rgba(0, 139, 0, 0.2);
    border: 2px solid #00ff00;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    color: #00ff00;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.error-message {
    display: none;
    background: rgba(139, 0, 0, 0.4);
    border: 2px solid #ff3333;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    color: #ff6666;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: #cc6666;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }

    .server-ip-container {
        min-width: auto;
        padding: 20px;
    }

    .server-ip-row {
        flex-direction: column;
        gap: 15px;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
