@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Outfit:wght@300;400;700&display=swap');

:root {
    --primary: #FF7F00; /* Laranja Naruto */
    --primary-light: #FF9F43;
    --secondary: #2196F3; /* Azul Jutsu */
    --bg-light: #f8f9fa;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --radius: 16px;
    --header-bg: var(--white);
    --card-bg: var(--white);
    --footer-bg: var(--white);
    --input-bg: var(--white);
    --input-border: #eee;
}

[data-theme="dark"] {
    --bg-light: #1a1a1a;
    --text-dark: #f1f1f1;
    --text-muted: #a0a0a0;
    --white: #2d2d2d;
    --shadow: 0 10px 30px rgba(0,0,0,0.5);
    --header-bg: #121212;
    --card-bg: #242424;
    --footer-bg: #121212;
    --input-bg: #333;
    --input-border: #444;
}

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

body {
    background-color: var(--bg-light);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        url('../img/bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    cursor: url('https://cur.cursors-4u.net/anime/ani-11/ani1097.cur'), auto !important;
    transition: background-color 0.5s ease, color 0.5s ease;
}

[data-theme="dark"] body {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
        url('../img/bg.jpg');
}

/* Rain Canvas */
#blood-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

[data-theme="dark"] #blood-rain {
    display: block;
}

a, button, .btn, select, input, textarea, .card {
    cursor: url('https://cur.cursors-4u.net/anime/ani-11/ani1097.cur'), pointer !important;
}

/* Header & Navigation */
header {
    background: var(--header-bg);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 60px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95em;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover:after, nav a.active:after {
    width: 100%;
}

nav a:hover {
    color: var(--primary);
}

/* Dark Mode Toggle */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    background-color: white;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Hero Section */
.hero {
    padding: 80px 5%;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 127, 0, 0.1), rgba(33, 150, 243, 0.1));
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, rgba(255, 127, 0, 0.05), rgba(33, 150, 243, 0.05));
}

h1 {
    font-family: 'Bangers', cursive;
    font-size: 5em;
    color: var(--primary);
    letter-spacing: 4px;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.05);
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.4em;
    color: var(--text-muted);
    font-weight: 300;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: -50px auto 50px;
    padding: 0 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card h2 {
    font-family: 'Bangers', cursive;
    color: var(--secondary);
    font-size: 2.2em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Form Styles */
.form-box {
    background: var(--card-bg);
    max-width: 950px;
    margin: 0 auto;
    padding: 30px 60px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 0.9em;
    text-transform: uppercase;
}

input, select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--input-border);
    background: var(--input-bg);
    color: var(--text-dark);
    border-radius: 12px;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

input:focus {
    border-color: var(--primary);
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 127, 0, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 127, 0, 0.3);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--secondary), #64b5f6);
    box-shadow: 0 10px 20px rgba(33, 150, 243, 0.2);
}

/* Footer */
footer {
    text-align: center;
    padding: 25px 5%;
    color: var(--text-muted);
    background: var(--footer-bg);
    margin-top: auto;
    border-top: 1px solid var(--input-border);
    font-size: 0.85em;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    h1 {
        font-size: 3.5em;
    }
    .hero {
        padding: 50px 5%;
    }
}
