/* ===== NARUTO Vikings - CSS GLOBAL UNIFICADO ===== */
/* Importação da fonte Inter do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../backgrounds/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

/* ===== LAYOUT PRINCIPAL ===== */
.content-wrapper {
    min-height: calc(100vh - 80px);
    padding-top: 80px;
}

.main-content {
    flex: 1;
}

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

/* ===== NAVEGAÇÃO ===== */
#mainNavbar {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    height: 80px;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    transition: all 0.2s ease;
    text-decoration: none;
}

.navbar-brand:hover {
    color: rgba(255, 193, 7, 0.9) !important;
    transform: translateY(-1px);
}

.navbar-brand-section {
    display: flex;
    align-items: center;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    color: rgba(255, 193, 7, 0.8);
    font-size: 1.75rem;
    transition: all 0.2s ease;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.05em;
}

.brand-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 193, 7, 0.8);
    letter-spacing: 0.1em;
    margin-top: -2px;
}

.navbar-brand:hover .brand-icon {
    color: rgba(255, 193, 7, 1);
    transform: scale(1.1);
}

.navbar-brand:hover .brand-title {
    color: rgba(255, 193, 7, 0.9);
}

.navbar-brand:hover .brand-subtitle {
    color: rgba(255, 193, 7, 1);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
    outline: none;
}

.navbar-toggler span {
    display: block;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.navbar-toggler:hover span {
    background: rgba(255, 193, 7, 0.9);
}

.navbar-toggler[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.navbar-user {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.btn-login {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.9) 0%, rgba(255, 143, 0, 0.9) 100%);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: #000;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.btn-login:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 1) 0%, rgba(255, 143, 0, 1) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    color: #000;
    text-decoration: none;
}

.user-dropdown {
    position: relative;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 193, 7, 0.9);
    text-decoration: none;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 193, 7, 0.9);
}

.user-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.75rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 143, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: -1;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 193, 7, 0.9) !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link:hover::before {
    opacity: 1;
}

