/* ======== BUGS B0UNT3R: GTA VICE CITY EDITION ======== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;500;600;700&family=Bangers&family=Permanent+Marker&display=swap');

:root {
    --gta-bg: #1a0a2e;
    --gta-bg-alt: #0f0620;
    --gta-pink: #ff2d78;
    --gta-orange: #ff6b35;
    --gta-yellow: #ffd23f;
    --gta-cyan: #00e5ff;
    --gta-purple: #b44aff;
    --gta-teal: #0ff0b3;
    --gta-sunset-start: #ff2d78;
    --gta-sunset-mid: #ff6b35;
    --gta-sunset-end: #ffd23f;
    --text-primary: #ffffff;
    --text-secondary: #e0d6f0;
    --text-dim: #a89ec4;
    --card-bg: rgba(15, 6, 32, 0.85);
    --card-border: rgba(255, 45, 120, 0.4);
    --comic-outline: 3px solid #000;
}

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

body {
    background-color: var(--gta-bg-alt);
    color: var(--text-primary);
    font-family: "Oswald", sans-serif;
    line-height: 1.6;
    margin: 0; padding: 0;
    overflow-x: hidden;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(180, 74, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 45, 120, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 229, 255, 0.08) 0%, transparent 50%);
}

/* ======== VICE CITY HERO SECTION ======== */
.vice-hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.vice-hero-sky {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        #1a0030 0%, #2d1b69 20%, #7b2d8e 35%,
        #c2185b 48%, #ff6f00 58%, #ffab00 65%,
        #ffd54f 72%, var(--gta-bg-alt) 73%, var(--gta-bg-alt) 100%);
    z-index: 0;
}
.vice-hero-stars {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 45%;
    z-index: 1;
}
.vice-hero-stars span {
    position: absolute;
    width: 2px; height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: vc-twinkle 3s infinite alternate;
}
@keyframes vc-twinkle { 0%{opacity:.2} 100%{opacity:1} }

.vice-hero-sun {
    position: absolute;
    top: 28%; left: 50%;
    transform: translateX(-50%);
    width: 200px; height: 200px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffd54f, #ff6f00, #c2185b);
    box-shadow: 0 0 80px rgba(255,111,0,.6), 0 0 160px rgba(255,111,0,.3);
    z-index: 1;
    overflow: hidden;
}
.vice-hero-sun::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 60%;
    background: repeating-linear-gradient(0deg,
        transparent, transparent 6px,
        rgba(15,6,32,.6) 6px, rgba(15,6,32,.6) 10px);
}
.vice-retro-grid {
    position: absolute;
    bottom: 0; left: -50%;
    width: 200%; height: 28%;
    background:
        linear-gradient(180deg, transparent, var(--gta-bg-alt) 3%),
        repeating-linear-gradient(90deg,
            rgba(180,74,255,.3) 0, rgba(180,74,255,.3) 1px,
            transparent 1px, transparent 80px),
        repeating-linear-gradient(0deg,
            rgba(180,74,255,.3) 0, rgba(180,74,255,.3) 1px,
            transparent 1px, transparent 40px);
    transform: perspective(400px) rotateX(60deg);
    transform-origin: center top;
    z-index: 2;
}
.vice-hero-content {
    position: relative;
    z-index: 10;
    padding: 0 20px;
}
.vice-hero-title {
    font-family: 'Bangers', cursive;
    font-size: 5rem;
    color: #fff;
    text-shadow: 4px 4px 0 rgba(0,0,0,.7),
        0 0 40px rgba(255,45,120,.5),
        0 0 80px rgba(180,74,255,.3);
    letter-spacing: 6px;
    line-height: 1;
}
.vice-hero-sub {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--gta-cyan);
    font-size: 1.5rem;
    letter-spacing: 8px;
    text-shadow: 0 0 20px rgba(0,229,255,.5);
    margin-top: 5px;
}
.vice-hero-tagline {
    font-family: 'Permanent Marker', cursive;
    color: var(--gta-yellow);
    font-size: 1.1rem;
    margin-top: 15px;
    text-shadow: 2px 2px 0 rgba(0,0,0,.5);
}
.vice-scroll-indicator {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--gta-cyan);
    font-size: 1.5rem;
    animation: vc-bounce 2s infinite;
}
@keyframes vc-bounce {
    0%,100%{transform:translateX(-50%) translateY(0)}
    50%{transform:translateX(-50%) translateY(-10px)}
}

