/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top, #0a1d3b, #050b17 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    /* Check overflow */
    color: #ffffff;
}

/* Background handled by particles.js */


/* Container */
.container {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 60px 70px;
    border-radius: 28px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
    text-align: center;
    max-width: 520px;
    width: 90%;
    margin: 20px;
    animation: zoomIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 35px;
    text-decoration: none;
    color: white;
}

.logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.45);
}

.logo-mark::after {
    content: '';
    width: 10px;
    height: 24px;
    border-radius: 6px;
    background: #ffffff;
    transform: rotate(25deg);
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Typography */
h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #ffffff, #93c5fd);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
}

p {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.5;
}

a {
    color: #38bdf8;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    font-weight: 600;
    letter-spacing: 0.4px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.45);
    color: white;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #cbd5e1;
    font-weight: 500;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="file"],
textarea {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: #38bdf8;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

button.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

button.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.5);
}

button.btn:active {
    transform: translateY(0);
}

/* Footer */
footer {
    margin-top: 35px;
    font-size: 13px;
    color: #94a3b8;
}

footer span {
    color: #60a5fa;
}

/* Forum/Admin specific */
.leak-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* slight border */
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 15px;
    text-align: left;
    transition: transform 0.2s;
}

.leak-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.06);
}

.leak-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.leak-meta {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.nav-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.alert-error {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

@media (max-width: 480px) {
    h1 {
        font-size: 34px;
    }

    .container {
        padding: 45px 30px;
    }
}