.navbar-nav .nav-link i {
    margin-right: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover i {
    transform: scale(1.1);
}

/* ===== DROPDOWN ===== */
.dropdown-menu {
    background: rgba(3, 3, 3, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(27, 27, 27, 0.2);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 200px;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
}

.dropdown-item:hover {
    background: rgba(255, 193, 7, 0.1);
    color: rgba(255, 193, 7, 0.9);
}

.dropdown-item i {
    margin-right: 0.75rem;
    width: 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.dropdown-item:hover i {
    transform: scale(1.1);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%),
                url('../backgrounds/bg.png') center/cover no-repeat;
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo .logo-img {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    font-size: 1rem;
}

.btn-hero.primary {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-hero.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
    color: #000;
}

.btn-hero.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-hero.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 193, 7, 0.5);
    color: white;
    transform: translateY(-2px);
}

/* ===== NEWS SECTION ===== */
.news-section {
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.patch-note-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.patch-note-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 193, 7, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.patch-version {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 120px;
}

.version-tag {
    background: rgba(255, 193, 7, 0.2);
    color: rgba(255, 193, 7, 0.9);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.patch-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.patch-content {
    flex: 1;
}

.patch-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.patch-preview {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin: 0;
}

.patch-indicator {
    color: rgba(255, 193, 7, 0.6);
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.patch-note-card:hover .patch-indicator {
    color: rgba(255, 193, 7, 1);
    transform: translateX(5px);
}

.news-preview {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 0;
}

.news-footer {
    padding: 0 1.5rem 1.5rem;
}

.btn-news {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff8c00, #ff4500);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-news:hover {
    background: linear-gradient(135deg, #ff4500, #ff8c00);
    transform: translateX(5px);
    color: #fff;
    text-decoration: none;
}

.no-news-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px dashed rgba(255, 140, 0, 0.3);
    border-radius: 15px;
    color: #ccc;
}

.no-news-message i {
    font-size: 3rem;
    color: #ff8c00;
    margin-bottom: 1rem;
}

.no-news-message h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

/* Quick Stats Bar */
.quick-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(255, 140, 0, 0.3);
}

.quick-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
}

.quick-stat i {
    font-size: 1.5rem;
    color: #ff8c00;
}

.quick-stat .stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.quick-stat .stat-label {
    font-size: 0.9rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* News Modal */
.modal-content {
    background: rgba(0, 0, 0, 0.95) !important;
    border: 2px solid rgba(255, 140, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.modal-header {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), rgba(255, 69, 0, 0.2));
    border-bottom: 1px solid rgba(255, 140, 0, 0.3) !important;
}

.modal-title {
    color: #fff !important;
    font-weight: bold;
}

.modal-body {
    color: #fff;
}

.news-modal-meta {
    padding: 1rem;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.news-modal-content {
    line-height: 1.6;
    font-size: 1rem;
}

.modal-footer {
    border-top: 1px solid rgba(255, 140, 0, 0.3) !important;
    background: rgba(255, 140, 0, 0.05);
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Patch Modal Styles */
.patch-modal {
    background: linear-gradient(135deg, rgba(15, 15, 25, 0.98), rgba(25, 25, 40, 0.98));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.1);
    overflow: hidden;
}

.patch-modal-header {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    padding: 1.5rem 2rem;
    position: relative;
}

.patch-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ff8c00, #ffd700);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.patch-modal-title-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.patch-modal-version {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.patch-modal .modal-title {
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.patch-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.patch-modal-close:hover {
    background: rgba(255, 69, 69, 0.8);
    border-color: #ff4545;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.patch-modal-body {
    padding: 2rem;
    color: #e0e0e0;
}

.patch-modal-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

.patch-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.patch-meta-item i {
    color: #ffd700;
    width: 16px;
}

.patch-modal-content {
    line-height: 1.6;
    font-size: 1rem;
}

.patch-modal-content h1,
.patch-modal-content h2,
.patch-modal-content h3 {
    color: #ffd700;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.patch-modal-content p {
    margin-bottom: 1rem;
}

.patch-modal-content ul,
.patch-modal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.patch-modal-content li {
    margin-bottom: 0.5rem;
}

.patch-modal-footer {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
}

.patch-modal-btn {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.patch-modal-btn:hover {
    background: linear-gradient(135deg, #ff8c00, #ffd700);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.patch-modal-btn i {
    font-size: 0.9rem;
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
    .patch-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .patch-modal-body {
        padding: 1.5rem;
    }
    
    .patch-modal-footer {
        padding: 1rem 1.5rem;
    }
    
    .patch-modal-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .patch-modal .modal-title {
        font-size: 1.2rem;
    }
    
    .patch-modal-close {
        right: 1rem;
        width: 35px;
        height: 35px;
    }
}

/* ===== TOP SECTIONS ===== */
.top-section {
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.top-section.kages-section {
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 193, 7, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.section-link:hover {
    color: rgba(255, 193, 7, 1);
    transform: translateX(5px);
}

/* ===== SHOWCASES ===== */
.guilds-showcase,
.kages-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.guild-showcase-card,
.kage-showcase-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 300px;
    width: 100%;
}

.guild-showcase-card:hover,
.kage-showcase-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 193, 7, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.card-rank {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rank-number {
    background: rgba(255, 193, 7, 0.2);
    color: rgba(255, 193, 7, 0.9);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.rank-medal {
    color: rgba(255, 193, 7, 0.8);
    font-size: 1.2rem;
}

.card-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

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

.village-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
}

.card-info {
    margin-bottom: 1.5rem;
}

.card-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
}

.card-village {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.card-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: rgba(255, 193, 7, 0.8);
    font-weight: 500;
}

.btn-card {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: rgba(255, 193, 7, 0.9);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-card:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.5);
    color: rgba(255, 193, 7, 1);
    text-decoration: none;
    transform: translateY(-2px);
}

.no-data-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.6);
}

.no-data-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-data-message p {
    font-size: 1.1rem;
    margin: 0;
}

.carousel-item {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.carousel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.slide-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 193, 7, 0.3);
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.1);
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.slide-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.slide-button {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.9) 0%, rgba(255, 143, 0, 0.9) 100%);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: #000;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.slide-button:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 1) 0%, rgba(255, 143, 0, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    color: #000;
    text-decoration: none;
}

/* ===== CARDS E GRIDS ===== */
.guilds-grid,
.kages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.guild-card,
.kage-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    text-align: center;
}

