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

        html {
            box-sizing: border-box;
            -webkit-text-size-adjust: 100%;
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        :root {
            --rose-primary: #f4a6cd;
            --rose-secondary: #f8c8dc;
            --rose-light: #fde7f0;
            --rose-dark: #d88ba3;
            --pastel-blue: #b8d4f0;
            --pastel-purple: #d4b8f0;
            --pastel-green: #c8f0d4;
            --white: #ffffff;
            --text-dark: #2d2d2d;
            --text-light: #666666;
        }

        body {
            font-family: 'Georgia', serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: linear-gradient(135deg, var(--rose-light) 0%, var(--white) 100%);
            overflow-x: hidden;
            width: 100%;
            max-width: 100vw;
            position: relative;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

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

        /* Header */
        header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(244, 166, 205, 0.3);
            transition: all 0.3s ease;
        }

        nav {
            padding: 1rem 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.35rem;
            font-weight: bold;
            color: var(--rose-dark);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
        }

        @media (max-width: 768px) {
            .logo {
                font-size: 1.15rem;
                gap: 6px;
            }
        }

        .nav-links {
            list-style: none;
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
            padding-bottom: 5px;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--rose-dark);
            transition: width 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--rose-dark);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .auth-buttons {
            display: flex;
            gap: 1rem;
        }

        .btn {
            padding: 0.7rem 1.5rem;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 500;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--rose-primary), var(--rose-dark));
            color: white;
        }

        .btn-secondary {
            background: transparent;
            color: var(--rose-dark);
            border: 2px solid var(--rose-primary);
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(244, 166, 205, 0.4);
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, var(--rose-light) 0%, var(--pastel-blue) 50%, var(--pastel-purple) 100%);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="petals" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23f4a6cd" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23petals)"/></svg>');
            opacity: 0.3;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
            animation: fadeInUp 1s ease-out;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--rose-dark), var(--rose-primary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: 1.3rem;
            color: var(--text-light);
            margin-bottom: 2rem;
        }

        .verse-container {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            padding: 2rem;
            border-radius: 20px;
            margin: 2rem 0;
            box-shadow: 0 10px 30px rgba(244, 166, 205, 0.2);
            border: 1px solid rgba(244, 166, 205, 0.3);
        }

        .verse {
            font-size: 1.2rem;
            font-style: italic;
            color: var(--rose-dark);
            margin-bottom: 0.5rem;
        }

        .verse-reference {
            font-size: 0.9rem;
            color: var(--text-light);
            font-weight: 500;
        }

        /* Services Section */
        .services {
            padding: 5rem 0;
            background: var(--white);
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: var(--rose-dark);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        .service-card {
            background: linear-gradient(135deg, var(--white) 0%, var(--rose-light) 100%);
            padding: 2.5rem;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(244, 166, 205, 0.2);
            border: 1px solid rgba(244, 166, 205, 0.3);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .service-card::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(244, 166, 205, 0.1) 0%, transparent 70%);
            transition: all 0.5s ease;
            transform: scale(0);
            pointer-events: none;
        }

        .service-card:hover::before {
            transform: scale(1);
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(244, 166, 205, 0.3);
        }

        .service-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            position: relative;
            z-index: 2;
        }

        .service-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--rose-dark);
            position: relative;
            z-index: 2;
        }

        .service-card p {
            color: var(--text-light);
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 2;
        }

        .service-card .btn,
        .service-card a {
            position: relative;
            z-index: 3;
        }

        /* Footer */
        footer {
            background: linear-gradient(135deg, var(--rose-dark), var(--rose-primary));
            color: white;
            padding: 3rem 0 1rem;
            text-align: center;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            margin-bottom: 1rem;
        }

        .footer-section p, .footer-section a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-section a:hover {
            color: white;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding-top: 1rem;
            margin-top: 2rem;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .page {
            display: none;
        }

        .page.active {
            display: block;
        }

        .mobile-bottom-nav {
            display: none;
        }

        /* Additional button styles for admin */
        .btn-purple {
            background: linear-gradient(135deg, #8b5cf6, #7c3aed);
            color: white;
            border: 2px solid #8b5cf6;
        }

        .btn-purple:hover {
            background: linear-gradient(135deg, #7c3aed, #6d28d9);
            border-color: #7c3aed;
        }

        .btn-info {
            background: linear-gradient(135deg, #06b6d4, #0891b2);
            color: white;
            border: 2px solid #06b6d4;
        }

        .btn-info:hover {
            background: linear-gradient(135deg, #0891b2, #0e7490);
            border-color: #0891b2;
        }

        .btn-success {
            background: linear-gradient(135deg, #10b981, #059669);
            color: white;
            border: 2px solid #10b981;
        }

        .btn-success:hover {
            background: linear-gradient(135deg, #059669, #047857);
            border-color: #059669;
        }

        .btn-warning {
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: white;
            border: 2px solid #f59e0b;
        }

        .btn-warning:hover {
            background: linear-gradient(135deg, #d97706, #b45309);
            border-color: #d97706;
        }

        .btn-danger {
            background: linear-gradient(135deg, #ef4444, #dc2626);
            color: white;
            border: 2px solid #ef4444;
        }

        .btn-danger:hover {
            background: linear-gradient(135deg, #dc2626, #b91c1c);
            border-color: #dc2626;
        }

        .btn-sm {
            padding: 0.4rem 0.8rem;
            font-size: 0.8rem;
        }

        .btn-lg {
            padding: 1rem 2rem;
            font-size: 1.1rem;
        }

        /* Modal improvements */
        .modal-lg .modal-content {
            max-width: 800px;
        }

        .input-group {
            display: flex;
            border-radius: 25px;
            overflow: hidden;
        }

        .input-group .form-control {
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            border-right: none;
            flex: 1;
        }

        .input-group .btn {
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
            border-radius: 0 25px 25px 0;
        }

        /* Alert styles */
        .alert {
            padding: 14px 18px;
            border-radius: 14px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            font-size: 0.95rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .alert-success {
            background: linear-gradient(135deg, #dcfce7, #bbf7d0);
            border: 1px solid #86efac;
            color: #166534;
        }

        .alert-info {
            background: linear-gradient(135deg, #dbeafe, #bfdbfe);
            border: 1px solid #93c5fd;
            color: #1e40af;
        }

        .alert-warning {
            background: linear-gradient(135deg, #fef3c7, #fde68a);
            border: 1px solid #fbbf24;
            color: #92400e;
        }

        .alert-danger {
            background: linear-gradient(135deg, #fee2e2, #fecaca);
            border: 1px solid #f87171;
            color: #dc2626;
        }

        .alert i {
            margin-right: 12px;
            font-size: 1.25rem;
        }

        /* Status badges */
        .badge {
            padding: 6px 12px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* ==========================================================================
           MOBILE-FIRST & RESPONSIVE COMPONENT SYSTEM
           ========================================================================== */
        
        /* Mobile Hamburger & Controls (Ocultos no desktop por padrão) */
        .mobile-nav-controls {
            display: none;
            align-items: center;
            gap: 0.75rem;
        }

        .mobile-hamburger-btn {
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            width: 44px;
            height: 44px;
            padding: 10px;
            background: transparent;
            border: 1px solid rgba(244, 166, 205, 0.4);
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.25s ease;
            z-index: 10;
        }

        .mobile-hamburger-btn:hover, .mobile-hamburger-btn:focus {
            background: var(--rose-light);
            outline: none;
        }

        .mobile-hamburger-btn .bar {
            width: 100%;
            height: 2.5px;
            background-color: var(--rose-dark);
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .mobile-user-quick {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: var(--rose-light);
            color: var(--rose-dark);
            font-size: 1.25rem;
            text-decoration: none;
            transition: transform 0.2s ease;
        }

        .mobile-user-quick:active {
            transform: scale(0.92);
        }

        /* Backdrop do Drawer */
        .mobile-nav-backdrop {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(4px);
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .mobile-nav-backdrop.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        /* Mobile Navigation Drawer */
        .mobile-nav-drawer {
            position: fixed;
            top: 0;
            right: 0;
            width: 85%;
            max-width: 320px;
            height: 100vh;
            height: 100dvh;
            background: #ffffff;
            z-index: 2001;
            transform: translateX(100%);
            visibility: hidden;
            pointer-events: none;
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
            display: flex;
            flex-direction: column;
            box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
        }

        .mobile-nav-drawer.active {
            transform: translateX(0);
            visibility: visible;
            pointer-events: auto;
        }

        .drawer-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.25rem 1.25rem;
            border-bottom: 1px solid #f1f5f9;
        }

        .drawer-brand {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--rose-dark);
        }

        .drawer-close-btn {
            width: 40px;
            height: 40px;
            border: none;
            background: #f8fafc;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #64748b;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .drawer-close-btn:hover {
            background: #fee2e2;
            color: #dc2626;
        }

        .drawer-user-card {
            display: flex;
            align-items: center;
            gap: 0.85rem;
            padding: 1rem 1.25rem;
            background: linear-gradient(135deg, #fff5f8, #fdf2f8);
            border-bottom: 1px solid #fce7f3;
        }

        .drawer-user-card .user-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: var(--rose-primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
        }

        .drawer-user-card .user-name {
            display: block;
            font-weight: 600;
            color: #1e293b;
            font-size: 0.95rem;
        }

        .drawer-user-card .user-role-badge {
            display: inline-block;
            font-size: 0.72rem;
            padding: 2px 8px;
            border-radius: 12px;
            background: #d88ba3;
            color: white;
            font-weight: 600;
            text-transform: uppercase;
        }

        .drawer-links {
            flex: 1;
            overflow-y: auto;
            padding: 0.75rem 0;
            -webkit-overflow-scrolling: touch;
        }

        .drawer-link {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.9rem 1.25rem;
            color: #334155;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            min-height: 46px;
            border-left: 4px solid transparent;
            transition: all 0.2s ease;
        }

        .drawer-link i {
            width: 22px;
            text-align: center;
            font-size: 1.1rem;
            color: #94a3b8;
            transition: color 0.2s ease;
        }

        .drawer-link:hover, .drawer-link:active, .drawer-link.active {
            color: var(--rose-dark);
            background: #fff5f8;
            border-left-color: var(--rose-primary);
        }

        .drawer-link.active i, .drawer-link:hover i {
            color: var(--rose-dark);
        }

        .drawer-footer {
            padding: 1rem 1.25rem;
            border-top: 1px solid #f1f5f9;
            background: #fafafa;
        }

        .drawer-auth-grid {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .btn-block {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            text-align: center;
            min-height: 44px;
        }

        .btn-outline-danger {
            background: transparent;
            border: 2px solid #ef4444;
            color: #ef4444;
        }

        .btn-outline-danger:hover {
            background: #ef4444;
            color: white;
        }

        /* Base Page Styles */
        .page-content {
            padding: 8rem 0 4rem;
            min-height: 100vh;
        }

        .page-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .page-title {
            font-size: 2.5rem;
            color: var(--rose-dark);
            margin-bottom: 1rem;
        }

        .page-subtitle {
            font-size: 1.2rem;
            color: var(--text-light);
        }

        /* Form Styles */
        .form-container {
            max-width: 500px;
            margin: 0 auto;
            background: white;
            padding: 3rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(244, 166, 205, 0.2);
        }

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

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--rose-dark);
            font-weight: 500;
        }

        .form-group input, .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid var(--rose-light);
            border-radius: 10px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus, .form-group textarea:focus {
            outline: none;
            border-color: var(--rose-primary);
        }

        .btn-full {
            width: 100%;
            padding: 1rem;
            font-size: 1.1rem;
        }

        /* Grids Base */
        .hero-buttons {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .donations-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .help-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .event-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .event-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 5px 20px rgba(244, 166, 205, 0.2);
            transition: transform 0.3s ease;
        }

        .event-card:hover {
            transform: translateY(-5px);
        }

        .event-date {
            background: var(--rose-primary);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            display: inline-block;
            margin-bottom: 1rem;
        }

        .event-title {
            font-size: 1.3rem;
            color: var(--rose-dark);
            margin-bottom: 1rem;
        }

        /* Map Styles */
        #map {
            height: 300px;
            width: 100%;
            margin-bottom: 1.5rem;
            border-radius: 10px;
            border: 2px solid var(--rose-light);
            position: relative;
            z-index: 1;
        }

        /* Mobile Bottom Nav (Oculta no desktop por padrão) */
        .mobile-bottom-nav {
            display: none;
        }

        /* ==========================================================================
           MEDIA QUERIES RESPONSIVAS MOBILE-FIRST (Prevalência no Cascade)
           ========================================================================== */
        @media (max-width: 991px) {
            .nav-links, .auth-buttons {
                display: none !important;
            }

            .mobile-nav-controls {
                display: flex !important;
            }
        }

        @media (max-width: 768px) {
            body {
                padding-bottom: 76px !important;
            }

            .mobile-bottom-nav {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                height: 60px;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(12px);
                box-shadow: 0 -3px 20px rgba(0, 0, 0, 0.08);
                display: flex !important;
                justify-content: space-around;
                align-items: center;
                padding: 0 4px;
                z-index: 1001;
                border-top: 1px solid rgba(244, 166, 205, 0.3);
            }

            .mobile-bottom-nav a {
                flex: 1;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                color: #64748b;
                text-decoration: none;
                font-size: 0.72rem;
                font-weight: 500;
                height: 100%;
                min-height: 48px;
                padding: 4px 2px;
                transition: all 0.2s ease;
                border-radius: 8px;
            }

            .mobile-bottom-nav a i {
                font-size: 1.15rem;
                margin-bottom: 3px;
                transition: transform 0.2s ease;
            }

            .mobile-bottom-nav a.active {
                color: var(--rose-dark);
                font-weight: 700;
            }

            .mobile-bottom-nav a.active i {
                transform: translateY(-2px);
                color: var(--rose-primary);
            }

            .page-content {
                padding: 5.5rem 0 3rem !important;
            }

            .page-title {
                font-size: 1.85rem !important;
                line-height: 1.25 !important;
            }

            .page-subtitle {
                font-size: 0.98rem !important;
            }

            .form-container {
                padding: 1.5rem 1.2rem !important;
                border-radius: 16px !important;
                margin: 0 auto !important;
                width: 100% !important;
                max-width: calc(100% - 24px) !important;
                box-shadow: 0 5px 20px rgba(244, 166, 205, 0.15) !important;
            }

            /* Previne zoom no iOS Safari em inputs */
            input, select, textarea {
                font-size: 16px !important;
            }

            .hero {
                min-height: 82vh;
                height: auto;
                padding: 6rem 1rem 3.5rem !important;
            }

            .hero h1 {
                font-size: 2.1rem !important;
                line-height: 1.25 !important;
            }

            .hero-subtitle {
                font-size: 1rem !important;
                line-height: 1.45 !important;
                margin-bottom: 1.25rem !important;
            }

            .verse-container {
                padding: 1.25rem 1rem !important;
                margin: 1.25rem auto !important;
                border-radius: 16px !important;
                max-width: 100% !important;
            }

            .verse {
                font-size: 1.05rem !important;
            }

            .hero-buttons {
                flex-direction: column !important;
                width: 100% !important;
                max-width: 320px !important;
                margin: 1.25rem auto 0 !important;
                gap: 0.75rem !important;
            }

            .hero-buttons .btn {
                width: 100% !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                padding: 0.85rem 1.25rem !important;
                font-size: 1rem !important;
            }

            .services-grid {
                grid-template-columns: 1fr !important;
                gap: 1.25rem !important;
            }

            .service-card {
                padding: 1.5rem 1.25rem !important;
                border-radius: 16px !important;
            }

            .service-card .btn {
                width: 100% !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                padding: 0.8rem 1rem !important;
                font-size: 0.95rem !important;
            }

            .donations-grid, .help-cards-grid {
                grid-template-columns: 1fr !important;
                gap: 1.25rem !important;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 1rem !important;
            }

            .contact-content {
                grid-template-columns: 1fr !important;
            }
            
            .modal-content {
                margin: 12px !important;
                max-width: calc(100% - 24px) !important;
                max-height: 90vh !important;
                overflow-y: auto !important;
            }
            
            .btn-group {
                flex-direction: column !important;
                gap: 6px !important;
                width: 100% !important;
            }
            
            .table-container {
                overflow-x: auto !important;
                -webkit-overflow-scrolling: touch !important;
            }
        }
    