/* ========================================
   ARTISAN DESTINY - ESTILOS PRINCIPAIS
   Paleta: Vermelho (#dc143c), Azul (#1e3a8a), Branco (#fff)
   ======================================== */

:root {
    --primary-red: #e53935;
    --primary-red-dark: #c62828;
    --primary-red-light: #ff5252;
    --primary-blue: #1976d2;
    --primary-blue-dark: #1565c0;
    --primary-blue-light: #42a5f5;
    --bg-light: #f5f5f5;
    --bg-white: #fff;
    --text-primary: #1a1a2e;
    --text-secondary: #37474f;
    --text-muted: #546e7a;
    --border-light: #bbdefb;
    --border-medium: #90caf9;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(25, 118, 210, 0.18);
    --shadow-lg: 0 24px 48px rgba(25, 118, 210, 0.22);
    --shadow-red: 0 8px 24px rgba(229, 57, 53, 0.3);
    --shadow-red-lg: 0 16px 40px rgba(229, 57, 53, 0.4);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   CONTAINERS
   ======================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container2 {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    text-align: left;
    list-style-type: none;
    line-height: 1.4;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
    color: #fff;
    padding: 16px 0;
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid var(--primary-red);
    position: relative;
    z-index: 100;
    transition: var(--transition);
}

header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-lg);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    transform: translateX(-50%) rotate(40deg);
    transition: opacity 0.9s;
    opacity: 0.6;
    pointer-events: none;
}

header:hover::before {
    opacity: 0.3;
}

header .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

header .logo img {
    width: 160px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
}

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

nav {
    margin-top: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    z-index: 10;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    backdrop-filter: blur(10px);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
    transform: translateX(-50%);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 60%;
}

/* Dropdown Menu */
nav ul li.has-dropdown {
    position: relative;
}

nav ul li .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: linear-gradient(145deg, var(--primary-blue), var(--primary-blue-dark));
    padding: 12px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
}

nav ul li.has-dropdown:hover .dropdown {
    display: block;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

nav ul li .dropdown li {
    margin: 0;
}

nav ul li .dropdown li a {
    display: block;
    padding: 12px 16px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.9);
}

nav ul li .dropdown li a:hover {
    background: rgba(229, 57, 53, 0.3);
    color: #fff;
}

/* ========================================
   HERO / BANNER SECTION
   ======================================== */
.banner {
    background: url('img/bn1.png') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 120px 20px 160px;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(220, 20, 60, 0.7) 100%);
    z-index: 1;
}

.banner .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.banner h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #fff 0%, #e8f0fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.cta.primary {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: #fff;
    box-shadow: 0 8px 24px rgba(220, 20, 60, 0.4);
}

.cta.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(220, 20, 60, 0.5);
    background: linear-gradient(135deg, var(--primary-red-dark), var(--primary-red));
}

.cta.secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.cta.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    backdrop-filter: blur(10px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

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

/* Stats Bar Section */
.stats-section {
    background: var(--bg-white);
    padding: 0;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 40px 20px;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 16px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(180deg, transparent, var(--border-light), transparent);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   MAIN CONTENT LAYOUT
   ======================================== */
.main-content {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding: 48px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.features {
    flex: 1;
    min-width: 0;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   FEATURE CARDS GRID
   ======================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #fff;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c3e50 100%);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-red), 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(229, 57, 53, 0.4);
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(229, 57, 53, 0.5);
    background: linear-gradient(135deg, var(--primary-red-dark), var(--primary-red));
}

.cta-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ========================================
   SIDEBAR CARDS
   ======================================== */
.sidebar-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.sidebar-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-red);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
}

.badge.live {
    background: rgba(220, 20, 60, 0.15);
    color: var(--primary-red);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* War Schedule */
.war-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.war-day {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    transition: var(--transition);
}

.war-day:hover {
    border-color: var(--primary-red);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(229, 57, 53, 0.1);
}

.war-day .day {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.war-day .event {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.4;
}

.war-day .event small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
}

/* Donate Button */
.donate-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    border-radius: var(--radius-md);
    text-decoration: none;
    color: #fff;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(229, 57, 53, 0.3);
}

.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(229, 57, 53, 0.4);
    background: linear-gradient(135deg, var(--primary-red-dark), var(--primary-red));
}

.donate-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.donate-text {
    flex: 1;
    text-align: left;
}

.donate-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.9;
}