.guild-card:hover,
.kage-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 193, 7, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.guild-rank,
.kage-rank {
    font-size: 0.875rem;
    color: rgba(255, 193, 7, 0.8);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.guild-name,
.kage-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
}

.guild-stats,
.kage-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 193, 7, 0.9);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.guild-logo,
.kage-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guild-logo img,
.kage-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guild-link,
.kage-link {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: rgba(255, 193, 7, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
    margin-top: 1rem;
}

.guild-link:hover,
.kage-link:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.5);
    color: rgba(255, 193, 7, 1);
    text-decoration: none;
    transform: translateY(-1px);
}

.kage-village {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.kage-points {
    font-size: 1rem;
    color: rgba(255, 193, 7, 0.8);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Posições especiais */
.first-place {
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.02);
}

.first-place:hover {
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(255, 215, 0, 0.04);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.1);
}

.second-place {
    border-color: rgba(192, 192, 192, 0.4);
    background: rgba(192, 192, 192, 0.02);
}

.second-place:hover {
    border-color: rgba(192, 192, 192, 0.6);
    background: rgba(192, 192, 192, 0.04);
    box-shadow: 0 8px 32px rgba(192, 192, 192, 0.1);
}

.third-place {
    border-color: rgba(205, 127, 50, 0.4);
    background: rgba(205, 127, 50, 0.02);
}

.third-place:hover {
    border-color: rgba(205, 127, 50, 0.6);
    background: rgba(205, 127, 50, 0.04);
    box-shadow: 0 8px 32px rgba(205, 127, 50, 0.1);
}

.no-data {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    padding: 2rem;
    grid-column: 1 / -1;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.guild-link,
.kage-link {
    color: rgba(255, 193, 7, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.guild-link:hover,
.kage-link:hover {
    color: rgba(255, 193, 7, 1);
    text-decoration: none;
}

/* ===== CARDS GERAIS ===== */
.card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.card-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 1.5rem;
    border-radius: 12px 12px 0 0;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* ===== FORMULÁRIOS ===== */
.form-section {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 0.75rem;
}

/* Validation icons */
.fas.fa-check {
    color: #28a745 !important;
}

.fas.fa-times {
    color: #dc3545 !important;
}

#account_indicator,
#email_indicator,
#password_indicator,
#password2_indicator {
    margin-left: 8px;
    transition: all 0.3s ease;
}

.form-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.875rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    width: 100%;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 193, 7, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
    outline: none;
    color: rgba(255, 255, 255, 0.9);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-select {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
}

.form-select:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 193, 7, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
    color: rgba(255, 255, 255, 0.9);
    outline: none;
}

/* ===== BOTÕES ===== */
.btn {
    font-weight: 500;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-orange {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.9) 0%, rgba(255, 143, 0, 0.9) 100%);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: #000;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.btn-orange:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 1) 0%, rgba(255, 143, 0, 1) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.2);
    color: #000;
}

.btn-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.8) 0%, rgba(255, 143, 0, 0.8) 100%);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #000;
    font-weight: 600;
}

.btn-warning:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 1) 0%, rgba(255, 143, 0, 1) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    color: #000;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 1);
}

/* ===== TABELAS ===== */
.table {
    background: transparent;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 0;
}

.table-dark {
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
}

