/* === DELTARUNE THEMED CSS === */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background-color: #0a0a23;
    color: #ffffff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    color: #7dd3fc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #38bdf8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #111133;
    padding: 1rem 0;
    border-bottom: 4px solid #7e22ce;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, #1a1a40, #0a0a23);
    text-align: center;
    padding: 100px 20px;
    color: #fff;
}

.hero h1 {
    font-size: 3rem;
    color: #a78bfa;
}

.hero p {
    font-size: 1.2rem;
    margin: 20px 0;
}

.btn-cta {
    display: inline-block;
    background: #7e22ce;
    color: #fff;
    padding: 12px 30px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-cta:hover {
    transform: scale(1.05);
    background: #a855f7;
}

/* Intro Section */
.intro {
    padding: 60px 20px;
    background: #15152f;
}

.intro-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.intro-content article {
    flex: 1 1 500px;
    margin: 20px;
    color: #d1d5db;
}

.intro-content figure {
    flex: 1 1 400px;
    margin: 20px;
}

.intro-content img {
    max-width: 100%;
    border: 5px solid #7e22ce;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.intro-content img:hover {
    transform: rotate(-2deg) scale(1.05);
    filter: brightness(1.1);
}

/* Stats Box */
.stats-box {
    padding: 40px 20px;
    background: #0f0f2f;
    color: #d1d5db;
    text-align: center;
    transition: background 0.4s ease, transform 0.3s ease;
}

.stats-box:hover {
    background: #1a1a40;
    transform: translateY(-5px);
}

.stats-box ul {
    list-style: none;
    padding: 0;
}

.stats-box li {
    margin: 10px 0;/* Personajes Deltarune CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(to bottom, #0a0a23, #111133);
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    background: #111133;
    padding: 1rem 0;
    border-bottom: 4px solid #7e22ce;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    color: #7dd3fc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #38bdf8;
}

.intro {
    padding: 60px 20px;
    background: #15152f;
}

.intro-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.intro-content article {
    flex: 1 1 500px;
    margin: 20px;
    color: #d1d5db;
}

.intro-content figure {
    flex: 1 1 400px;
    margin: 20px;
}

.intro-content img {
    max-width: 100%;
    border: 5px solid #7e22ce;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.character-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    border-bottom: 2px solid #7e22ce;
}

.character-section article {
    flex: 1 1 500px;
    margin: 20px;
}

.character-section figure {
    flex: 1 1 400px;
    margin: 20px;
}

.character-section img {
    max-width: 100%;
    border: 5px solid #7e22ce;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease;
}

.character-section img:hover {
    transform: scale(1.05);
}

.site-footer {
    background: #111133;
    text-align: center;
    padding: 20px 0;
    color: #9ca3af;
    border-top: 4px solid #7e22ce;
}

.site-footer p {
    margin: 10px 0;
}

@media (max-width: 768px) {
    .header-content, .intro-content, .character-section {
        flex-direction: column;
    }

    .main-nav ul {
        flex-direction: column;
    }
}

h1, h2, h3 {
    text-shadow: 0 0 8px #7e22ce;
}

    font-size: 1.2rem;
    position: relative;
}

.stats-box li::before {
    content: "★ ";
    color: #a78bfa;
    font-weight: bold;
}

/* Quotes Slider */
.quotes-slider {
    padding: 40px 20px;
    background: #1a1a40;
    color: #fff;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.quotes-slider blockquote {
    font-style: italic;
    margin: 20px auto;
    max-width: 600px;
    border-left: 4px solid #7e22ce;
    padding-left: 20px;
    opacity: 0;
    animation: fadeInOut 10s infinite ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; transform: translateY(20px); }
    10%, 90% { opacity: 1; transform: translateY(0); }
}

/* Gallery */
.gallery {
    padding: 40px 20px;
    background: #15152f;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    border: 4px solid #7e22ce;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.1) rotate(1deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    filter: brightness(1.2) contrast(1.1);
}

/* Footer */
.site-footer {
    background: #111133;
    text-align: center;
    padding: 20px 0;
    color: #9ca3af;
    border-top: 4px solid #7e22ce;
}

.footer-content p {
    margin: 10px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    .intro-content {
        flex-direction: column;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* Extra Touch: Subtle Text Glow */
h1, h2, h3 {
    text-shadow: 0 0 8px #7e22ce;
}

/* Interactive Background Gradient Animation */
body {
    background: linear-gradient(270deg, #0a0a23, #1a1a40);
    background-size: 400% 400%;
    animation: gradientShift 30s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