/* ======== WANTED SECTION (index page) ======== */
.terminal-window.wanted-panel {
    border-color: var(--gta-yellow) !important;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.6), 0 0 40px rgba(255,210,63,0.15) !important;
    text-align: center;
    padding: 40px 25px;
}
.terminal-window.wanted-panel .terminal-header-bar {
    border-bottom-color: rgba(255,210,63,0.3);
}
.terminal-window.wanted-panel .terminal-header-title {
    color: var(--gta-yellow);
    text-shadow: 0 0 10px rgba(255,210,63,0.5);
}
.wanted-badge {
    font-family: 'Bangers', cursive;
    font-size: 3.5rem;
    color: var(--gta-yellow);
    text-shadow: 4px 4px 0 rgba(0,0,0,.8), 0 0 30px rgba(255,210,63,.4);
    letter-spacing: 4px;
}
.wanted-reward {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--gta-pink);
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255,45,120,.5);
}

/* ======== CTA BUTTON PULSE ======== */
@keyframes vc-pulse {
    0%,100%{box-shadow:4px 4px 0 rgba(0,0,0,.5)}
    50%{box-shadow:4px 4px 0 rgba(0,0,0,.5), 0 0 25px rgba(255,45,120,.4)}
}
.cta-button.pulse {
    animation: vc-pulse 2s infinite;
}

.terminal-shell {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* COMIC PANEL CARDS (replaces terminal-window) */
.terminal-window {
    background: var(--card-bg);
    border: 3px solid var(--gta-pink);
    box-shadow:
        8px 8px 0px rgba(0,0,0,0.6),
        0 0 30px rgba(255, 45, 120, 0.15),
        inset 0 0 60px rgba(180, 74, 255, 0.05);
    border-radius: 2px;
    padding: 25px;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
}

.terminal-window::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--gta-pink), var(--gta-orange), var(--gta-yellow), var(--gta-cyan));
}

/* COMIC HEADER BAR */
.terminal-header-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    border-bottom: 2px solid rgba(255, 45, 120, 0.3);
    padding-bottom: 12px;
}

.terminal-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(0,0,0,0.5); }
.red { background: #ff2d78; box-shadow: 0 0 8px rgba(255,45,120,0.5); }
.yellow { background: #ffd23f; box-shadow: 0 0 8px rgba(255,210,63,0.5); }
.green { background: #0ff0b3; box-shadow: 0 0 8px rgba(15,240,179,0.5); }

.terminal-header-title {
    margin-left: auto;
    font-size: 0.75rem;
    font-family: "Bebas Neue", sans-serif;
    color: var(--gta-cyan);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.prompt-line {
    font-size: 0.85rem;
    color: var(--gta-cyan);
    margin-bottom: 12px;
    font-family: 'Oswald', sans-serif;
    background: rgba(0, 229, 255, 0.05);
    padding: 6px 12px;
    border-left: 3px solid var(--gta-cyan);
}
.prompt-path { color: var(--gta-teal); font-weight: 600; }

/* --- IMAGES --- */
img { max-width: 100%; height: auto; }

/* Team photos */
.team-member img {
    width: 90px !important; height: 90px !important;
    border-radius: 4px !important; object-fit: cover !important;
    margin: 0 auto 10px auto;
    border: 3px solid var(--gta-pink) !important;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.5);
    display: block;
    filter: saturate(1.2) contrast(1.1);
}

/* Community section images */
.section-img {
    max-width: 300px;
    border: 3px solid var(--gta-orange);
    box-shadow: 6px 6px 0px rgba(0,0,0,0.5);
    border-radius: 2px;
    filter: saturate(1.3) contrast(1.1);
}

/* Badges */
.badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.badges-container img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--gta-yellow);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.5);
    transition: 0.3s;
}

.badges-container img:hover {
    transform: rotate(-3deg) scale(1.1);
    box-shadow: 6px 6px 0px rgba(255, 45, 120, 0.5);
}

/* --- TEAM LINKS --- */
.team-member a {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    width: 100%;
}

.team-member a:hover h4 {
    color: var(--gta-yellow) !important;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.8), 0 0 15px rgba(255, 210, 63, 0.5);
}

