/* Hero Banner Global */
.banner-hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(35, 42, 58, 1);
    background-image: url("images/hero-banner.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-bottom: 3rem;
    padding-top: 70px;
}

        display: block !important;
        width: 100%;
        max-width: 220px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
        margin-bottom: 0;
        align-items: center;
        gap: 0.75rem;
        color: var(--text-muted);
        padding: 0.35rem 0.8rem;
        border-radius: 10px;
        font-weight: 600;
        text-decoration: none;
        transition: var(--transition);
        font-size: 0.78rem;
        border: 1px solid rgba(255,255,255,0.08);
        background: rgba(255,255,255,0.03);
}

/* Overlap effect for content after hero (Removed overlap) */
.banner-hero + .container,
.banner-hero + main {
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(11, 13, 18, 0.4), rgba(11, 13, 18, 0.7));
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .banner-hero { min-height: 350px; padding-top: 70px; }
    .banner-content h1 { font-size: 2.2rem; }
    .banner-content p { font-size: 1rem; }
}

/* Header Banner Variant (Standardized) */
.header-banner {
    background: var(--bg-secondary) !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    position: fixed !important;
    width: 100% !important;
    z-index: 1001 !important;
}

.header-banner .nav-link {
    color: var(--text-muted) !important;
}

.header-banner .nav-link:hover, 
.header-banner .nav-link.active {
    color: var(--text-main) !important;
}

.header-banner .logo-link {
    color: var(--text-main) !important;
}

@media (max-width: 768px) {
    .header-banner { 
        position: fixed !important; 
    }
}

:root {
    --bg-main: rgba(35, 42, 58, 1);
    --bg-secondary: #11141c;
    --card-bg: #151925;
    --card-hover: #181d2c;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --text-main: #f5f7fa;
    --text-normal: #cbd5e1;
    --text-muted: #8b94a7;
    --accent: #4f7cff;
    --accent-hover: #6b8cff;
    --success: #22c55e;
    --danger: #ef4444;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --transition: all 0.2s ease-in-out;
    --radius: 14px;
    --radius-pill: 500px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background: var(--bg-main);
    color: var(--text-normal);
    line-height: 1.5;
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar Corporate */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    position: relative;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    cursor: pointer;
    border-radius: 8px;
    padding: 0.75rem;
    z-index: 1010;
    transition: var(--transition);
}
.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 1rem;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    position: absolute;
    right: 1.5rem;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    margin-right: 1rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
}

.lang-btn.active {
    color: white;
    background: var(--accent);
}

.lang-btn:hover:not(.active) {
    color: var(--text-main);
}

.logo-link {
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: absolute;
    left: 1.5rem;
}

