/* Satanic/Devilish Theme - Deep Red and Black */
@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Metal+Mania&family=Nosifer&display=swap');

:root {
    --blood-red: #8B0000;
    --deep-red: #B22222;
    --dark-red: #660000;
    --flame-red: #FF4500;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --light-gray: #333333;
    --white: #ffffff;
    --shadow-red: rgba(139, 0, 0, 0.5);
}

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

body {
    font-family: 'Metal Mania', cursive;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-red) 50%, var(--black) 100%);
    background-attachment: fixed;
    color: var(--white);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="20" fill="%23330000" opacity="0.1">666</text></svg>') repeat;
    pointer-events: none;
    z-index: -1;
}

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

/* Header Styles */
.header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid var(--blood-red);
    margin-bottom: 30px;
}

.header h1 {
    font-family: 'Nosifer', cursive;
    font-size: 3em;
    color: var(--flame-red);
    text-shadow: 0 0 20px var(--blood-red), 0 0 40px var(--deep-red);
    margin-bottom: 10px;
}

.header .subtitle {
    font-size: 1.2em;
    color: var(--deep-red);
    letter-spacing: 2px;
}

/* Card Styles */
.card {
    background: linear-gradient(145deg, var(--dark-gray), var(--black));
    border: 2px solid var(--blood-red);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 10px 30px var(--shadow-red), 
                inset 0 1px 0 rgba(255, 69, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, transparent 0%, var(--shadow-red) 100%);
    opacity: 0.1;
    pointer-events: none;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--flame-red);
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: 0 0 5px var(--blood-red);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--blood-red);
    border-radius: 8px;
    background: var(--black);
    color: var(--white);
    font-size: 1.1em;
    font-family: 'Metal Mania', cursive;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--flame-red);
    box-shadow: 0 0 15px var(--shadow-red);
    background: var(--dark-gray);
}

.form-control::placeholder {
    color: var(--light-gray);
}

/* Button Styles */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Metal Mania', cursive;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blood-red), var(--deep-red));
    color: var(--white);
    border: 2px solid var(--flame-red);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--deep-red), var(--flame-red));
    box-shadow: 0 5px 20px var(--shadow-red);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--dark-gray);
    color: var(--flame-red);
    border: 2px solid var(--blood-red);
}

.btn-secondary:hover {
    background: var(--blood-red);
    color: var(--white);
}

/* Navigation */
.nav {
    background: var(--black);
    border-bottom: 3px solid var(--blood-red);
    padding: 15px 0;
    margin-bottom: 20px;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav a {
    color: var(--flame-red);
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav a:hover {
    background: var(--blood-red);
    color: var(--white);
    text-shadow: 0 0 10px var(--flame-red);
}

/* Modal/Popup Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(145deg, var(--black), var(--dark-red));
    margin: 10% auto;
    padding: 30px;
    border: 3px solid var(--flame-red);
    border-radius: 15px;
    width: 80%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px var(--shadow-red);
    position: relative;
}

.modal-content::before {
    content: '👹';
    font-size: 3em;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    padding: 0 10px;
}

.close {
    color: var(--flame-red);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--white);
}

/* Statistics Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: linear-gradient(145deg, var(--dark-red), var(--black));
    border: 2px solid var(--flame-red);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px var(--shadow-red);
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--flame-red);
    text-shadow: 0 0 10px var(--blood-red);
}

.stat-label {
    font-size: 1.1em;
    color: var(--white);
    margin-top: 10px;
}

/* Profile Image */
.profile-image {
    max-width: 300px;
    max-height: 200px;
    border: 3px solid var(--flame-red);
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-red);
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20% auto;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.slide-in {
    animation: slideIn 0.5s ease;
}

/* Loading Spinner */
.loading {
    border: 4px solid var(--dark-gray);
    border-top: 4px solid var(--flame-red);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

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