/* --- GRIDS & CARDS --- */
.team-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.team-member {
    border: 2px solid rgba(255, 45, 120, 0.3);
    background: linear-gradient(145deg, rgba(15, 6, 32, 0.9), rgba(26, 10, 46, 0.95));
    padding: 20px;
    border-radius: 2px;
    transition: 0.3s;
    text-align: center;
    position: relative;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.4);
}

.team-member::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gta-pink), var(--gta-orange));
}

.team-member:hover {
    border-color: var(--gta-pink);
    box-shadow: 5px 5px 0px rgba(0,0,0,0.4), 0 0 25px rgba(255, 45, 120, 0.2);
    transform: translateY(-4px);
}

.team-member h4 {
    font-family: "Bebas Neue", sans-serif;
    color: var(--gta-cyan);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.team-member p {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* --- FORM STYLES --- */
#message-form input, #message-form textarea {
    background: rgba(15, 6, 32, 0.9);
    border: 2px solid var(--gta-purple);
    color: var(--text-primary);
    padding: 12px;
    font-family: 'Oswald', sans-serif;
    width: 100%;
    font-size: 1rem;
    transition: 0.3s;
}

#message-form input:focus, #message-form textarea:focus {
    outline: none;
    border-color: var(--gta-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

/* --- GTA-STYLE BUTTONS --- */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--gta-pink), var(--gta-orange));
    color: #ffffff;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 700;
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid rgba(0,0,0,0.3);
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.5);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--gta-orange), var(--gta-yellow));
    box-shadow: 6px 6px 0px rgba(0,0,0,0.5), 0 0 20px rgba(255, 107, 53, 0.4);
    transform: translate(-2px, -2px);
}

/* --- HEADINGS --- */
h1, h2.intro-title {
    font-family: "Bangers", cursive;
    color: var(--gta-yellow);
    text-shadow: 3px 3px 0px rgba(0,0,0,0.7), 0 0 20px rgba(255, 210, 63, 0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
}

h2, h3 {
    color: var(--gta-cyan);
    margin-top: 0;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.5);
}

h3 {
    color: var(--gta-pink);
}

p {
    color: var(--text-secondary);
}

/* --- CHALLENGE & EXPECTATION GRIDS (index page) --- */
.challenge-grid, .expectation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.challenge-card, .expectation-item {
    border: 2px solid rgba(180, 74, 255, 0.3);
    background: linear-gradient(180deg, rgba(15, 6, 32, 0.9), rgba(26, 10, 46, 0.7));
    padding: 18px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.4);
    transition: 0.3s;
    position: relative;
}

.challenge-card:hover, .expectation-item:hover {
    border-color: var(--gta-pink);
    transform: translateY(-3px);
    box-shadow: 6px 6px 0px rgba(0,0,0,0.5), 0 0 20px rgba(255, 45, 120, 0.15);
}

.challenge-card::before, .expectation-item::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(to bottom, var(--gta-pink), var(--gta-purple));
}

.icon, .expectation-icon {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    object-fit: contain;
    margin-bottom: 10px;
    display: block;
    filter: drop-shadow(0 0 8px rgba(255, 45, 120, 0.5)) brightness(1.1) saturate(1.5);
}

/* Hero content */
.hero-content { text-align: center; padding: 30px 0; }

/* Message section override */
.message-section {
    margin-top: 15px;
}

.message-section h2 {
    color: var(--gta-cyan);
}

/* Section flex layout (comunidad) */
.section-flex h2 {
    font-family: "Bangers", cursive;
    color: var(--gta-yellow);
    text-shadow: 3px 3px 0px rgba(0,0,0,0.7);
    font-size: 1.6rem;
}

.section-flex p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.section-flex ul {
    list-style: none;
    padding-left: 0;
}

.section-flex ul li {
    color: var(--text-secondary);
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.section-flex ul li::before {
    content: "★";
    color: var(--gta-pink);
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

/* Strong text */
strong {
    color: var(--gta-yellow);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--gta-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--gta-pink);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gta-orange);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .terminal-window {
        padding: 15px;
        margin-bottom: 25px;
        border-width: 2px;
        box-shadow: 5px 5px 0px rgba(0,0,0,0.4);
    }

    .team-gallery {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    h1, h2.intro-title {
        font-size: 1.5rem;
    }

    .section-flex {
        flex-direction: column !important;
    }

    .section-img {
        max-width: 100%;
    }
}