.logo-circle {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle img {
    width: 18px;
    height: 18px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link.active {
    color: var(--text-main);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Adjust main top padding due to fixed header */
main {
    padding-top: 90px;
}

/* Hero */
.main-hero {
    text-align: center;
    padding: 4rem 0 2rem;
}

.main-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.main-hero p { color: var(--text-muted); margin-bottom: 2.5rem; }

/* Search & Tabs Container */
.search-wrapper {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.tab-control {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-secondary);
    padding: 0.35rem;
    border-radius: var(--radius-pill);
    width: fit-content;
    margin: 0 auto 2rem;
    border: 1px solid var(--border-subtle);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active { 
    background: var(--card-bg); 
    color: var(--text-main); 
    border: 1px solid var(--accent);
}

.search-bar {
    display: flex;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 0.4rem;
    transition: var(--transition);
}

.search-bar:focus-within { border-color: var(--accent); }

.search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1.25rem;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
}

.search-bar .btn-search {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0 2rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

/* Chips */
.popular-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.chip {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    text-transform: capitalize;
    text-decoration: none;
    display: inline-block;
}

.chip:hover { color: var(--text-main); border-color: var(--accent); }

/* Grid */
.server-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 6rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .server-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .server-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 4rem;
    }
}

.server-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 440px;
    height: auto;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

@media (max-width: 480px) {
    .server-card {
        min-height: auto;
    }
    .server-name {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
    }
    .server-description {
        height: auto;
        max-height: none;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 1rem;
    }
    .tag-cloud {
        margin-bottom: 1rem;
        height: auto;
        max-height: none;
        overflow: visible;
    }
}

.server-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

/* Animation for deleting card */
.server-card.deleting {
    pointer-events: none;
    animation: fadeOutScale 0.8s ease-out forwards;
    overflow: hidden;
}

@keyframes fadeOutScale {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }
    20% {
        transform: scale(0.95);
        opacity: 0.9;
    }
    100% {
        transform: scale(0.9);
        opacity: 0;
        filter: blur(4px);
    }
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 100;
    animation: particleFade 0.8s ease-out forwards;
}

@keyframes particleFade {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

.card-banner {
    width: 100%;
    height: 100px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.card-body {
    padding: 1.5rem;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.server-card.sponsored {
    border-color: var(--accent);
    background: linear-gradient(145deg, var(--card-bg), rgba(79, 124, 255, 0.05));
    position: relative;
}

.sponsored-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: white;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 0.25rem 0.75rem;
    text-transform: uppercase;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 5;
}

.card-header { 
    display: flex; 
    gap: 1rem; 
    align-items: flex-end; 
    margin-bottom: 1.25rem; 
    margin-top: -30px; /* Overlap the banner */
    position: relative;
    z-index: 2;
}

.server-icon {
    width: 64px;
    height: 64px;
    background: #36393f;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #dcddde;
    flex-shrink: 0;
    border: 3px solid var(--card-bg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    overflow: hidden;
}

.server-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.server-info-top { 
    overflow: hidden; 
    padding-bottom: 5px;
}
.server-name { font-weight: 800; font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-main); }
.server-stats-small { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; margin-top: 3px; }

.server-description {
    color: var(--text-normal);
    font-size: 0.95rem;
    line-height: 1.45;
    height: 4rem;
    overflow: hidden;
    margin-bottom: 1.25rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.tag-cloud { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.4rem; 
    margin-bottom: 1.5rem; 
}
.small-chip { background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle); padding: 0.25rem 0.7rem; border-radius: 7px; font-size: 0.7rem; font-weight: 700; color: var(--text-muted); overflow-wrap: anywhere; }

.card-actions { display: flex; gap: 0.75rem; margin-top: auto; }

.nsfw-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 100;
    line-height: 0;
}

.nsfw-badge img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: block;
    background: #fff;
    padding: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.view-more-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 3.5rem;
    margin-bottom: 4rem;
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}

.btn-view-more:hover {
    color: white;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    transform: translateX(4px);
}

.btn-card {
    flex: 1;
    padding: 0.7rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.btn-view { background: transparent; color: var(--text-main); border: 1px solid var(--border-subtle); }
.btn-view:hover { background: rgba(255,255,255,0.05); border-color: var(--text-muted); }
.btn-join { background: var(--accent); color: white; }
.btn-join:hover { background: var(--accent-hover); }
.btn-promote { background: linear-gradient(45deg, #4f7cff, #2563eb); color: white; border: none; }
.btn-promote:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(79, 124, 255, 0.5); }

/* Footer */
footer { padding: 3rem 0; border-top: 1px solid var(--border-subtle); text-align: center; color: var(--text-muted); font-size: 0.85rem; }

@media (max-width: 768px) {
    header {
        height: 70px;
        position: fixed;
    }
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 1rem;
        height: 70px;
    }
    .logo-link {
        position: static;
        margin-bottom: 0;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 5rem 2rem;
        gap: 2.5rem;
        z-index: 1000;
        border-bottom: 1px solid var(--border-subtle);
    }
    .header-actions {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem;
        margin-top: 220px; /* Adjust to follow links closely but not overlap */
        gap: 1.5rem;
        z-index: 1001;
        background: transparent;
        pointer-events: none;
    }
    .nav-links.show {
        display: flex;
    }
    .header-actions.show {
        display: flex;
        pointer-events: none;
    }
    .header-actions.show > * {
        pointer-events: auto;
    }
    .lang-selector {
        margin-right: 0;
    }
    main {
        padding-top: 100px;
    }
    .main-hero h1 { font-size: 2rem; }
    .banner-search-wrapper { padding: 0 1.5rem; }
    .banner-search-bar { flex-direction: column; background: transparent; border: none; padding: 0; gap: 0.75rem; box-shadow: none; }
    .banner-search-bar input { background: white !important; border-radius: 12px !important; width: 100% !important; flex: none !important; box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important; }
    .btn-search-banner { padding: 1rem; border-radius: 12px; width: 100%; }
    .popular-chips { margin-top: 1rem !important; }
    .search-bar { flex-direction: column; background: transparent; border: none; padding: 0; gap: 0.75rem; }
    .search-bar input { background: var(--bg-secondary); border: 1px solid var(--border-subtle); border-radius: 12px; }
    .search-bar .btn-search { padding: 1rem; border-radius: 12px; }
}

/* Footer Premium Styles */
.footer-premium {
    background: #11141c;
    color: var(--text-muted);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-column:first-child {
        margin-bottom: 1.5rem;
    }
    .footer-links li {
        margin-bottom: 1rem;
    }
    .social-icons {
        justify-content: center;
    }
}

.footer-column:first-child {
    text-align: center;
}

.footer-column h3 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    display: block;
    text-decoration: none;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .card-body {
        padding: 1rem;
    }
    .server-name {
        font-size: 1rem;
    }
    .card-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    .btn-card {
        width: 100%;
        padding: 1rem;
        font-size: 0.95rem;
    }
    .banner-content h1 {
        font-size: 1.8rem;
    }
    .btn-primary {
        width: 100%;
        text-align: center;
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    .dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 1rem;
        box-shadow: none;
        border-color: rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.03);
    }
    .user-menu-container {
        flex-direction: column;
        width: 100%;
    }
}

