:root {
    --bg-main: #09090b;
    --card-bg: #121214;
    --red-main: #e50914;
    --red-hover: #ff1e27;
    --yellow-accent: #eab308;
    --text-white: #f4f4f5;
    --text-muted: #a1a1aa;
    --input-bg: #18181b;
    --border-color: #27272a;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Smooth fade-in animation on page load */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.report-wrapper {
    background-color: var(--card-bg);
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--red-main);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.header {
    text-align: center;
    padding: 40px 20px 30px;
    background-color: #050505;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.server-ip {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}

/* Fluid Red Halo Animation for Logo */
.logo {
    max-width: 110px;
    height: auto;
    margin-bottom: 20px;
    animation: pulse-glow 3s infinite alternate ease-in-out;
}

@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 15px rgba(229, 9, 20, 0.4)); }
    100% { filter: drop-shadow(0 0 35px rgba(229, 9, 20, 0.9)); }
}

.header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: 2px;
}

.header p {
    margin: 8px 0 15px;
    font-size: 14px;
    color: var(--text-muted);
}

.discord-link {
    display: inline-block;
    color: var(--red-main);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.discord-link:hover {
    color: var(--yellow-accent);
}

.report-form {
    padding: 40px;
}

/* Perfectly Symmetrical Responsive Layout */
.form-row {
    display: flex;
    gap: 40px;
}

.form-section {
    flex: 1;
    min-width: 0; /* Prevents flex blowout */
}

.full-width-section {
    width: 100%;
}

.form-section h3 {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    border-left: 4px solid var(--red-main);
    padding-left: 10px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.radio-label:hover {
    color: var(--text-white);
}

.radio-label input {
    display: none;
}

.custom-radio {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input:checked + .custom-radio {
    border-color: var(--red-main);
}

.radio-label input:checked + .custom-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--red-main);
    border-radius: 50%;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

label {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.optional {
    color: var(--text-muted);
    font-size: 10px;
    margin-left: 5px;
    font-weight: 500;
}

input[type="text"], textarea {
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 14px 16px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

input:focus, textarea:focus {
    border-color: var(--red-main);
    background-color: #1e1e24;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Beautiful custom file upload styling (fixes ugly gray default button) */
input[type="file"] {
    background-color: var(--input-bg);
    border: 1px dashed var(--border-color);
    padding: 10px;
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    transition: border 0.3s ease;
}

input[type="file"]:hover {
    border-color: var(--red-main);
}

input[type="file"]::file-selector-button {
    background-color: #27272a;
    color: var(--text-white);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    margin-right: 15px;
    cursor: pointer;
    font-weight: 700;
    font-family: inherit;
    transition: all 0.3s ease;
}

input[type="file"]::file-selector-button:hover {
    background-color: var(--red-main);
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

.input-note {
    font-size: 12px;
    color: var(--text-muted);
    margin: 8px 0 0 0;
    font-style: italic;
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 35px 0;
}

.submit-btn {
    width: 100%;
    background-color: var(--red-main);
    color: var(--text-white);
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}

.submit-btn:hover {
    background-color: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.5);
}

.submit-btn:disabled {
    background-color: #27272a;
    color: #52525b;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.status-message {
    text-align: center;
    margin-top: 20px;
    font-weight: 700;
    font-size: 14px;
    min-height: 20px;
    transition: opacity 0.3s ease;
}

.status-message.success { color: #10b981; }
.status-message.error { color: var(--yellow-accent); }

.cooldown-banner {
    background-color: rgba(229, 9, 20, 0.1);
    border-bottom: 1px solid rgba(229, 9, 20, 0.2);
    color: var(--yellow-accent);
    text-align: center;
    padding: 15px;
    font-size: 14px;
    font-weight: 700;
}

.hidden { display: none; }

/* Responsive Mobile Layout (Seamless aspect ratio switching) */
@media (max-width: 768px) {
    body { padding: 0; align-items: flex-start; }
    .report-wrapper { border-radius: 0; border: none; box-shadow: none; min-height: 100vh; }
    .form-row { flex-direction: column; gap: 30px; }
    .report-form { padding: 30px 20px; }
    .header h1 { font-size: 24px; }
    .server-ip { position: static; margin-bottom: 15px; }
    .divider { margin: 30px 0; }
}