.table th,
.table td {
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 1.25rem;
    text-align: center;
    vertical-align: middle;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.table thead th {
    background: rgba(255, 193, 7, 0.08);
    color: rgba(255, 193, 7, 0.9);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table tbody tr:hover {
    background: rgba(255, 193, 7, 0.05);
    transition: all 0.2s ease;
}

.table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== LINKS ===== */
a {
    color: rgba(255, 193, 7, 0.9);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: rgba(255, 193, 7, 1);
    text-decoration: none;
}

.player-name a {
    color: rgba(255, 193, 7, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.player-name a:hover {
    color: rgba(255, 193, 7, 1);
    text-decoration: none;
}

.text-orange {
    color: rgba(255, 193, 7, 0.9);
}

.text-light {
    color: rgba(255, 255, 255, 0.8);
}

.text-muted {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== PAGINAÇÃO ===== */
.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.pagination .page-link {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0.25rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    padding: 0.5rem 0.75rem;
}

.pagination .page-link:hover {
    background: rgba(255, 193, 7, 0.1);
    color: rgba(255, 193, 7, 0.9);
    border-color: rgba(255, 193, 7, 0.2);
}

.pagination .page-item.active .page-link {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.3);
    color: rgba(255, 193, 7, 1);
}

/* ===== ALERTAS E NOTIFICAÇÕES ===== */
.alert {
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid;
}

.alert-info {
    background: rgba(13, 202, 240, 0.1);
    border-color: rgba(13, 202, 240, 0.2);
    color: rgba(13, 202, 240, 0.9);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.2);
    color: rgba(255, 193, 7, 0.9);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: rgba(220, 53, 69, 0.9);
}

.alert-success {
    background: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: rgba(25, 135, 84, 0.9);
}

/* ===== CONTEÚDO DE NOTÍCIAS ===== */
.news-content {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.7;
}

.news-content p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.info_data {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
.footer-sticky {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    margin-top: auto;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    color: rgba(255, 193, 7, 0.9);
    transform: translateY(-2px);
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

.footer-text a {
    color: rgba(255, 193, 7, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-text a:hover {
    color: rgba(255, 193, 7, 1);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 1.5rem 0;
    border: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .main-content {
        padding: 1rem 0;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-card {
        margin: 0 1rem;
    }
    
    .quick-stats {
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .quick-stat .stat-number {
        font-size: 1.5rem;
    }
    
    .guilds-showcase,
    .kages-showcase {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .guilds-grid,
    .kages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-section {
        padding: 1rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(20px);
        border-radius: 8px;
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid rgba(0, 0, 0, 0.8);
    }
    
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        background: rgba(0, 0, 0, 0.8);
        border: none;
        box-shadow: none;
        margin-left: 1rem;
        margin-top: 0.5rem;
    }
    
    .brand-container {
        flex-direction: row;
        align-items: center;
    }
    
    .brand-text {
        margin-left: 0.5rem;
    }
    
    .brand-title {
        font-size: 1.1rem;
    }
    
    .brand-subtitle {
        font-size: 0.7rem;
    }
    
    .hero-section {
        height: 60vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 280px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .guilds-showcase,
    .kages-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .guild-showcase-card,
    .kage-showcase-card {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-logo .logo-img {
        max-width: 80px;
    }
    
    .news-section {
        padding: 2rem 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .news-card {
        margin: 0 0.5rem;
    }
    
    .news-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .news-title {
        font-size: 1.1rem;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .quick-stat .stat-number {
        font-size: 1.3rem;
    }
    
    .quick-stat .stat-label {
        font-size: 0.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .guild-showcase-card,
    .kage-showcase-card {
        padding: 1rem;
    }
    
    .card-name {
        font-size: 1.1rem;
    }
    
    .form-section {
        padding: 0.75rem;
    }
    
    .top-section {
        padding: 2rem 0;
    }
}

/* ===== UTILITÁRIOS ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.border-0 { border: none; }
.rounded { border-radius: 0.375rem; }
.shadow { box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); }

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

/* ===== SCROLLBAR PERSONALIZADA ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 193, 7, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 193, 7, 0.5);
}

/* ===== SELEÇÃO DE TEXTO ===== */
::selection {
    background: rgba(255, 193, 7, 0.3);
    color: rgba(255, 255, 255, 1);
}

::-moz-selection {
    background: rgba(255, 193, 7, 0.3);
    color: rgba(255, 255, 255, 1);
}

/* ===== PÁGINA DE DOWNLOAD ===== */
.download-page {
    padding: 2rem 0;
    min-height: calc(100vh - 80px);
}

.header-icon-wrapper {
    position: relative;
    display: inline-block;
}

.download-header .header-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.9), rgba(255, 193, 7, 1), rgba(255, 193, 7, 0.9));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    color: #1a1a1a;
    box-shadow: 
        0 0 30px rgba(255, 193, 7, 0.5),
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.4; }
}

.download-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
    position: relative;
    padding: 1rem;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.5), transparent);
}

.download-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.download-card .card-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem;
    position: relative;
}

.client-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.9), rgba(255, 193, 7, 1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1a1a1a;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    margin: 0 auto;
}

.version-badge .badge {
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.9), rgba(255, 193, 7, 1));
    color: #1a1a1a;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.download-stats .stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.6), rgba(45, 24, 16, 0.4));
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 140px;
}

.download-stats .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
    transition: left 0.5s ease;
}

.download-stats .stat-item:hover::before {
    left: 100%;
}

.download-stats .stat-item:hover {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(45, 24, 16, 0.6));
    border-color: rgba(255, 193, 7, 0.4);
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.9), rgba(255, 193, 7, 1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    color: #1a1a1a;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: rgba(255, 193, 7, 1);
    margin: 0.5rem 0;
    text-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.btn-download {
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.9), rgba(255, 193, 7, 1), rgba(255, 193, 7, 0.9));
    border: none;
    border-radius: 15px;
    color: #1a1a1a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 
        0 8px 20px rgba(255, 193, 7, 0.3),
        0 3px 10px rgba(0, 0, 0, 0.2);
    padding: 1rem 1.5rem;
    text-decoration: none;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 25px rgba(255, 193, 7, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.3);
    color: #1a1a1a;
    background: linear-gradient(45deg, rgba(255, 193, 7, 1), rgba(255, 193, 7, 0.9), rgba(255, 193, 7, 1));
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-download:hover::before {
    left: 100%;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    height: 100%;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 15px;
    color: #22c55e;
    font-weight: 600;
}

.installation-guide {
    margin-top: 4rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: bold;
    font-size: 1.5rem;
    color: rgba(255, 193, 7, 0.8);
    backdrop-filter: blur(10px);
}

.step-icon {
    font-size: 2.5rem;
    color: rgba(255, 193, 7, 0.8);
    margin-bottom: 1.5rem;
}

.step-card h5 {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.requirements-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 3rem;
    margin-top: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.requirements-header h4 {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.req-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.req-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.req-item i {
    width: 25px;
    margin-right: 1rem;
    color: rgba(255, 193, 7, 0.8);
    font-size: 1.1rem;
}

.req-item span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.4;
}

.req-item strong {
    color: rgba(255, 193, 7, 0.8);
}

/* Títulos dos requisitos */
.requirements-card h6.text-warning {
    color: rgba(255, 193, 7, 0.9) !important;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: left;
}

.requirements-card h6.text-success {
    color: rgba(25, 135, 84, 0.9) !important;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: left;
}

/* Responsividade para Download */
@media (max-width: 768px) {
    .download-page {
        padding: 1rem 0;
    }
    
    .download-header .header-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .icon-glow {
        width: 100px;
        height: 100px;
    }
    
    .step-card {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .requirements-card {
        padding: 2rem 1.5rem;
    }
    
    .btn-content {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .stat-item {
        padding: 1rem 0.5rem;
        height: 120px;
        min-height: 120px;
    }
    
    .btn-download {
        height: 55px;
        min-height: 55px;
        padding: 0.8rem 1rem;
    }
    
    .btn-title {
        font-size: 1rem;
    }
    
    .btn-subtitle {
        font-size: 0.75rem;
    }
}