/* User Profile Dropdown */
.user-menu-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 10px;
    transition: var(--transition);
}

.user-menu-container:hover {
    background: rgba(255, 255, 255, 0.05);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.user-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-name::after {
    content: '▼';
    font-size: 0.6rem;
    opacity: 0.5;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    width: 180px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1100;
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    color: var(--text-normal);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.dropdown-item.logout {
    color: var(--danger);
    border-top: 1px solid var(--border-subtle);
}

/* Server Profile Styles (servidor.html) */
.server-banner-container {
    height: 260px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.server-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
}

.server-avatar-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid var(--card-bg);
    background: var(--bg-secondary);
    margin-top: -60px;
    position: relative;
    z-index: 11;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.server-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.server-avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
}

/* Header Adjustments */
.header-actions-extra {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link[data-i18n="nav_inicio"] { display: none; } /* Redundant */

@media (max-width: 768px) {
    .server-banner-container { height: 180px; }
    .server-avatar-wrapper { width: 90px; height: 90px; margin-top: -45px; border-radius: 20px; }
}

/* Forms & Specifics */
.admin-card, .form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 2rem;
}

input, select, textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    border-radius: 8px;
    padding: 0.75rem;
    outline: none;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-normal);
}

/* Global Search Bar (from index.html) */
.banner-search-wrapper {
    max-width: 650px;
    margin: 0 auto;
}

.banner-search-bar {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 0.4rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.banner-search-bar input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    padding: 0.8rem 1.25rem !important;
    color: #1a1d23 !important;
    font-size: 1.05rem !important;
    outline: none !important;
}

.banner-search-bar input::placeholder {
    color: #64748b !important;
}

.btn-search-banner {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-search-banner:hover {
    background: var(--accent-hover);
}

/* Global Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--card-bg);
    border-left: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3000;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.toast-content {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.toast.success {
    border-left-color: var(--success);
}

.toast.success .toast-icon {
    color: var(--success);
}

.toast.error {
    border-left-color: var(--danger);
}

.toast.error .toast-icon {
    color: var(--danger);
}

/* SEO Section Styles */
.seo-section {
    padding: 4rem 0;
    border-top: 1px solid var(--border-subtle);
    margin-top: 4rem;
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.seo-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.seo-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.seo-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .seo-section {
        padding: 3rem 0;
        margin-top: 2rem;
    }
    .seo-content h2 {
        font-size: 1.4rem;
    }
    .seo-content p {
        font-size: 0.95rem;
    }
}