.donate-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.news-item:hover {
    border-color: var(--primary-red);
    background: #fffefb;
}

.news-date {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    min-width: 55px;
    text-align: center;
    flex-shrink: 0;
}

.news-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0 0 4px;
}

.news-content p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* ========================================
   FOOTER - COMPACT
   ======================================== */
footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c3e50 100%);
    color: #fff;
    padding: 20px 0 10px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    border-top: 2px solid var(--primary-red);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px 28px;
    margin-bottom: 10px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 220px;
}

.footer-logo {
    width: 70px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    max-width: 240px;
}

.social-media {
    display: flex;
    gap: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-red);
    transform: translateY(-1px);
}

.social-link svg {
    width: 16px;
    height: 16px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px 28px;
    flex: 1;
    min-width: 220px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-column h4 {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.footer-column ul li {
    margin: 0;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
    white-space: nowrap;
}

.footer-column ul li a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    width: 100%;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    margin: 2px 0;
}

.footer-disclaimer {
    font-size: 0.65rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Responsive Footer - Compact */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .footer-brand {
        justify-content: center;
        min-width: 0;
    }
    .footer-links {
        justify-content: center;
        min-width: 0;
    }
    .footer-column {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    .footer-column ul {
        gap: 6px 12px;
    }
}

@media (max-width: 600px) {
    .footer-content {
        gap: 8px;
    }
    .footer-brand {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    .footer-brand p {
        max-width: none;
    }
    .footer-links {
        flex-direction: column;
        gap: 6px;
    }
    .footer-column {
        justify-content: center;
    }
    .footer-column ul {
        gap: 6px 10px;
        justify-content: center;
    }
    .footer-column h4 {
        display: none;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
ul {
    list-style-type: none;
    padding: 0;
}

ul li::marker {
    content: none;
}

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

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-red-dark), var(--primary-blue-dark));
}

/* Selection */
::selection {
    background: var(--primary-red);
    color: #fff;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }

    .features {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container,
    .container2 {
        padding: 0 16px;
    }

    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        justify-content: center;
    }

    nav ul li a {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .banner {
        padding: 80px 16px 100px;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat .stat-value {
        font-size: 1.5rem;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 24px 16px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .war-schedule {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-section {
        padding: 40px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-brand {
        max-width: none;
        text-align: center;
        padding-bottom: 16px;
        margin-bottom: 8px;
    }

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

    .footer-column ul {
        justify-content: center;
    }

    .footer-column ul li {
        min-width: 140px;
    }

    .sidebar-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .stats-bar {
        grid-template-columns: 1fr;
    }

    .war-schedule {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ========================================
   HERO SLIDER (Vanilla - substitui Slick)
   ======================================== */
.hero-slider {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-slider .slide {
    position: relative;
    height: 400px;
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider .slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.85) 0%, rgba(229, 57, 53, 0.8) 100%);
    color: #fff;
    padding: 40px;
}

.hero-slider .slide-badge {
    display: inline-block;
    background: rgba(229, 57, 53, 0.2);
    border: 1px solid rgba(229, 57, 53, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #fff;
    align-self: center;
}

.hero-slider .slide-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-slider .slide-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero-slider .slide-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-slider .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
}

.hero-slider .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    box-shadow: 0 8px 24px rgba(229, 57, 53, 0.3);
}

.hero-slider .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(229, 57, 53, 0.4);
}

.hero-slider .btn-outline {
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-slider .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.hero-slider .btn svg {
    width: 20px;
    height: 20px;
}

/* Vanilla Slider Navigation */
.hero-slider .slick-prev,
.hero-slider .slick-next {
    width: 56px;
    height: 56px;
    z-index: 10;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.hero-slider .slick-prev {
    left: 24px;
}

.hero-slider .slick-next {
    right: 24px;
}

.hero-slider .slick-prev:hover,
.hero-slider .slick-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider .slick-prev svg,
.hero-slider .slick-next svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    stroke-width: 2.5;
}

/* Vanilla Slider Dots */
.hero-slider .slick-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-slider .slick-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.hero-slider .slick-dots button[aria-selected="true"] {
    background: #fff;
    transform: scale(1.2);
}

.hero-slider .slick-dots button:hover {
    background: #fff;
}

/* Responsive Hero Slider */
@media (max-width: 768px) {
    .hero-slider .slide {
        height: 350px;
    }
    .hero-slider .slide-content {
        padding: 24px;
    }
    .hero-slider .slide-title {
        font-size: 1.75rem;
    }
    .hero-slider .slide-subtitle {
        font-size: 1rem;
    }
    .hero-slider .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
    .hero-slider .slick-prev,
    .hero-slider .slick-next {
        width: 44px;
        height: 44px;
    }
    .hero-slider .slick-prev { left: 12px; }
    .hero-slider .slick-next { right: 12px; }
}

@media (max-width: 480px) {
    .hero-slider .slide {
        height: 300px;
    }
    .hero-slider .slide-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-slider .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ========================================
   INDEX PAGE COMPONENTS
   ======================================== */

/* Stats Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 48px 0;
    padding: 32px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stat-item {
    text-align: center;
    padding: 16px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* War Schedule */
.war-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.war-day {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.war-day:hover {
    border-color: var(--primary-red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.war-day .day {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.war-day .event {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* News Card */
.news-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    transition: var(--transition);
}

.news-item:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-sm);
}

.news-date {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    color: #fff;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    min-width: 70px;
    text-align: center;
}

.news-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.news-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Sidebar Cards */
.sidebar-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.sidebar-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

.badge.live {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Donate Button */
.donate-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-red-lg);
}

.donate-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

.donate-text {
    flex: 1;
    text-align: left;
}

.donate-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.donate-value {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
}

.donate-btn svg:last-child {
    stroke-width: 2.5;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c3e50 100%);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    margin-top: 48px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.15) 0%, transparent 70%);
}

.cta-section h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(229, 57, 53, 0.4);
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(229, 57, 53, 0.5);
    background: linear-gradient(135deg, var(--primary-red-dark), var(--primary-red));
}

.cta-btn svg {
    width: 20px;
    height: 20px;
}

/* Responsive Index Components */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }
    .sidebar {
        width: 100% !important;
    }
    .features {
        width: 100% !important;
    }
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-bar { grid-template-columns: 1fr; gap: 16px; }
    .war-schedule { grid-template-columns: repeat(2, 1fr); }
    .cta-section { padding: 40px 24px; }
}

@media (max-width: 480px) {
    .war-schedule { grid-template-columns: 1fr; }
}

/* ========================================
   ERROR PAGES (404, 500)
   ======================================== */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}
.error-container {
    text-align: center;
    max-width: 400px;
}
.error-code {
    font-size: 8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 24px;
}
.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.error-message {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.6;
}
.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.error-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
}
.error-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    color: #fff;
    box-shadow: 0 4px 16px rgba(229, 57, 53, 0.3);
}
.error-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(229, 57, 53, 0.4);
}
.error-actions .btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}
.error-actions .btn-outline:hover {
    background: var(--primary-blue);
    color: #fff;
}
.error-actions .btn svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   PAGE HERO (Common)
   ======================================== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('img/bn1.png') center center/cover;
    opacity: 0.1;
}
.page-hero .container {
    position: relative;
    z-index: 1;
}
.page-hero .badge {
    display: inline-block;
    background: rgba(220, 20, 60, 0.2);
    border: 1px solid rgba(220, 20, 60, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #fff;
}
.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}
.page-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   LOGIN ZONE (Sidebar no index.php)
   ======================================== */
.login-zone {
    margin-bottom: 24px;
}
.login-zone .sidebar-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: #fff;
    border-bottom: none;
}
.login-zone .sidebar-header h3 {
    color: #fff;
    margin: 0;
}
.login-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}
.login-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}
.login-info { flex: 1; min-width: 0; }
.login-name { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.login-cash { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--gold); font-weight: 600; margin-top: 4px; }
.login-actions { display: flex; flex-direction: column; gap: 8px; padding: 0 16px 16px; }
.login-prompt { text-align: center; padding: 16px; color: var(--text-secondary); }
.login-prompt p { margin-bottom: 12px; font-size: 0.9rem; }
.login-buttons { display: flex; flex-direction: column; gap: 8px; }
.btn-sm { padding: 10px 16px; font-size: 0.85rem; }

/* Right sidebar adjustments */
.right-sidebar .sidebar-card { margin-bottom: 24px; }
.right-sidebar .sidebar-header { padding: 16px 20px; }
.right-sidebar .sidebar-header h3 { font-size: 1rem; font-weight: 700; color: var(--primary-red); margin: 0; }